PHP Class Neos\FluidAdaptor\Core\Widget\AjaxWidgetContextHolder

This class is only used internally by the widget framework.
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$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.

Méthodes publiques

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

Method Details

get() public méthode

Get the widget context for the given $ajaxWidgetId.
public get ( integer $ajaxWidgetId ) : WidgetContext
$ajaxWidgetId integer
Résultat WidgetContext

store() public méthode

Stores the WidgetContext inside the Context, and sets the AjaxWidgetIdentifier inside the Widget Context correctly.
public store ( WidgetContext $widgetContext ) : void
$widgetContext WidgetContext
Résultat void

Property Details

$nextFreeAjaxWidgetId protected_oe property

Counter which points to the next free Ajax Widget ID which can be used.
protected int $nextFreeAjaxWidgetId
Résultat integer

$widgetContexts protected_oe property

An array $ajaxWidgetIdentifier => $widgetContext which stores the widget context.
protected array $widgetContexts
Résultat array