diff -r 000000000000 -r 4eba9c11703f web/Zend/Pdf/RecursivelyIteratableObjectsContainer.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Pdf/RecursivelyIteratableObjectsContainer.php Mon Dec 13 18:29:26 2010 +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); } +}