khanat-code-old/code/web/app/app_achievements/class/RenderNodeIteraor_abstract.php

21 lines
No EOL
360 B
PHP

<?php
abstract class RenderNodeIterator implements Parentum {
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;
}
}
?>