Class Hook_search_cedi_posts

Description

Located in /sources/hooks/modules/search/cedi_posts.php (line 21)


	
			
Method Summary
array ajax_tree ()
?array info ()
tempcode render (array $row)
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)
Methods
ajax_tree (line 50)

Get details for an ajax-tree-list of entries for the content covered by this search hook.

  • return: A pair: the hook, and the options
array ajax_tree ()
info (line 29)

Standard modular info function.

  • return: Map of module info (NULL: module is disabled).
?array info ()
render (line 137)

Standard modular run function for rendering a search result.

  • return: The output
tempcode render (array $row)
  • array $row: The data row stored when we retrieved the result
run (line 78)

Standard modular run function for search results.

  • return: List of maps (template, orderer)
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

Documentation generated on Sun, 02 Jan 2011 23:10:40 +0000 by phpDocumentor 1.4.3