protected function _prepare_spec_where(Criteria $criteria = null) { if ($criteria->spec_where('keyword')) { $this->db->where($this->_sql_for_search($criteria->spec_where('keyword')), null, false); } }