API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
DOMIT_Lite_ChildNodes_Interface::_getElementsByAttribute | ( | &$ | nodelist, |
$ | attrName, | ||
$ | attrValue, | ||
$ | returnFirstFoundNode, | ||
$ | treatUIDAsAttribute, | ||
$ | foundNode = false |
||
) |
Searches the element tree for an element with the specified attribute name and value.
object | The node list of found elements |
string | The value of the attribute |
string | The name of the attribute |
boolean | True if the first found node is to be returned as a node instead of a nodelist |
boolean | True if uid is to be considered an attribute |
boolean | True the node has been found |
Référencé par getElementsByAttribute().
& DOMIT_Lite_ChildNodes_Interface::appendChild | ( | &$ | child | ) |
Appends a node to the childNodes list of the current node
Object | The node to be appended |
Object | The node to be appended |
Réimplémentée à partir de DOMIT_Lite_Node.
Réimplémentée dans DOMIT_Lite_Document.
Références DOMIT_Lite_Node::getChildNodeIndex(), DOMIT_Lite_Node::hasChildNodes(), et removeChild().
Référencé par insertBefore(), et DOMIT_Lite_Element::setText().
DOMIT_Lite_ChildNodes_Interface::DOMIT_Lite_ChildNodes_Interface | ( | ) |
Raises error if abstract class is directly instantiated
Références DOMIT_DOMException::raiseException().
& DOMIT_Lite_ChildNodes_Interface::getElementsByAttribute | ( | $ | attrName = 'id' , |
$ | attrValue = '' , |
||
$ | returnFirstFoundNode = false , |
||
$ | treatUIDAsAttribute = false |
||
) |
Searches the element tree for an element with the specified attribute name and value.
string | The value of the attribute |
string | The name of the attribute |
boolean | True if the first found node is to be returned as a node instead of a nodelist |
boolean | True if uid is to be considered an attribute |
Références _getElementsByAttribute().
& DOMIT_Lite_ChildNodes_Interface::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 à partir de DOMIT_Lite_Node.
Réimplémentée dans DOMIT_Lite_Document.
Références $i, appendChild(), DOMIT_Lite_Node::getChildNodeIndex(), DOMIT_DOMException::raiseException(), et removeChild().
& DOMIT_Lite_ChildNodes_Interface::removeChild | ( | &$ | oldChild | ) |
Removes a node from the childNodes list of the current node
Object | The node to be removed |
Réimplémentée à partir de DOMIT_Lite_Node.
Réimplémentée dans DOMIT_Lite_Document.
Références $i, $total, DOMIT_Lite_Node::getChildNodeIndex(), DOMIT_Lite_Node::hasChildNodes(), et DOMIT_DOMException::raiseException().
Référencé par appendChild(), insertBefore(), DOMIT_Lite_Element::normalize(), et replaceChild().
& DOMIT_Lite_ChildNodes_Interface::replaceChild | ( | &$ | newChild, |
&$ | oldChild | ||
) |
Replaces a node with another
Object | The new node |
Object | The old node |
Réimplémentée à partir de DOMIT_Lite_Node.
Réimplémentée dans DOMIT_Lite_Document.
Références DOMIT_Lite_Node::getChildNodeIndex(), DOMIT_Lite_Node::hasChildNodes(), DOMIT_DOMException::raiseException(), et removeChild().