‪TYPO3CMS  10.4
TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService Class Reference

Public Member Functions

 injectTypoScriptService (\TYPO3\CMS\Core\TypoScript\TypoScriptService $typoScriptService)
 
array resolvePossibleTypoScriptConfiguration (array $configuration=[])
 

Protected Member Functions

array resolveTypoScriptConfiguration (array $configuration=[])
 
TypoScriptFrontendController getTypoScriptFrontendController ()
 

Protected Attributes

TYPO3 CMS Core TypoScript TypoScriptService $extbaseTypoScriptService
 

Detailed Description

Utilities to manage and convert TypoScript

Scope: frontend

Definition at line 27 of file TypoScriptService.php.

Member Function Documentation

◆ getTypoScriptFrontendController()

TypoScriptFrontendController TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService::getTypoScriptFrontendController ( )
protected
Returns
‪TypoScriptFrontendController

Definition at line 97 of file TypoScriptService.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService\resolveTypoScriptConfiguration().

◆ injectTypoScriptService()

TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService::injectTypoScriptService ( \TYPO3\CMS\Core\TypoScript\TypoScriptService  $typoScriptService)
Parameters
\TYPO3\CMS\Core\TypoScript\TypoScriptService$typoScriptService

Definition at line 38 of file TypoScriptService.php.

◆ resolvePossibleTypoScriptConfiguration()

array TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService::resolvePossibleTypoScriptConfiguration ( array  $configuration = [])

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

Parameters
array$configuration
Returns
‪array

Definition at line 51 of file TypoScriptService.php.

References TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService\resolveTypoScriptConfiguration().

◆ resolveTypoScriptConfiguration()

array TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService::resolveTypoScriptConfiguration ( array  $configuration = [])
protected

Parse a configuration with ContentObjectRenderer::cObjGetSingle() if there is an array key without and with a dot at the end. This sample would be identified as a TypoScript parsable configuration part:

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

Parameters
array$configuration
Returns
‪array

Definition at line 75 of file TypoScriptService.php.

References TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService\getTypoScriptFrontendController().

Referenced by TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService\resolvePossibleTypoScriptConfiguration().

Member Data Documentation

◆ $extbaseTypoScriptService

TYPO3 CMS Core TypoScript TypoScriptService TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService::$extbaseTypoScriptService
protected

Definition at line 32 of file TypoScriptService.php.