diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Pdf/RecursivelyIteratableObjectsContainer.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Pdf/RecursivelyIteratableObjectsContainer.php Fri Mar 11 15:05:35 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); } +}