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

Inheritance: extends Neos\Flow\Mvc\View\AbstractView
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$supportedOptions array

Méthodes publiques

Méthode 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 méthode

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
Résultat void

assign() public méthode

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

assignMultiple() public méthode

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

canRender() public méthode

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

render() public méthode

Renders the empty view
public render ( ) : string
Résultat string An empty string

setControllerContext() public méthode

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

Property Details

$supportedOptions protected_oe property

protected array $supportedOptions
Résultat array