59 $this->widgetContexts = unserialize(
$GLOBALS[
'TSFE']->fe_user->getKey(
'ses', $this->widgetContextsStorageKey));
61 $this->widgetContexts = unserialize(
$GLOBALS[
'BE_USER']->uc[$this->widgetContextsStorageKey]);
72 public function get($ajaxWidgetId) {
73 if (!isset($this->widgetContexts[$ajaxWidgetId])) {
74 throw new \TYPO3\CMS\Fluid\Core\Widget\Exception\WidgetContextNotFoundException(
'No widget context was found for the Ajax Widget Identifier "' . $ajaxWidgetId .
'". This only happens if AJAX URIs are called without including the widget on a page.', 1284793775);
76 return $this->widgetContexts[$ajaxWidgetId];
87 $ajaxWidgetId = md5(uniqid(mt_rand(), TRUE));
88 $widgetContext->setAjaxWidgetIdentifier($ajaxWidgetId);
89 $this->widgetContexts[$ajaxWidgetId] = $widgetContext;
100 $GLOBALS[
'TSFE']->fe_user->setKey(
'ses', $this->widgetContextsStorageKey, serialize($this->widgetContexts));
101 $GLOBALS[
'TSFE']->fe_user->storeSessionData();
$widgetContextsStorageKey
store(\TYPO3\CMS\Fluid\Core\Widget\WidgetContext $widgetContext)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]