PHP Класс Neos\Flow\Tests\Functional\Mvc\ViewsConfiguration\Fixtures\TemplateView

Наследование: extends Neos\Flow\Mvc\View\AbstractView
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$supportedOptions array

Открытые методы

Метод Описание
__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

Описание методов

__call() публичный Метод

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
Результат void

assign() публичный Метод

Dummy method to satisfy the ViewInterface
public assign ( string $key, mixed $value ) : Neos\Flow\Mvc\View\EmptyView
$key string
$value mixed
Результат Neos\Flow\Mvc\View\EmptyView instance of $this to allow chaining

assignMultiple() публичный Метод

Dummy method to satisfy the ViewInterface
public assignMultiple ( array $values ) : Neos\Flow\Mvc\View\EmptyView
$values array
Результат Neos\Flow\Mvc\View\EmptyView instance of $this to allow chaining

canRender() публичный Метод

This view can be used in any case.
public canRender ( ControllerContext $controllerContext ) : boolean
$controllerContext Neos\Flow\Mvc\Controller\ControllerContext
Результат boolean TRUE

render() публичный Метод

Renders the empty view
public render ( ) : string
Результат string An empty string

setControllerContext() публичный Метод

Dummy method to satisfy the ViewInterface
public setControllerContext ( ControllerContext $controllerContext ) : void
$controllerContext Neos\Flow\Mvc\Controller\ControllerContext
Результат void

Описание свойств

$supportedOptions защищенное свойство

protected array $supportedOptions
Результат array