‪TYPO3CMS  10.4
WidgetContext.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
18 use TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\RootNode;
19 use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
20 
33 {
39  protected ‪$widgetIdentifier;
40 
46  protected ‪$ajaxWidgetIdentifier;
47 
54  protected ‪$widgetConfiguration;
55 
61  protected ‪$controllerObjectName;
62 
69  protected ‪$viewHelperChildNodes;
70 
79 
83  protected ‪$parentPluginNamespace;
84 
89 
94 
99 
103  public function ‪getWidgetIdentifier()
104  {
106  }
107 
112  {
113  $this->widgetIdentifier = ‪$widgetIdentifier;
114  }
115 
119  public function ‪getAjaxWidgetIdentifier()
120  {
122  }
123 
128  {
129  $this->ajaxWidgetIdentifier = ‪$ajaxWidgetIdentifier;
130  }
131 
138  {
139  $this->parentPluginNamespace = ‪$parentPluginNamespace;
140  }
141 
147  public function ‪getParentPluginNamespace()
148  {
150  }
151 
158  {
159  $this->parentExtensionName = ‪$parentExtensionName;
160  }
161 
167  public function ‪getParentExtensionName()
168  {
170  }
171 
178  {
179  $this->parentPluginName = ‪$parentPluginName;
180  }
181 
187  public function ‪getParentPluginName()
188  {
190  }
191 
198  {
199  $this->widgetViewHelperClassName = ‪$widgetViewHelperClassName;
200  }
201 
207  public function ‪getWidgetViewHelperClassName()
208  {
210  }
211 
215  public function ‪getWidgetConfiguration()
216  {
218  }
219 
224  {
225  $this->widgetConfiguration = ‪$widgetConfiguration;
226  }
227 
231  public function ‪getControllerObjectName()
232  {
234  }
235 
240  {
241  $this->controllerObjectName = ‪$controllerObjectName;
242  }
243 
248  public function ‪setViewHelperChildNodes(RootNode ‪$viewHelperChildNodes, RenderingContextInterface ‪$viewHelperChildNodeRenderingContext)
249  {
250  $this->viewHelperChildNodes = ‪$viewHelperChildNodes;
251  $this->viewHelperChildNodeRenderingContext = ‪$viewHelperChildNodeRenderingContext;
252  }
253 
257  public function ‪getViewHelperChildNodes()
258  {
260  }
261 
266  {
268  }
269 
273  public function ‪__sleep()
274  {
275  return ['widgetIdentifier', 'ajaxWidgetIdentifier', 'widgetConfiguration', 'controllerObjectName', 'parentPluginNamespace', 'parentExtensionName', 'parentPluginName', 'widgetViewHelperClassName'];
276  }
277 }
‪TYPO3\CMS\Fluid\Core\Widget
Definition: AbstractWidgetController.php:16
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\getViewHelperChildNodes
‪TYPO3Fluid Fluid Core Parser SyntaxTree RootNode getViewHelperChildNodes()
Definition: WidgetContext.php:247
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\setViewHelperChildNodes
‪setViewHelperChildNodes(RootNode $viewHelperChildNodes, RenderingContextInterface $viewHelperChildNodeRenderingContext)
Definition: WidgetContext.php:238
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\getParentPluginNamespace
‪string getParentPluginNamespace()
Definition: WidgetContext.php:137
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\getWidgetViewHelperClassName
‪string getWidgetViewHelperClassName()
Definition: WidgetContext.php:197
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\$widgetIdentifier
‪string $widgetIdentifier
Definition: WidgetContext.php:38
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\__sleep
‪array __sleep()
Definition: WidgetContext.php:263
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\setWidgetConfiguration
‪setWidgetConfiguration($widgetConfiguration)
Definition: WidgetContext.php:213
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\setAjaxWidgetIdentifier
‪setAjaxWidgetIdentifier($ajaxWidgetIdentifier)
Definition: WidgetContext.php:117
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\setWidgetViewHelperClassName
‪setWidgetViewHelperClassName($widgetViewHelperClassName)
Definition: WidgetContext.php:187
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\getWidgetIdentifier
‪string getWidgetIdentifier()
Definition: WidgetContext.php:93
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\$viewHelperChildNodes
‪TYPO3Fluid Fluid Core Parser SyntaxTree RootNode $viewHelperChildNodes
Definition: WidgetContext.php:64
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\setParentPluginName
‪setParentPluginName($parentPluginName)
Definition: WidgetContext.php:167
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\getControllerObjectName
‪string getControllerObjectName()
Definition: WidgetContext.php:221
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\$parentExtensionName
‪string $parentExtensionName
Definition: WidgetContext.php:80
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\setWidgetIdentifier
‪setWidgetIdentifier($widgetIdentifier)
Definition: WidgetContext.php:101
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\setParentExtensionName
‪setParentExtensionName($parentExtensionName)
Definition: WidgetContext.php:147
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\getWidgetConfiguration
‪array getWidgetConfiguration()
Definition: WidgetContext.php:205
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\$viewHelperChildNodeRenderingContext
‪TYPO3Fluid Fluid Core Rendering RenderingContextInterface $viewHelperChildNodeRenderingContext
Definition: WidgetContext.php:72
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\getParentPluginName
‪string getParentPluginName()
Definition: WidgetContext.php:177
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\getAjaxWidgetIdentifier
‪string getAjaxWidgetIdentifier()
Definition: WidgetContext.php:109
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\$controllerObjectName
‪string $controllerObjectName
Definition: WidgetContext.php:57
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\$widgetViewHelperClassName
‪string $widgetViewHelperClassName
Definition: WidgetContext.php:88
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\$ajaxWidgetIdentifier
‪string $ajaxWidgetIdentifier
Definition: WidgetContext.php:44
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\setParentPluginNamespace
‪setParentPluginNamespace($parentPluginNamespace)
Definition: WidgetContext.php:127
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\$parentPluginName
‪string $parentPluginName
Definition: WidgetContext.php:84
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\getParentExtensionName
‪string getParentExtensionName()
Definition: WidgetContext.php:157
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\setControllerObjectName
‪setControllerObjectName($controllerObjectName)
Definition: WidgetContext.php:229
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\$widgetConfiguration
‪array $widgetConfiguration
Definition: WidgetContext.php:51
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext
Definition: WidgetContext.php:33
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\getViewHelperChildNodeRenderingContext
‪TYPO3Fluid Fluid Core Rendering RenderingContextInterface getViewHelperChildNodeRenderingContext()
Definition: WidgetContext.php:255
‪TYPO3\CMS\Fluid\Core\Widget\WidgetContext\$parentPluginNamespace
‪string $parentPluginNamespace
Definition: WidgetContext.php:76