Exemple #1
0
 public function __construct(Zend_Db_Select $select, App_Model_DataMapper $mapper)
 {
     parent::__construct($select);
     $this->_mapper = $mapper;
 }
Exemple #2
0
 /**
  * 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);
 }