DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

devel:event:search_query_fullpage

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 query
  • data['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 arguments
  • data['before'] ⇒ (int|string) only show results with an modified time before this date, accepts timestap or strtotime arguments

See also

devel/event/search_query_fullpage.txt · Last modified: 2018-12-08 16:02 by torpedo