TYPO3 CMS  TYPO3_7-6
RenderingContext.php
Go to the documentation of this file.
1 <?php
3 
4 /* *
5  * This script is backported from the TYPO3 Flow package "TYPO3.Fluid". *
6  * *
7  * It is free software; you can redistribute it and/or modify it under *
8  * the terms of the GNU Lesser General Public License, either version 3 *
9  * of the License, or (at your option) any later version. *
10  * *
11  * The TYPO3 project - inspiring people to share! *
12  * */
13 
15 {
22 
29  protected $objectManager;
30 
36  protected $controllerContext;
37 
44 
48  public function injectObjectManager(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
49  {
50  $this->objectManager = $objectManager;
51  }
52 
56  public function injectViewHelperVariableContainer(\TYPO3\CMS\Fluid\Core\ViewHelper\ViewHelperVariableContainer $viewHelperVariableContainer)
57  {
58  $this->viewHelperVariableContainer = $viewHelperVariableContainer;
59  }
60 
66  public function getObjectManager()
67  {
68  return $this->objectManager;
69  }
70 
77  public function injectTemplateVariableContainer(\TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer $templateVariableContainer)
78  {
79  $this->templateVariableContainer = $templateVariableContainer;
80  }
81 
87  public function getTemplateVariableContainer()
88  {
90  }
91 
97  public function setControllerContext(\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext)
98  {
99  $this->controllerContext = $controllerContext;
100  }
101 
107  public function getControllerContext()
108  {
110  }
111 
118  {
120  }
121 }
injectViewHelperVariableContainer(\TYPO3\CMS\Fluid\Core\ViewHelper\ViewHelperVariableContainer $viewHelperVariableContainer)
injectObjectManager(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
injectTemplateVariableContainer(\TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer $templateVariableContainer)
setControllerContext(\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext)