Get a list of extra fields to ask for.
array
get_fields
()
Standard modular info function.
?array
info
()
Standard modular run function for rendering a search result.
tempcode
render
(array $row)
-
array
$row: The data row stored when we retrieved the result
Standard modular run function for rendering a search result.
array
render_tabular
(array $row)
-
array
$row: The data row stored when we retrieved the result
Standard modular run function for search results.
array
run
(array $content_explode, boolean $only_search_meta, ID_TEXT $direction, integer $max, integer $start, boolean $only_titles, string $content_where, SHORT_TEXT $author, ?MEMBER $author_id, TIME $cutoff, string $sort, integer $limit_to, string $boolean_operator, string $where_clause, string $search_under, BINARY $boolean_search)
-
array
$content_explode: A list of words for the boolean search
-
boolean
$only_search_meta: Whether to only do a META (tags) search
-
ID_TEXT
$direction: Order direction
-
integer
$max: Start position in total results
-
integer
$start: Maximum results to return in total
-
boolean
$only_titles: Whether only to search titles (as opposed to both titles and content)
-
string
$content_where: Where clause that selects the content according to the main search string (SQL query fragment) (blank: full-text search)
-
SHORT_TEXT
$author: Username/Author to match for
-
?MEMBER
$author_id: Member-ID to match for (NULL: unknown)
-
TIME
$cutoff: Cutoff date
-
string
$sort: The sort type (gets remapped to a field in this function)
-
integer
$limit_to: Limit to this number of results
-
string
$boolean_operator: What kind of boolean search to do
-
string
$where_clause: Where constraints known by the main search code (SQL query fragment)
-
string
$search_under: Comma-separated list of categories to search under
-
BINARY
$boolean_search: Whether it is a boolean search