PHP Класс FluidTYPO3\Flux\View\ExposedTemplateView

Наследование: extends TYPO3\CMS\Fluid\View\TemplateView, implements TYPO3\CMS\Extbase\Mvc\View\ViewInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$configurationService FluidTYPO3\Flux\Service\FluxService
$renderedSections array

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Описание методов

getForm() публичный метод

public getForm ( string $sectionName = 'Configuration', string $formName = 'form' ) : Form | null
$sectionName string
$formName string
Результат FluidTYPO3\Flux\Form | null

getGrid() публичный метод

public getGrid ( string $sectionName = 'Configuration', string $gridName = 'grid' ) : FluidTYPO3\Flux\Form\Container\Grid
$sectionName string
$gridName string
Результат FluidTYPO3\Flux\Form\Container\Grid

getParsedTemplate() публичный метод

public getParsedTemplate ( ) : TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterface
Результат TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterface

getStoredVariable() защищенный метод

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
Результат mixed

getTemplatePathAndFilename() публичный метод

Public-access wrapper for parent's method.
public getTemplatePathAndFilename ( string $actionName = NULL ) : string
$actionName string
Результат string

injectConfigurationService() публичный метод

public injectConfigurationService ( FluxService $configurationService ) : void
$configurationService FluidTYPO3\Flux\Service\FluxService
Результат void

renderStandaloneSection() публичный метод

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
Результат string

resolveFileNamePath() защищенный метод

Wrapper method to make the static call to GeneralUtility mockable in tests
protected resolveFileNamePath ( string $pathAndFilename ) : string
$pathAndFilename string
Результат string absolute pathAndFilename

setTemplatePaths() публичный метод

public setTemplatePaths ( TemplatePaths $templatePaths ) : void
$templatePaths TemplatePaths
Результат void

Описание свойств

$configurationService защищенное свойство

protected FluxService,FluidTYPO3\Flux\Service $configurationService
Результат FluidTYPO3\Flux\Service\FluxService

$renderedSections защищенное свойство

protected array $renderedSections
Результат array