public function __construct(SimDAL_Query $query, SimDAL_Mapper_Association $association, $type = null, $columns = null) { $this->_parent = $query; $this->_association = $association; $this->_entity = $this->getMapping(); $this->_from = $this->_entity; parent::__construct($query, $type, $columns); }
public function __construct(SimDAL_Query $query, SimDAL_Mapper_Entity $entity, SimDAL_Mapper_Entity $associated_entity, $type = null, array $columns = array()) { $this->_parent = $query; $this->_from = $entity; $this->_entity = $entity; $this->_associated_entity = $associated_entity; parent::__construct($type, $columns); }
public function __construct($descendant, $type = null, array $columns = array()) { $this->_descendant = $descendant; parent::__construct($type, $columns); }