protected function _prepare_where(Criteria $criteria = null) { if ($where = $criteria->where()) { $this->db->where($where); } $this->_prepare_spec_where($criteria); }