Exemplo n.º 1
0
 /**
  * 
  * @param string $column
  * @return SimDAL_Query_OrderBy
  */
 public function orderBy($column)
 {
     $column = $this->_from->getColumn($column);
     $this->_orderBy = new SimDAL_Query_OrderBy($column, $this);
     return $this->_orderBy;
 }
Exemplo n.º 2
0
 public function getRightValue()
 {
     return new SimDAL_Query_Where_Column($this->_entity->getTable(), $this->_entity->getColumn($this->_descendant->getParentKey()));
 }