public function __construct(Zend_Db_Select $select, App_Model_DataMapper $mapper) { parent::__construct($select); $this->_mapper = $mapper; }
/** * Constructor. * * @param Zend_Db_Select $select The select query * @param Myblog_Model_MapperAbstract $mapper The mapper associated with the object type */ public function __construct(Zend_Db_Select $select, Myblog_Model_Mapper_MapperAbstract $mapper) { $this->_mapper = $mapper; parent::__construct($select); }