TypoScriptService

Read onlyYes

Utilities to manage and convert TypoScript

Scope: frontend

Table of Contents

Properties

$coreTypoScriptService  : TypoScriptService

Methods

__construct()  : mixed
resolvePossibleTypoScriptConfiguration()  : array<string|int, mixed>
Parse a configuration with ContentObjectRenderer::cObjGetSingle() and return the result.
resolveTypoScriptConfiguration()  : array<string|int, mixed>
Parse a configuration with ContentObjectRenderer::cObjGetSingle() if there is an array key without and with a dot at the end.

Properties

Methods

resolvePossibleTypoScriptConfiguration()

Parse a configuration with ContentObjectRenderer::cObjGetSingle() and return the result.

public resolvePossibleTypoScriptConfiguration(array<string|int, mixed> $configuration, ServerRequestInterface $request) : array<string|int, mixed>
Parameters
$configuration : array<string|int, mixed>
$request : ServerRequestInterface
Internal
Return values
array<string|int, mixed>

resolveTypoScriptConfiguration()

Parse a configuration with ContentObjectRenderer::cObjGetSingle() if there is an array key without and with a dot at the end.

protected resolveTypoScriptConfiguration(array<string|int, mixed> $configuration, ContentObjectRenderer $contentObjectRenderer) : array<string|int, mixed>

This sample would be identified as a TypoScript parsable configuration part:

[ 'example' => 'TEXT' 'example.' => [ 'value' => 'some value' ] ]

Parameters
$configuration : array<string|int, mixed>
$contentObjectRenderer : ContentObjectRenderer
Return values
array<string|int, mixed>

        
On this page

Search results