public function where($column_name, $value = null) { return $this->where_equal($column_name, $value); }
/** * @return ORM */ protected function before_fetch(ORM $item) { if (is_null($this->_parent_key)) { throw new Extasy_Exception('Parent key not defined'); } $item->where($this->_parent_key, '=', $this->param('parent')); return $item; }