/** * @see Model/Rowset/Dkplus_Model_Rowset_Interface#fetchNewRow() */ public function fetchNewRow(){ return $this->_model->fetchNewRow(); }
public function __construct(Dkplus_Model_Interface $model, $row = null, $new = FALSE){ $this->_model = $model; if( is_null($row) ){ $new = TRUE; } else{ $new = (boolean) $new; $this->_setRow($row); } if( $new ){ $this->_setUnsaved(); } else{ $this->_setSaved(); } if( $model instanceOf Dkplus_Model_Abstract ){ $this->_alias = $model->getAlias(); $this->_unalias = $model->getUnalias(); } }