PHP Класс Neos\FluidAdaptor\Core\Widget\AjaxWidgetComponent

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

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

Свойство Тип Описание
$ajaxWidgetContextHolder AjaxWidgetContextHolder
$hashService Neos\Flow\Security\Cryptography\HashService

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

Метод Описание
handle ( ComponentContext $componentContext ) : void Check if the current request contains a widget context.

Защищенные методы

Метод Описание
extractWidgetContext ( Request $httpRequest ) : WidgetContext Extracts the WidgetContext from the given $httpRequest.

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

extractWidgetContext() защищенный Метод

If the request contains an argument "__widgetId" the context is fetched from the session (AjaxWidgetContextHolder). Otherwise the argument "__widgetContext" is expected to contain the serialized WidgetContext (protected by a HMAC suffix)
protected extractWidgetContext ( Request $httpRequest ) : WidgetContext
$httpRequest Neos\Flow\Http\Request
Результат WidgetContext

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

If so dispatch it directly, otherwise continue with the next HTTP component.
public handle ( ComponentContext $componentContext ) : void
$componentContext Neos\Flow\Http\Component\ComponentContext
Результат void

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

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

protected AjaxWidgetContextHolder,Neos\FluidAdaptor\Core\Widget $ajaxWidgetContextHolder
Результат AjaxWidgetContextHolder

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

protected HashService,Neos\Flow\Security\Cryptography $hashService
Результат Neos\Flow\Security\Cryptography\HashService