Documentation TYPO3 par Ameos

tx_indexedsearch_pihook Class Reference

List of all members.

Public Member Functions

 initialize_postProc ()
 prepareResultRowTemplateData_postProc ($tmplContent, $row, $headerOnly)

Public Attributes

 $pObj

Detailed Description

Definition at line 59 of file class.pihook.php.


Member Function Documentation

tx_indexedsearch_pihook::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' => 'EXT:indexed_search/example/class.pihook.php:&tx_indexedsearch_pihook',

Returns:
void

Definition at line 72 of file class.pihook.php.

tx_indexedsearch_pihook::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.

Parameters:
array Template Content (generated from result row) being processed.
array Result row
boolean If set, the result row is a sub-row.
Returns:
array Template Content returned.

Definition at line 95 of file class.pihook.php.


The documentation for this class was generated from the following file:


Généré par Les experts TYPO3 avec  doxygen 1.4.6