예제 #1
0
파일: Descendent.php 프로젝트: andho/simdal
 protected function _setupWheres()
 {
     $this->_wheres[] = new SimDAL_Query_Where_JoinDescendant($this->_descendant->getEntity(), $this->_descendant);
 }
예제 #2
0
 public function getRightValue()
 {
     return $this->_entity->getColumn($this->_descendent->getParentKey());
     //return new SimDAL_Query_Where_Column($this->_entity->getTable(), $this->_entity->getColumn($this->_descendant->getParentKey()));
 }