hook_search

Related topics

Namesort iconDescription
HooksAllow modules to interact with the Drupal core.
Search interfaceThe Drupal search interface manages a global search mechanism.

Functions that call hook_search()

Namesort iconLocationDescription
hook_searchdeveloper/hooks/core.phpDefine a custom search routine.

Functions called by hook_search()

Namesort iconLocationDescription
check_plainincludes/bootstrap.incEncode special characters in a plain-text string for display as HTML.
db_queryincludes/database.pgsql.incRuns a basic query in the active database.
db_resultincludes/database.pgsql.incReturn an individual result field from the previous query.
do_searchmodules/search/search.moduleDo a query on the full-text search index for a word or words.
drupal_map_associncludes/common.incForm an associative array from a linear array.
drupal_renderincludes/common.incRenders HTML given a structured array tree.
hook_searchdeveloper/hooks/core.phpDefine a custom search routine.
module_existsincludes/module.incDetermine whether a given module exists.
module_invokeincludes/module.incInvoke a hook in a particular module.
node_build_contentmodules/node/node.moduleBuilds a structured array representing the node's content.
node_get_typesmodules/node/node.moduleBuilds a list of available node types, and returns all of part of this list in the specified format.
node_invoke_nodeapimodules/node/node.moduleInvoke a hook_nodeapi() operation in all modules.
node_loadmodules/node/node.moduleLoad a node object from the database.
search_excerptmodules/search/search.moduleReturns snippets from a piece of text, with certain keywords highlighted. Used for formatting search results.
search_query_extractmodules/search/search.moduleExtract a module-specific search option from a search query. e.g. 'type:book'
search_query_insertmodules/search/search.moduleReturn a query with the given module-specific search option inserted in. e.g. 'type:book'.
tincludes/common.incTranslate strings to the page language or a given language.
themeincludes/theme.incGenerate the themed output.
urlincludes/common.incGenerate a URL from a Drupal menu path. Will also pass-through existing URLs.
variable_getincludes/bootstrap.incReturn a persistent variable.
_db_rewrite_sqlincludes/database.incHelper function for db_rewrite_sql.
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.