public function rules() { return array(array('query, keyword', 'required'), array('query, keyword', 'length', 'max' => 255)); }