public function readElements()
  {
    $iterator = new ArrayIterator;
    do
    {
      $object = $this->readElement();
      if($object) $iterator->append($object);
    } while((boolean)$object);

    $this->objects = $iterator;
    return $this->objects;
  }
public function readElements()
  {
    $iterator = new ArrayIterator;
    do
    {
      $object = $this->readElement();
      if($object) $iterator->append($object);
    } while((boolean)$object);

    $this->objects = $iterator;
    return $this->objects;
  }
public function readElements ( ) { $ iterator = new ArrayIterator ; do { $ object = $ this -> readElement ( ) ; if ( $ object ) $ iterator -> append ( $ object ) ; } while ( ( boolean ) $ object ) ; $ this -> objects = $ iterator ; return $ this -> objects ; }
Read all the objects from the source

@return \ArrayIterator
Read all the objects from the source