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

tx_indexedsearch_crawlerhook Class Reference

List of all members.

Public Member Functions

 initMessage ()
 indexOperation ($cfgRec, &$session_data, $params, &$pObj)

Detailed Description

Definition at line 57 of file class.crawlerhook.php.


Member Function Documentation

tx_indexedsearch_crawlerhook::indexOperation cfgRec,
&$  session_data,
params,
&$  pObj
 

This will do two things: 1) Carry out actual indexing of content (one or more items) 2) Add one or more new entries into the crawlers queue so we are called again (another instance) for further indexing in the session (optional of course, if all indexing is done, we add no new entries)

Parameters:
array Indexing Configuration Record (the record which holds the information that lead to this indexing session...)
array Session data variable. Passed by reference. Changed content is saved and passed back upon next instance in the session.
array Params array from the queue entry.
object Grant Parent Object (from "crawler" extension)
object Parent Object (from "indexed_search" extension)
Returns:
void

Definition at line 80 of file class.crawlerhook.php.

References t3lib_div::makeInstance().

tx_indexedsearch_crawlerhook::initMessage  ) 
 

Function is called when an indexing session starts according to the time intervals set for the indexing configuration.

Returns:
string Return a text string for the first, initiating queue entry for the crawler.

Definition at line 64 of file class.crawlerhook.php.


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