This method is called by the TypoScript Runtime while rendering a TypoScript object.
public createDynamicCachedSegment ( string $content, string $typoScriptPath, array $contextVariables, array $cacheIdentifierValues, array $tags = [], integer $lifetime = null, string $cacheDiscriminator ) : string | ||
$content | string | The content rendered by the TypoScript Runtime |
$typoScriptPath | string | The TypoScript path that rendered the content, for example "page |
$contextVariables | array | TypoScript context variables which are needed to correctly render the specified TypoScript object |
$cacheIdentifierValues | array | |
$tags | array | Tags to add to the cache entry |
$lifetime | integer | Lifetime of the cache segment in seconds. NULL for the default lifetime and 0 for unlimited lifetime. |
$cacheDiscriminator | string | The evaluated cache discriminator value |
return | string | The original content, but with additional markers added |