devel:event:search_result_pagelookup
Table of Contents
SEARCH_RESULT_PAGELOOKUP
- Description:
- Adjust how pagename match is displayed after search
- Preventable:
- No
- Added:
- 2018-04-05
This event is signalled by getPageLookupHTML() in inc/Ui/Search.php for every matched pagename that is to be displayed as a search result. Handlers can use it to add information to that result.
Passed Data
- $data['page'] ⇒ the pageid of the result
- $data['listItemContent'] ⇒ an Array of strings which will be concatenated and displayed as the content between the
<li></li>
tags in the respective section.
See also
- Code related to this event used in any DokuWiki's files, plugins and templates
devel/event/search_result_pagelookup.txt · Last modified: 2018-12-08 16:04 by torpedo