TypoScriptFrontendHook
Hooks for \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController (TSFE).
this is a TYPO3-internal hook implementation and not part of TYPO3's Core API.
Table of Contents
Methods
- indexPageContent() : mixed
- Trigger indexing of content, after evaluating if this page could / should be indexed.
- convOutputCharset() : string
- Converts input string from utf-8 to metaCharset IF the two charsets are different.
- initializeIndexerConfiguration() : array<string|int, mixed>
- Setting up internal configuration from config array based on TypoScriptFrontendController Information about page for which the indexing takes place
Methods
indexPageContent()
Trigger indexing of content, after evaluating if this page could / should be indexed.
public
indexPageContent(array<string|int, mixed> $parameters, TypoScriptFrontendController $tsfe) : mixed
Parameters
- $parameters : array<string|int, mixed>
- $tsfe : TypoScriptFrontendController
convOutputCharset()
Converts input string from utf-8 to metaCharset IF the two charsets are different.
protected
convOutputCharset(string $content, string $metaCharset) : string
Parameters
- $content : string
-
Content to be converted.
- $metaCharset : string
Return values
string —Converted content string.
initializeIndexerConfiguration()
Setting up internal configuration from config array based on TypoScriptFrontendController Information about page for which the indexing takes place
protected
initializeIndexerConfiguration(TypoScriptFrontendController $tsfe, LanguageAspect $languageAspect) : array<string|int, mixed>
Parameters
- $tsfe : TypoScriptFrontendController
- $languageAspect : LanguageAspect