[ Index ] |
|
Code source de GeekLog 1.4.1 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 1052 lignes (44 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Search:: (13 méthodes):
Search()
_convertAuthor()
_displayName()
_searchStories()
_searchComments()
_showPager()
_formatResults()
_hasAdvancedCriteria()
_getAccessDeniedMessage()
_isSearchAllowed()
_isFormAllowed()
showForm()
doSearch()
Search() X-Ref |
Constructor Sets up private search variables author: Tony Bibbs <tony AT geeklog DOT net> |
_convertAuthor() X-Ref |
Converts a username to a uid author: Tony Bibbs <tony AT geeklog DOT net |
_displayName($username, $fullname) X-Ref |
Return the user's username or full name for display, depending on the $_CONF['show_fullname'] config.php setting author: Dirk Haun <dirk AT haun-online DOT de |
_searchStories() X-Ref |
Performs search on all stories author: Tony Bibbs <tony AT geeklog DOT net> return: object plugin object |
_searchComments() X-Ref |
Performs search on all comments author: Tony Bibbs <tony AT geeklog DOT net> return: object plugin object |
_showPager($resultPage, $pages, $extra='') X-Ref |
Pas de description |
_formatResults($nrows_plugins, $total_plugins, $result_plugins, $searchtime) X-Ref |
Gets formatted output of all searches author: Tony Bibbs <tony AT geeklog DOT net> param: integer $nrows_plugins Total number of search results param: integer $total_plugins Total number of plugins param: array $result_plugins Array of plugin results param: string $searchtime Elapsed search time return: string HTML output |
_hasAdvancedCriteria() X-Ref |
Determines if any advanced search criteria were supplied Geeklog allows admins to lock down the access anonymous users have to the search page. This method helps facilitate checking if an anonymous user is attempting to illegally access privilege search capabilities author: Tony Bibbs <tony AT geeklog DOT net> return: boolean True if advanced criteria were supplied otherwise false |
_getAccessDeniedMessage() X-Ref |
Shows an error message to anonymous users This is called when anonymous users attempt to access search functionality that has been locked down by the Geeklog admin. returns: string HTML output for error message author: Tony Bibbs <tony AT geeklog DOT net> |
_isSearchAllowed() X-Ref |
Determines if user is allowed to perform a search Geeklog has a number of settings that may prevent the access anonymous users have to the search engine. This performs those checks author: Tony Bibbs <tony AT geeklog DOT net> return: boolean True if search is allowed, otherwise false |
_isFormAllowed() X-Ref |
Determines if user is allowed to use the search form Geeklog has a number of settings that may prevent the access anonymous users have to the search engine. This performs those checks author: Dirk Haun <Dirk AT haun-online DOT de> return: boolean True if form usage is allowed, otherwise false |
showForm() X-Ref |
Shows search form Shows advanced search page author: Tony Bibbs <tony AT geeklog DOT net> return: string HTML output for form |
doSearch() X-Ref |
Kicks off the appropriate search(es) author: Tony Bibbs <tony AT geeklog DOT net> |
Généré le : Wed Nov 21 12:27:40 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |