_filterFields) && array_key_exists('query', $this->_filter)) { Qs_Db_Filter::where($select, $this->_filterFields, $this->_filter['query']); } foreach ($this->_filter as $field => $value) { if (empty($value)) { continue; } switch ($field) { case 'featured': $select->where("`{$this->_tableAlias}`.`{$field}` = " . $this->db->quote($value)); break; default: break; } } return $select; } protected function _arrayParseUrl2Tag(&$array) { parent::_arrayParseUrl2Tag($array); $array['searchContent'] = strip_tags(preg_replace(array("']*?>.*?'si"), '', $array['introduction'] . ' ' . $array['description'])); return true; } public function getList($options = array()) { $options['order'] = array(array($options['order'], 'id DESC')); $stmt = $this->getListStatement($options); $list = $stmt->fetchAll(); $this->_prepareList($list); return $list; } }