Extbase\MVC\View
Class Tx_Extbase_MVC_View_AbstractView
All Implemented Interfaces:
Direct Known Subclasses:
public class Tx_Extbase_MVC_View_AbstractView
implements Tx_Extbase_MVC_View_ViewInterface
An abstract View
Package: Extbase
Subpackage: MVC\View
Version: $ID:$
Subpackage: MVC\View
Version: $ID:$
Field Summary
| protected | $controllerContext |
Method Summary
| Tx_Extbase_MVC_View_ViewInterface | assign(string $key, object $value) |
| void | assignMultiple(array $values) |
| void | initializeView() |
Field Detail
$controllerContext
protected $controllerContext
Method Detail
assign
public Tx_Extbase_MVC_View_ViewInterface assign(string $key, object $value)
Add a variable to $this->viewData.
Can be chained, so $this->view->assign(..., ...)->assign(..., ...); is possible,
Parameters
$key - Key of variable
$value - Value of object
$value - Value of object
assignMultiple
initializeView
public void initializeView()
Initializes this view.
Override this method for initializing your concrete view implementation.