![]() |
TYPO3
7.6
|
Public Member Functions | |
setControllerContext (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext) | |
assign ($key, $value) | |
assignMultiple (array $values) | |
canRender (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext) | |
render () | |
initializeView () | |
Interface of a view
Definition at line 22 of file ViewInterface.php.
assign | ( | $key, | |
$value | |||
) |
Add a variable to the view data collection. Can be chained, so $this->view->assign(..., ...)->assign(..., ...); is possible
string | $key | Key of variable |
mixed | $value | Value of object |
Implemented in AbstractTemplateView, BackendTemplateView, AbstractView, and EmptyView.
Referenced by PermissionController\initializeView().
assignMultiple | ( | array | $values | ) |
Add multiple variables to the view data collection
array | $values | array in the format array(key1 => value1, key2 => value2) |
Implemented in AbstractTemplateView, BackendTemplateView, AbstractView, and EmptyView.
canRender | ( | \TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext | $controllerContext | ) |
Tells if the view implementation can render the view for the given context.
\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext | $controllerContext |
Implemented in AbstractView, and EmptyView.
initializeView | ( | ) |
Initializes this view.
Implemented in TemplateView, BackendTemplateView, AbstractTemplateView, EmptyView, and AbstractView.
render | ( | ) |
Renders the view
Implemented in EmptyView, AbstractJsonView, NotFoundView, and JsonView.
setControllerContext | ( | \TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext | $controllerContext | ) |
Sets the current controller context
\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext | $controllerContext |
Implemented in AbstractView, and EmptyView.