2012-05-31 13:15:36 +00:00
|
|
|
<?php
|
2012-06-24 10:44:24 +00:00
|
|
|
abstract class RenderNodeIterator extends Parentum {
|
2012-05-31 13:15:36 +00:00
|
|
|
protected $nodes = array();
|
|
|
|
|
|
|
|
function getSize() {
|
|
|
|
return sizeof($this->nodes);
|
|
|
|
}
|
|
|
|
|
|
|
|
function getChild($i) {
|
|
|
|
return $this->nodes[$i];
|
|
|
|
}
|
|
|
|
|
|
|
|
function isEmpty() {
|
|
|
|
return (sizeof($this->nodes) == 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
function getChildren() {
|
|
|
|
return $this->nodes;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|