TYPO3
7.6
|
Public Member Functions | |
injectModuleTemplate (ModuleTemplate $moduleTemplate) | |
injectTemplateView (TemplateView $templateView) | |
getModuleTemplate () | |
render ($actionName=null) | |
setControllerContext (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext) | |
assign ($key, $value) | |
assignMultiple (array $values) | |
canRender (ControllerContext $controllerContext) | |
initializeView () | |
Public Member Functions inherited from ViewInterface | |
setControllerContext (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext) | |
canRender (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext) | |
render () | |
Protected Attributes | |
$moduleTemplate | |
$templateView | |
Decorates the main template view. Should be used as view if you want to use Fluid templates in a backend module in order to have a consistent backend.
Definition at line 28 of file BackendTemplateView.php.
assign | ( | $key, | |
$value | |||
) |
Assign a value to the variable container.
string | $key | The key of a view variable to set |
mixed | $value | The value of the view variable |
Implements ViewInterface.
Definition at line 101 of file BackendTemplateView.php.
assignMultiple | ( | array | $values | ) |
Assigns multiple values to the JSON output. However, only the key "value" is accepted.
array | $values | Keys and values - only a value with key "value" is considered |
Implements ViewInterface.
Definition at line 115 of file BackendTemplateView.php.
canRender | ( | ControllerContext | $controllerContext | ) |
Checks whether a template can be resolved for the current request context.
ControllerContext | $controllerContext | Controller context which is available inside the view |
Definition at line 128 of file BackendTemplateView.php.
getModuleTemplate | ( | ) |
Definition at line 59 of file BackendTemplateView.php.
References BackendTemplateView\$moduleTemplate.
Referenced by PreviewController\initializeView().
initializeView | ( | ) |
injectModuleTemplate | ( | ModuleTemplate | $moduleTemplate | ) |
ModuleTemplate | $moduleTemplate |
Definition at line 43 of file BackendTemplateView.php.
References BackendTemplateView\$moduleTemplate.
injectTemplateView | ( | TemplateView | $templateView | ) |
TemplateView | $templateView |
Definition at line 51 of file BackendTemplateView.php.
References BackendTemplateView\$templateView.
render | ( | $actionName = null | ) |
Loads the template source and render the template. If "layoutName" is set in a PostParseFacet callback, it will render the file with the given layout.
Additionally amends the rendered template with a module template "frame"
string | $actionName | If set, the view of the specified action will be rendered instead. Default is the action specified in the Request object |
Definition at line 74 of file BackendTemplateView.php.
setControllerContext | ( | \TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext | $controllerContext | ) |
Sets the current controller context
\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext | $controllerContext | Controller context which is available inside the view |
Definition at line 88 of file BackendTemplateView.php.
|
protected |
Definition at line 33 of file BackendTemplateView.php.
Referenced by BackendTemplateView\getModuleTemplate(), and BackendTemplateView\injectModuleTemplate().
|
protected |
Definition at line 38 of file BackendTemplateView.php.
Referenced by BackendTemplateView\injectTemplateView().