PHP Класс FluidTYPO3\Vhs\ViewHelpers\Render\RequestViewHelper

Renders a sub-request to the desired Extension, Plugin, Controller and action with the desired arguments. Note: arguments must not be wrapped with the prefix used in GET/POST parameters but must be provided as if the arguments were sent directly to the Controller action.
Наследование: extends AbstractRenderViewHelper
Показать файл Открыть проект

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

Свойство Тип Описание
$dispatcher TYPO3\CMS\Extbase\Mvc\Dispatcher
$requestType string
$responseType string

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

Метод Описание
injectDispatcher ( TYPO3\CMS\Extbase\Mvc\Dispatcher $dispatcher ) : void
render ( string | null $action = null, string | null $controller = null, string | null $extensionName = null, string | null $pluginName = null, string | null $vendorName = null, array $arguments = [] ) : TYPO3\CMS\Extbase\Mvc\ResponseInterface Dispatch Request

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

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

public injectDispatcher ( TYPO3\CMS\Extbase\Mvc\Dispatcher $dispatcher ) : void
$dispatcher TYPO3\CMS\Extbase\Mvc\Dispatcher
Результат void

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

Dispatches (as a completely new Request) a Request that will execute a configured Plugin->Controller->action() which means that the Plugin, Controller and Action you use must be allowed by the plugin configuration of the target controller.
public render ( string | null $action = null, string | null $controller = null, string | null $extensionName = null, string | null $pluginName = null, string | null $vendorName = null, array $arguments = [] ) : TYPO3\CMS\Extbase\Mvc\ResponseInterface
$action string | null
$controller string | null
$extensionName string | null
$pluginName string | null
$vendorName string | null
$arguments array
Результат TYPO3\CMS\Extbase\Mvc\ResponseInterface

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

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

protected Dispatcher,TYPO3\CMS\Extbase\Mvc $dispatcher
Результат TYPO3\CMS\Extbase\Mvc\Dispatcher

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

protected string $requestType
Результат string

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

protected string $responseType
Результат string