public function valid() { /* if(!$this->_iterating){ $this->next(); $this->_iterating=$this->selectQuery(); } */ if ($this->_iterating === true) { $this->next(); } return $this->loaded(); }