TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\IndexedSearch\Example\CrawlerHook Class Reference

Public Member Functions

 initMessage ()
 

Detailed Description

Index search crawler hook example

Definition at line 23 of file CrawlerHook.php.

Member Function Documentation

◆ initMessage()

TYPO3\CMS\IndexedSearch\Example\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 30 of file CrawlerHook.php.

References $GLOBALS, $params, and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().