PHP Class 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.
Inheritance: extends AbstractRenderViewHelper
Afficher le fichier Open project: fluidtypo3/vhs

Protected Properties

Свойство Type Description
$dispatcher TYPO3\CMS\Extbase\Mvc\Dispatcher
$requestType string
$responseType string

Méthodes publiques

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

Method Details

injectDispatcher() public méthode

public injectDispatcher ( TYPO3\CMS\Extbase\Mvc\Dispatcher $dispatcher ) : void
$dispatcher TYPO3\CMS\Extbase\Mvc\Dispatcher
Résultat void

render() public méthode

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
Résultat TYPO3\CMS\Extbase\Mvc\ResponseInterface

Property Details

$dispatcher protected_oe property

protected Dispatcher,TYPO3\CMS\Extbase\Mvc $dispatcher
Résultat TYPO3\CMS\Extbase\Mvc\Dispatcher

$requestType protected_oe property

protected string $requestType
Résultat string

$responseType protected_oe property

protected string $responseType
Résultat string