plugins/nuggie/search.php
changeset 6 c51809bdf6af
parent 2 4e7762863437
equal deleted inserted replaced
5:172544257e2c 6:c51809bdf6af
    13  */
    13  */
    14 
    14 
    15 $plugins->attachHook('search_global_inner', 'nuggie_search($query, $query_phrase, $scores, $page_data, $case_sensitive, $word_list);');
    15 $plugins->attachHook('search_global_inner', 'nuggie_search($query, $query_phrase, $scores, $page_data, $case_sensitive, $word_list);');
    16 
    16 
    17 /**
    17 /**
    18  * Searches the forums for the specified search terms. Called from a hook.
    18  * Searches the site's blog database for the specified search terms. Called from a hook.
    19  * @access private
    19  * @access private
    20  */
    20  */
    21 
    21 
    22 function nuggie_search(&$query, &$query_phrase, &$scores, &$page_data, &$case_sensitive, &$word_list)
    22 function nuggie_search(&$query, &$query_phrase, &$scores, &$page_data, &$case_sensitive, &$word_list)
    23 {
    23 {