|
|
|
File: /usr/local/apache_8080/htdocs/devel/Intra/class/phpdom/domxml_nodelist.php
Document Object Model for PHP - phpDOM
NodeList
NodeList
The NodeList-Class
|
private class NodeList
The NodeList-Class
The NodeList provides an abstraction to an ordered collection of nodes. Thisclass is used internally when retrieving all childs of a node
|
| |
|
Public Method Summary |
| int |
getLength()the number of nodes in the list |
| object Node |
item(int $index)Returns the indexth item in the collection. |
|
Private Field Summary |
| array |
$nodes |
|
Public Method Details |
getLength |
|
public int getLength( )
|
| |
the number of nodes in the list
The number of nodes in the list. The range of valid child node indicesis 0 to length-1 inclusive.
|
| Returns |
int |
|
item |
|
public object Node item( int $index )
|
| |
Returns the indexth item in the collection.
Returns the indexth item in the collection. If index is greater than orequal to the number of nodes in the list, this returns null.
|
| Parameter |
|
|
| Returns |
object Node |
|
|
Private Field Details |
$nodes |
|
private array $nodes
>>array()<<
|
|
|
|
|
|
| PHPDoc 1.0beta |