PHP Class FluidTYPO3\Flux\View\ExposedTemplateView

Inheritance: extends TYPO3\CMS\Fluid\View\TemplateView, implements TYPO3\CMS\Extbase\Mvc\View\ViewInterface
Afficher le fichier Open project: fluidtypo3/flux

Protected Properties

Свойство Type Description
$configurationService FluidTYPO3\Flux\Service\FluxService
$renderedSections array

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

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

getGrid() public méthode

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

getParsedTemplate() public méthode

public getParsedTemplate ( ) : TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterface
Résultat TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterface

getStoredVariable() protected méthode

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
Résultat mixed

getTemplatePathAndFilename() public méthode

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

injectConfigurationService() public méthode

public injectConfigurationService ( FluxService $configurationService ) : void
$configurationService FluidTYPO3\Flux\Service\FluxService
Résultat void

renderStandaloneSection() public méthode

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
Résultat string

resolveFileNamePath() protected méthode

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

setTemplatePaths() public méthode

public setTemplatePaths ( TemplatePaths $templatePaths ) : void
$templatePaths TemplatePaths
Résultat void

Property Details

$configurationService protected_oe property

protected FluxService,FluidTYPO3\Flux\Service $configurationService
Résultat FluidTYPO3\Flux\Service\FluxService

$renderedSections protected_oe property

protected array $renderedSections
Résultat array