TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
typo3
sysext
fluid
Classes
Core
Rendering
RenderingContext.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Fluid\Core\Rendering;
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
14
class
RenderingContext
implements
\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface
15
{
21
protected
$templateVariableContainer
;
22
30
protected
$objectManager
;
31
37
protected
$controllerContext
;
38
45
protected
$viewHelperVariableContainer
;
46
52
public
function
getObjectManager
()
53
{
54
return
$this->objectManager
;
55
}
56
63
public
function
injectTemplateVariableContainer
(\TYPO3\CMS\
Fluid
\Core\ViewHelper\TemplateVariableContainer
$templateVariableContainer
)
64
{
65
$this->templateVariableContainer =
$templateVariableContainer
;
66
}
67
73
public
function
getTemplateVariableContainer
()
74
{
75
return
$this->templateVariableContainer
;
76
}
77
83
public
function
setControllerContext
(\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext
$controllerContext
)
84
{
85
$this->controllerContext =
$controllerContext
;
86
}
87
93
public
function
getControllerContext
()
94
{
95
return
$this->controllerContext
;
96
}
97
103
public
function
getViewHelperVariableContainer
()
104
{
105
return
$this->viewHelperVariableContainer
;
106
}
107
}
Generated on Wed Nov 11 2015 01:52:02 for TYPO3 by
1.8.3