Retrieves the element at the specified index. |
Signature: &getElementAt($index) |
Parameters:
int index - The index of the requested custom RSS element.
|
Returns:
DOMIT_Node - The DOMIT node representing the requested element.
|
Example:
Returns the second DOMIT node in the collection. $myNode =& $myCollection->getElementAt(1); |
Retrieves the element at the specified index (alias for getElementAt). |
Signature: &getElement($index) |
Parameters:
int index - The index of the requested custom RSS element.
|
Returns:
DOMIT_Node - The DOMIT node representing the requested element.
|
Example:
Returns the second DOMIT node in the collection. $myNode =& $myCollection->getElement(1); |
Returns the number of elements in the collection. |
Signature: getElementCount() |
Returns:
int - The number of elements in the collection.
|
Example:
Returns the number of elements in the collection. $numItems =& $myCollection->getElementCount(); |
Gets a text representation of the collection (applies the toString method to each member and concatenates). |
Signature: getElementText() |
Returns:
int - A text representation of the collection .
|
Example:
Returns a text representation of the collection . $text =& $myCollection->getElementText(); |