메소드 | 설명 | |
---|---|---|
assign ( string $key, mixed $value ) : Neos\Flow\Mvc\View\ViewInterface | Add a variable to the view data collection. | |
assignMultiple ( array $values ) : Neos\Flow\Mvc\View\ViewInterface | Add multiple variables to the view data collection | |
canRender ( |
Tells if the view implementation can render the view for the given context. | |
createWithOptions ( array $options ) : Neos\Flow\Mvc\View\ViewInterface | Factory method to create an instance with given options. | |
render ( ) : string | Renders the view | |
setControllerContext ( |
Sets the current controller context |
public assignMultiple ( array $values ) : Neos\Flow\Mvc\View\ViewInterface | ||
$values | array | array in the format array(key1 => value1, key2 => value2) |
리턴 | Neos\Flow\Mvc\View\ViewInterface | an instance of $this, to enable chaining |
public static createWithOptions ( array $options ) : Neos\Flow\Mvc\View\ViewInterface | ||
$options | array | |
리턴 | Neos\Flow\Mvc\View\ViewInterface |
public setControllerContext ( |
||
$controllerContext | Context of the controller associated with this view | |
리턴 | void |