PHP Class Neos\Flow\Tests\Functional\Mvc\ViewsConfiguration\Fixtures\TemplateView

Inheritance: extends Neos\Flow\Mvc\View\AbstractView
Datei anzeigen Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$supportedOptions array

Public Methods

Method Description
__call ( string $methodName, array $arguments ) : void A magic call method.
assign ( string $key, mixed $value ) : Neos\Flow\Mvc\View\EmptyView Dummy method to satisfy the ViewInterface
assignMultiple ( array $values ) : Neos\Flow\Mvc\View\EmptyView Dummy method to satisfy the ViewInterface
canRender ( ControllerContext $controllerContext ) : boolean This view can be used in any case.
render ( ) : string Renders the empty view
setControllerContext ( ControllerContext $controllerContext ) : void Dummy method to satisfy the ViewInterface

Method Details

__call() public method

Because this empty view is used as a Special Case in situations when no matching view is available, it must be able to handle method calls which originally were directed to another type of view. This magic method should prevent PHP from issuing a fatal error.
public __call ( string $methodName, array $arguments ) : void
$methodName string Name of the method
$arguments array Arguments passed to the method
return void

assign() public method

Dummy method to satisfy the ViewInterface
public assign ( string $key, mixed $value ) : Neos\Flow\Mvc\View\EmptyView
$key string
$value mixed
return Neos\Flow\Mvc\View\EmptyView instance of $this to allow chaining

assignMultiple() public method

Dummy method to satisfy the ViewInterface
public assignMultiple ( array $values ) : Neos\Flow\Mvc\View\EmptyView
$values array
return Neos\Flow\Mvc\View\EmptyView instance of $this to allow chaining

canRender() public method

This view can be used in any case.
public canRender ( ControllerContext $controllerContext ) : boolean
$controllerContext Neos\Flow\Mvc\Controller\ControllerContext
return boolean TRUE

render() public method

Renders the empty view
public render ( ) : string
return string An empty string

setControllerContext() public method

Dummy method to satisfy the ViewInterface
public setControllerContext ( ControllerContext $controllerContext ) : void
$controllerContext Neos\Flow\Mvc\Controller\ControllerContext
return void

Property Details

$supportedOptions protected_oe property

protected array $supportedOptions
return array