![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct () | |
get ($ajaxWidgetId) | |
store (\TYPO3\CMS\Fluid\Core\Widget\WidgetContext $widgetContext) | |
Protected Member Functions | |
loadWidgetContexts () | |
storeWidgetContexts () | |
Protected Attributes | |
$widgetContexts = array() | |
$widgetContextsStorageKey = 'TYPO3\\CMS\\Fluid\\Core\\Widget\\AjaxWidgetContextHolder_widgetContexts' | |
This object stores the WidgetContext for the currently active widgets of the current user, to make sure the WidgetContext is available in Widget AJAX requests.
This class is only used internally by the widget framework.
Definition at line 30 of file AjaxWidgetContextHolder.php.
__construct | ( | ) |
Constructor
Definition at line 48 of file AjaxWidgetContextHolder.php.
References AjaxWidgetContextHolder\loadWidgetContexts().
get | ( | $ajaxWidgetId | ) |
Get the widget context for the given $ajaxWidgetId.
string | $ajaxWidgetId |
Definition at line 74 of file AjaxWidgetContextHolder.php.
|
protected |
Loads the windget contexts from the TYPO3 user session
Definition at line 58 of file AjaxWidgetContextHolder.php.
References $GLOBALS.
Referenced by AjaxWidgetContextHolder\__construct().
store | ( | \TYPO3\CMS\Fluid\Core\Widget\WidgetContext | $widgetContext | ) |
Stores the WidgetContext inside the Context, and sets the AjaxWidgetIdentifier inside the Widget Context correctly.
\TYPO3\CMS\Fluid\Core\Widget\WidgetContext | $widgetContext |
Definition at line 89 of file AjaxWidgetContextHolder.php.
References AjaxWidgetContextHolder\storeWidgetContexts().
|
protected |
Persists the widget contexts in the TYPO3 user session
Definition at line 102 of file AjaxWidgetContextHolder.php.
References $GLOBALS, and AjaxWidgetContextHolder\$widgetContextsStorageKey.
Referenced by AjaxWidgetContextHolder\store().
|
protected |
Definition at line 38 of file AjaxWidgetContextHolder.php.
|
protected |
Definition at line 43 of file AjaxWidgetContextHolder.php.
Referenced by AjaxWidgetContextHolder\storeWidgetContexts().