Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/publish/search.php - 148 lines - 4259 bytes - Source - Print

Description: Tools for searching site contents.

Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

search()
filterSearch()
legacy_form()

Functions

Functions that are not part of a class:

search($q line: 31
Performs searching and returns results.

This is now performed by doArticles().

param: string $q
filterSearch()  line: 107
Limits search to searchable sections.

This function gets a list of searchable sections as an SQL where clause.
The returned results can be then be used in or as an SQL query.

return: string|bool SQL statement, or FALSE when all sections are included the search
legacy_form()  line: 135
Legacy search results form.

This is no longer used.

title

Body