|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
NodeList
Class representing the DOM NodeList interface
Field Summary | |
private int |
$length
The number of nodes in this list. DOM-Level 1 |
private array |
$nodes
Contains all items of tbe NodeList. |
Constructor Summary | |
NodeList()
|
Method Summary | |
int |
getLength()
Returns the number of nodes in the list. DOM-Level 1 |
private void |
insertNode(var $node,
var $index)
Insert a Node. |
Node |
item(var $index)
Returns the indexth item in this list. DOM-Level 1 |
private void |
removeNode(var $index)
Removes a Node. |
private void |
replaceNode(var $node,
var $index)
Replaces the indexth node with $node. |
Field Detail |
private array $nodes
private int $length
Constructor Detail |
public NodeList()
Method Detail |
public int getLength()
public Node item(var $index)
$index
- int
private void insertNode(var $node, var $index)
$node
- Node$index
- int
$node
- is passed by reference$index
- Default Value: -1private void removeNode(var $index)
$index
- int
private void replaceNode(var $node, var $index)
$node
- Node$index
- int
$node
- is passed by reference
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |