Go to the source code of this file.
Functions | |
search_view ($type= 'node') | |
template_preprocess_search_results (&$variables) | |
template_preprocess_search_result (&$variables) | |
search_form_validate ($form, &$form_state) | |
search_form_submit ($form, &$form_state) |
Definition in file search.pages.inc.
search_form_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Process a search form submission.
Definition at line 120 of file search.pages.inc.
References $type, form_set_error(), and t().
search_form_validate | ( | $ | form, | |
&$ | form_state | |||
) |
As the search form collates keys from other modules hooked in via hook_form_alter, the validation takes place in _submit. search_form_validate() is used solely to set the 'processed_keys' form value for the basic search form.
Definition at line 113 of file search.pages.inc.
References form_set_value().
search_view | ( | $ | type = 'node' |
) |
Menu callback; presents the search form and/or search results.
Definition at line 12 of file search.pages.inc.
References $output, $results, $type, drupal_get_form(), drupal_goto(), drupal_help_arg(), l(), module_invoke(), t(), theme(), and watchdog().
template_preprocess_search_result | ( | &$ | variables | ) |
Process variables for search-result.tpl.php.
The $variables array contains the following arguments:
Definition at line 80 of file search.pages.inc.
References $result, check_plain(), check_url(), and format_date().
template_preprocess_search_results | ( | &$ | variables | ) |
Process variables for search-results.tpl.php.
The $variables array contains the following arguments:
Definition at line 61 of file search.pages.inc.
References $result, and theme().