![]() |
TYPO3
7.6
|
Public Member Functions | |
initialize_postProc () | |
getResultRows ($sWArr) | |
prepareResultRowTemplateData_postProc ($tmplContent, $row, $headerOnly) | |
Public Attributes | |
$pObj | |
Index search frontend example hook Index search frontend - EXAMPLE hook for alternative searching / display etc. Hooks are configured in ext_localconf.php as key => hook-reference pairs in $TYPO3_CONF_VARS['EXTCONF']['indexed_search']['pi1_hooks']. See example in ext_localconf.php for "indexed_search" Each hook must have an entry, the key must match the hook-key in class.tx_indexed_search.php and generally the key equals the function name in the hook object (a convension used)
Definition at line 25 of file PluginHook.php.
getResultRows | ( | $sWArr | ) |
Providing an alternative search algorithm!
array | $sWArr | Array of search words |
Definition at line 54 of file PluginHook.php.
initialize_postProc | ( | ) |
EXAMPLE of how you can post process the initialized values in the frontend plugin. The example reverses the order of elements in the ranking selector box. You can modify other values like this or add / remove items.
This hook is activated by this key / value pair in ext_localconf.php 'initialize_postProc' => ::class,
Definition at line 43 of file PluginHook.php.
prepareResultRowTemplateData_postProc | ( | $tmplContent, | |
$row, | |||
$headerOnly | |||
) |
Example of how the content displayed in the result rows can be post processed before rendered into HTML. This example simply shows how the description field is wrapped in italics and the path is hidden by setting it blank.
array | $tmplContent | Template Content (generated from result row) being processed. |
array | $row | Result row |
bool | $headerOnly | If set, the result row is a sub-row. |
Definition at line 67 of file PluginHook.php.
$pObj |
Definition at line 32 of file PluginHook.php.