@@ -33,18 +33,6 @@ |
||
33 | 33 | /** |
34 | 34 | * Performs a search on keywords depending on display specific params. You have to run split_keywords() first |
35 | 35 | * |
36 | - * @param array $keywords_ary contains each words to search |
|
37 | - * @param string $terms is either 'all' (use query as entered, words without prefix should default to "have to be in field") or 'any' (ignore search query parts and just return all posts that contain any of the specified words) |
|
38 | - * @param array $sort_by_sql contains SQL code for the ORDER BY part of a query |
|
39 | - * @param string $sort_key is the key of $sort_by_sql for the selected sorting |
|
40 | - * @param string $sort_dir is either a or d representing ASC and DESC |
|
41 | - * @param string $sort_days specifies the maximum amount of days a post may be old |
|
42 | - * @param array $ex_cid_ary specifies an array of category ids which should not be searched |
|
43 | - * @param int $cat_id is set to 0 or a topic id, if it is not 0 then only posts in this topic should be searched |
|
44 | - * @param array &$id_ary passed by reference, to be filled with ids for the page specified by $start and $per_page, should be ordered |
|
45 | - * @param int $start indicates the first index of the page |
|
46 | - * @param int $per_page number of ids each page is supposed to contain |
|
47 | - * @return int total number of results |
|
48 | 36 | */ |
49 | 37 | public function attribute_search($attribute_id, $type, $terms, $sort_by_sql, $sort_key, $sort_dir, $sort_days, $ex_fid_ary, $post_visibility, $topic_id, $author_ary, $author_name, &$id_ary, &$start, $per_page) |
50 | 38 | { |
@@ -403,6 +403,9 @@ |
||
403 | 403 | return $attr; |
404 | 404 | } |
405 | 405 | |
406 | + /** |
|
407 | + * @return string |
|
408 | + */ |
|
406 | 409 | protected function qte_move($attr_row, $action = 'move_up', $steps = 1) |
407 | 410 | { |
408 | 411 | global $db, $table_prefix; |