TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 parseValues ($content, array $configuration=null)
 
 renderValues ($content, array $configuration=null)
 
 addSection (array $section, $as=null)
 
 renderSections ($content, array $configuration=null)
 

Public Attributes

 $cObj
 

Protected Member Functions

 stdWrapValues (array $values)
 
 createParser ()
 

Protected Attributes

 $sections = []
 

Detailed Description

Section renderer for frontend responses.

Definition at line 20 of file Renderer.php.

Member Function Documentation

◆ addSection()

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer::addSection ( array  $section,
  $as = null 
)

◆ createParser()

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer::createParser ( )
protected

◆ parseValues()

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer::parseValues (   $content,
array  $configuration = null 
)
Parameters
string$content
NULL | array$configuration
Returns
void

Definition at line 37 of file Renderer.php.

References TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer\addSection(), and TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer\createParser().

◆ renderSections()

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer::renderSections (   $content,
array  $configuration = null 
)
Parameters
string$content
NULL | array$configuration
Returns
string

Definition at line 109 of file Renderer.php.

◆ renderValues()

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer::renderValues (   $content,
array  $configuration = null 
)

Possible structure of $configuration: { values { propertyA.data = tsfe:id propertyB.children { propertyB1.data = page:id propertyB2.data = page:pid propertyB2.intval = 1 } } as = CustomData }

Parameters
string$content
array | null$configuration

Definition at line 81 of file Renderer.php.

References TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer\addSection(), and TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer\stdWrapValues().

◆ stdWrapValues()

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer::stdWrapValues ( array  $values)
protected

Possible structure of $values: { propertyA.data = tsfe:id propertyB.children { propertyB1.data = page:id propertyB2.data = page:pid propertyB2.intval = 1 } }

Parameters
array$values
Returns
array

Definition at line 129 of file Renderer.php.

Referenced by TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer\renderValues().

Member Data Documentation

◆ $cObj

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer::$cObj

Definition at line 30 of file Renderer.php.

◆ $sections

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Renderer::$sections = []
protected

Definition at line 25 of file Renderer.php.