"TYPO3 4.0.1: tx_indexedsearch_pihook Class Reference", "datetime" => "Sat Dec 2 19:27:16 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

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: