[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/modules/search/ -> search.pages.inc (summary)

(no description)

File Size: 130 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  search_view()
  template_preprocess_search_results()
  template_preprocess_search_result()
  search_form_validate()
  search_form_submit()

Functions
Functions that are not part of a class:

search_view($type = 'node')   X-Ref
Menu callback; presents the search form and/or search results.


template_preprocess_search_results(&$variables)   X-Ref
Process variables for search-results.tpl.php.

The $variables array contains the following arguments:
- $results
- $type


template_preprocess_search_result(&$variables)   X-Ref
Process variables for search-result.tpl.php.

The $variables array contains the following arguments:
- $result
- $type


search_form_validate($form, &$form_state)   X-Ref
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.


search_form_submit($form, &$form_state)   X-Ref
Process a search form submission.




Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7