TypoScriptService

Read onlyYes

Utilities to manage and convert TypoScript

Scope: frontend

Attributes
#[Autoconfigure]

Table of Contents

Properties

$coreTypoScriptService  : TypoScriptService

Methods

__construct()  : mixed
resolvePossibleTypoScriptConfiguration()  : array<string|int, mixed>
Parse a configuration with ContentObjectRenderer::cObjGetSingle() and return the result.
getTypoScriptFrontendController()  : TypoScriptFrontendController
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 = [] ]) : array<string|int, mixed>
Parameters
$configuration : array<string|int, mixed> = []
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 = [] ]) : 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> = []
Return values
array<string|int, mixed>

        
On this page

Search results