khanat-opennel-code/code/web/app/app_achievements/class/RenderNodeIteraor_abstract.php
SirCotare 29d1d9372f #1470 class files moved; some rendering improvements;
--HG--
branch : gsoc2012-achievements
2012-05-31 15:15:36 +02:00

21 lines
No EOL
340 B
PHP

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