_getCleanedFilter($this->_filter) as $field => $value) { switch ($field) { case 'attendeeName': Qs_Db_Filter::where($select, ['firstName', 'lastName'], $value); break; case 'eventName': $word = str_replace(array('\\', '_', '%'), array('\\\\', '\_', '\%'), $value); $select->where('`e`.`title` LIKE ?', '%' . $word . '%'); break; default: break; } } return $this; } }