PHP Class FluidTYPO3\Flux\View\ExposedTemplateView

Inheritance: extends TYPO3\CMS\Fluid\View\TemplateView, implements TYPO3\CMS\Extbase\Mvc\View\ViewInterface
Datei anzeigen Open project: fluidtypo3/flux

Protected Properties

Property Type Description
$configurationService FluidTYPO3\Flux\Service\FluxService
$renderedSections array

Public Methods

Method Description
getForm ( string $sectionName = 'Configuration', string $formName = 'form' ) : Form | null
getGrid ( string $sectionName = 'Configuration', string $gridName = 'grid' ) : FluidTYPO3\Flux\Form\Container\Grid
getParsedTemplate ( ) : TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterface
getTemplatePathAndFilename ( string $actionName = NULL ) : string Public-access wrapper for parent's method.
injectConfigurationService ( FluxService $configurationService ) : void
renderStandaloneSection ( string $sectionName, array $variables, boolean $optional = TRUE ) : string Renders a section from the specified template w/o requring a call to the main render() method - allows for cherry-picking sections to render.
setTemplatePaths ( TemplatePaths $templatePaths ) : void

Protected Methods

Method Description
getStoredVariable ( string $viewHelperClassName, string $name, string $sectionName = NULL ) : mixed Get a variable stored in the Fluid template
resolveFileNamePath ( string $pathAndFilename ) : string Wrapper method to make the static call to GeneralUtility mockable in tests

Method Details

getForm() public method

public getForm ( string $sectionName = 'Configuration', string $formName = 'form' ) : Form | null
$sectionName string
$formName string
return FluidTYPO3\Flux\Form | null

getGrid() public method

public getGrid ( string $sectionName = 'Configuration', string $gridName = 'grid' ) : FluidTYPO3\Flux\Form\Container\Grid
$sectionName string
$gridName string
return FluidTYPO3\Flux\Form\Container\Grid

getParsedTemplate() public method

public getParsedTemplate ( ) : TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterface
return TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterface

getStoredVariable() protected method

Get a variable stored in the Fluid template
protected getStoredVariable ( string $viewHelperClassName, string $name, string $sectionName = NULL ) : mixed
$viewHelperClassName string Class name of the ViewHelper which stored the variable
$name string Name of the variable which the ViewHelper stored
$sectionName string Optional name of a section in which the ViewHelper was called
return mixed

getTemplatePathAndFilename() public method

Public-access wrapper for parent's method.
public getTemplatePathAndFilename ( string $actionName = NULL ) : string
$actionName string
return string

injectConfigurationService() public method

public injectConfigurationService ( FluxService $configurationService ) : void
$configurationService FluidTYPO3\Flux\Service\FluxService
return void

renderStandaloneSection() public method

Renders a section from the specified template w/o requring a call to the main render() method - allows for cherry-picking sections to render.
public renderStandaloneSection ( string $sectionName, array $variables, boolean $optional = TRUE ) : string
$sectionName string
$variables array
$optional boolean
return string

resolveFileNamePath() protected method

Wrapper method to make the static call to GeneralUtility mockable in tests
protected resolveFileNamePath ( string $pathAndFilename ) : string
$pathAndFilename string
return string absolute pathAndFilename

setTemplatePaths() public method

public setTemplatePaths ( TemplatePaths $templatePaths ) : void
$templatePaths TemplatePaths
return void

Property Details

$configurationService protected_oe property

protected FluxService,FluidTYPO3\Flux\Service $configurationService
return FluidTYPO3\Flux\Service\FluxService

$renderedSections protected_oe property

protected array $renderedSections
return array