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

This class is only used internally by the widget framework.
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$nextFreeAjaxWidgetId integer Counter which points to the next free Ajax Widget ID which can be used.
$widgetContexts array An array $ajaxWidgetIdentifier => $widgetContext which stores the widget context.

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

Метод Описание
get ( integer $ajaxWidgetId ) : WidgetContext Get the widget context for the given $ajaxWidgetId.
store ( WidgetContext $widgetContext ) : void Stores the WidgetContext inside the Context, and sets the AjaxWidgetIdentifier inside the Widget Context correctly.

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

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

Get the widget context for the given $ajaxWidgetId.
public get ( integer $ajaxWidgetId ) : WidgetContext
$ajaxWidgetId integer
Результат WidgetContext

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

Stores the WidgetContext inside the Context, and sets the AjaxWidgetIdentifier inside the Widget Context correctly.
public store ( WidgetContext $widgetContext ) : void
$widgetContext WidgetContext
Результат void

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

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

Counter which points to the next free Ajax Widget ID which can be used.
protected int $nextFreeAjaxWidgetId
Результат integer

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

An array $ajaxWidgetIdentifier => $widgetContext which stores the widget context.
protected array $widgetContexts
Результат array