API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
DOMIT_Lite_Node::_constructor | ( | ) |
DOMIT_Lite_Node constructor, assigns a uid
Référencé par DOMIT_Lite_CDATASection::DOMIT_Lite_CDATASection(), DOMIT_Lite_Document::DOMIT_Lite_Document(), DOMIT_Lite_Element::DOMIT_Lite_Element(), et DOMIT_Lite_TextNode::DOMIT_Lite_TextNode().
& DOMIT_Lite_Node::appendChild | ( | &$ | child | ) |
Appends a node to the childNodes list of the current node
Object | The node to be appended |
Réimplémentée dans DOMIT_Lite_ChildNodes_Interface, et DOMIT_Lite_Document.
Références DOMIT_DOMException::raiseException().
DOMIT_Lite_Node::clearReferences | ( | ) |
Clears previousSibling, nextSibling, and parentNode references from a node that has been removed
& DOMIT_Lite_Node::cloneNode | ( | $ | deep = false | ) |
Copies a node and/or its children
boolean | True if all child nodes are also to be cloned |
Réimplémentée dans DOMIT_Lite_Document, DOMIT_Lite_Element, et DOMIT_Lite_TextNode.
Références DOMIT_DOMException::raiseException().
DOMIT_Lite_Node::DOMIT_Lite_Node | ( | ) |
Raises error if abstract class is directly instantiated
Références DOMIT_DOMException::raiseException().
DOMIT_Lite_Node::forHTML | ( | $ | str, |
$ | doPrint = false |
||
) |
Formats a string for presentation as HTML
string | The string to be formatted |
boolean | True if the string is to be sent directly to output |
Référencé par toNormalizedString(), DOMIT_Lite_CDATASection::toString(), DOMIT_Lite_TextNode::toString(), DOMIT_Lite_Element::toString(), et DOMIT_Lite_Document::toString().
DOMIT_Lite_Node::getChildNodeIndex | ( | &$ | arr, |
&$ | child | ||
) |
Returns the index of the specified node in a childNodes list
Array | The childNodes array to be searched |
Object | The node targeted by the search |
Référencé par DOMIT_Lite_ChildNodes_Interface::appendChild(), DOMIT_Lite_ChildNodes_Interface::insertBefore(), DOMIT_Lite_ChildNodes_Interface::removeChild(), et DOMIT_Lite_ChildNodes_Interface::replaceChild().
& DOMIT_Lite_Node::getElementsByPath | ( | $ | pattern, |
$ | nodeIndex = 0 |
||
) |
Retrieves an element or DOMIT_NodeList of elements corresponding to an Xpath-like expression.
string | The query pattern |
int | If a single node is to be returned (rather than the entire NodeList) the index of that node |
Réimplémentée dans DOMIT_Lite_Document, et DOMIT_Lite_Element.
Références DOMIT_DOMException::raiseException().
DOMIT_Lite_Node::getNamedElements | ( | &$ | nodeList, |
$ | tagName | ||
) |
Adds elements with the specified tag name to a NodeList collection
Object | The NodeList collection |
string | The tag name of matching elements |
Réimplémentée dans DOMIT_Lite_Element.
DOMIT_Lite_Node::getText | ( | ) |
Returns the concatented text of the current node and its children
Réimplémentée dans DOMIT_Lite_Document, DOMIT_Lite_Element, et DOMIT_Lite_TextNode.
DOMIT_Lite_Node::hasChildNodes | ( | ) |
Determines whether a node has any children
Référencé par DOMIT_Lite_ChildNodes_Interface::appendChild(), DOMIT_Lite_Element::normalize(), DOMIT_Lite_ChildNodes_Interface::removeChild(), et DOMIT_Lite_ChildNodes_Interface::replaceChild().
& DOMIT_Lite_Node::insertBefore | ( | &$ | newChild, |
&$ | refChild | ||
) |
Inserts a node to the childNodes list of the current node
Object | The node to be inserted |
Object | The node before which the insertion is to occur |
Réimplémentée dans DOMIT_Lite_ChildNodes_Interface, et DOMIT_Lite_Document.
Références DOMIT_DOMException::raiseException().
& DOMIT_Lite_Node::nvl | ( | &$ | value, |
$ | default | ||
) |
Tests whether a value is null, and if so, returns a default value
mixed | The value to be tested |
mixed | The default value |
DOMIT_Lite_Node::onLoad | ( | ) |
A node event that can be set to fire upon document loading, used for node initialization
& DOMIT_Lite_Node::removeChild | ( | &$ | oldChild | ) |
Removes a node from the childNodes list of the current node
Object | The node to be removed |
Réimplémentée dans DOMIT_Lite_ChildNodes_Interface, et DOMIT_Lite_Document.
Références DOMIT_DOMException::raiseException().
& DOMIT_Lite_Node::replaceChild | ( | &$ | newChild, |
&$ | oldChild | ||
) |
Replaces a node with another
Object | The new node |
Object | The old node |
Réimplémentée dans DOMIT_Lite_ChildNodes_Interface, et DOMIT_Lite_Document.
Références DOMIT_DOMException::raiseException().
DOMIT_Lite_Node::setOwnerDocument | ( | &$ | rootNode | ) |
Sets the ownerDocument property of a node to the containing DOMIT_Document
Object | A reference to the document element of the DOMIT_Document |
DOMIT_Lite_Node::toArray | ( | ) |
Generates an array representation of the node and its children
Réimplémentée dans DOMIT_Lite_Document, DOMIT_Lite_Element, et DOMIT_Lite_TextNode.
Références DOMIT_DOMException::raiseException().
DOMIT_Lite_Node::toNormalizedString | ( | $ | htmlSafe = false , |
$ | subEntities = false |
||
) |
Generates a normalized (formatted for readability) representation of the node and its children
boolean | True if HTML readable output is desired |
boolean | True if illegal xml characters in text nodes and attributes should be converted to entities |
Références forHTML().
Référencé par DOMIT_Lite_Document::saveXML(), et DOMIT_Lite_Document::saveXML_utf8().
DOMIT_Lite_Node::$attributes = null |
DOMIT_Lite_Node::$childCount = 0 |
DOMIT_Lite_Node::$childNodes = null |
DOMIT_Lite_Node::$firstChild = null |
DOMIT_Lite_Node::$lastChild = null |
DOMIT_Lite_Node::$nextSibling = null |
DOMIT_Lite_Node::$nodeName = null |
DOMIT_Lite_Node::$nodeType = null |
DOMIT_Lite_Node::$nodeValue = null |
DOMIT_Lite_Node::$ownerDocument = null |
DOMIT_Lite_Node::$parentNode = null |
DOMIT_Lite_Node::$previousSibling = null |
DOMIT_Lite_Node::$uid |