devel:event:search_query_fullpage
Table of Contents
SEARCH_QUERY_FULLPAGE
- Description:
- Filter/reorder search results
- DefaultAction:
- Performs a search
- Preventable:
- yes
- Added:
- 2008-08-11
This event is signalled in ft_pageSearch() in inc/fulltext.php. You can use this event to post process the search results AFTER event advise to filter/reorder them.
Passed Data
data['query']
⇒ (string) the search querydata['highlight']
⇒ (array reference) to array to hold words to be highlighted
added after 2018-04-05:
data['sort']
⇒ (string) whether the results are sorted by number of hits or last changed time (mtime
)data['after']
⇒ (int|string) only show results with an modified time after this date, accepts timestap or strtotime argumentsdata['before']
⇒ (int|string) only show results with an modified time before this date, accepts timestap or strtotime arguments
See also
- Code related to this event used in any DokuWiki's files, plugins and templates
devel/event/search_query_fullpage.txt · Last modified: 2018-12-08 16:02 by torpedo