_dba = &$dba; $this->_def = &$def; $this->_finder = &$finder; $this->_model = &$model; parent::FAProxyIterator($it); } function ¤t() { return $this->_current; } function next() { if ($ret = parent::next()) { $current = parent::current(); $class = $this->_def->getRecordClass(); $this->_current = &new $class($this->_dba, $this->_def, $this->_finder, $this->_model, $current); } return $ret; } function numRows() { return $this->_it->numRows(); } } ?>