diff -r bd595ad770fc -r 1c2f13fd785c web/enmi/Zend/Pdf/RecursivelyIteratableObjectsContainer.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/enmi/Zend/Pdf/RecursivelyIteratableObjectsContainer.php Thu Jan 20 19:30:54 2011 +0100 @@ -0,0 +1,45 @@ +_objects = $objects; } + + public function current() { return current($this->_objects); } + public function key() { return key($this->_objects); } + public function next() { return next($this->_objects); } + public function rewind() { return reset($this->_objects); } + public function valid() { return current($this->_objects) !== false; } + public function getChildren() { return current($this->_objects); } + public function hasChildren() { return count($this->_objects) > 0; } + + public function count() { return count($this->_objects); } +}