[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (c) 2005 phpBB Group |
License: | http://opensource.org/licenses/gpl-license.php GNU Public License |
Version: | $Id$ |
File Size: | 320 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
search_backend:: (6 methods):
search_backend()
get_ignore_words()
get_synonyms()
obtain_ids()
save_ids()
destroy_cache()
Class: search_backend - X-Ref
search_backendsearch_backend(&$error) X-Ref |
No description |
get_ignore_words() X-Ref |
Retrieves a language dependend list of words that should be ignored by the search |
get_synonyms() X-Ref |
Stores a list of synonyms that should be replaced in $this->match_synonym and $this->replace_synonym and caches them |
obtain_ids($search_key, &$result_count, &$id_ary, $start, $per_page, $sort_dir) X-Ref |
Retrieves cached search results param: int &$result_count will contain the number of all results for the search (not only for the current page) param: array &$id_ary is filled with the ids belonging to the requested page that are stored in the cache return: int SEARCH_RESULT_NOT_IN_CACHE or SEARCH_RESULT_IN_CACHE or SEARCH_RESULT_INCOMPLETE |
save_ids($search_key, $keywords, $author_ary, $result_count, &$id_ary, $start, $sort_dir) X-Ref |
Caches post/topic ids param: array &$id_ary contains a list of post or topic ids that shall be cached, the first element |
destroy_cache($words, $authors = false) X-Ref |
Removes old entries from the search results table and removes searches with keywords that contain a word in $words. |
Generated: Wed Oct 2 15:03:47 2013 | Cross-referenced by PHPXref 0.7.1 |