TYPO3  7.6
Public Member Functions | List of all members
StandaloneView Class Reference
Inheritance diagram for StandaloneView:
StandaloneView AbstractTemplateView ViewInterface

Public Member Functions

 __construct ()
 
- Public Member Functions inherited from StandaloneView
 setFormat ($format)
 
 getFormat ()
 
 getRequest ()
 
 setTemplatePathAndFilename ($templatePathAndFilename)
 
 getTemplatePathAndFilename ()
 
 setTemplateSource ($templateSource)
 
 setTemplateRootPaths (array $templateRootPaths)
 
 setTemplate ($templateName)
 
 setLayoutRootPath ($layoutRootPath)
 
 setLayoutRootPaths (array $layoutRootPaths)
 
 getLayoutRootPath ()
 
 getLayoutRootPaths ()
 
 setPartialRootPath ($partialRootPath)
 
 getPartialRootPath ()
 
 setPartialRootPaths (array $partialRootPaths)
 
 getPartialRootPaths ()
 
 hasTemplate ()
 
- Public Member Functions inherited from AbstractTemplateView
 injectTemplateCompiler (\TYPO3\CMS\Fluid\Core\Compiler\TemplateCompiler $templateCompiler)
 
 setRenderingContext (\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
 setControllerContext (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext)
 
 initializeView ()
 
 assign ($key, $value)
 
 assignMultiple (array $values)
 
 render ($actionName=null)
 
 renderSection ($sectionName, array $variables, $ignoreUnknown=false)
 
 renderPartial ($partialName, $sectionName, array $variables)
 
 canRender (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext)
 
- Public Member Functions inherited from ViewInterface
 setControllerContext (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext)
 
 canRender (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext)
 
 render ()
 

Additional Inherited Members

- Public Attributes inherited from AbstractTemplateView
const RENDERING_TEMPLATE = 1
 
const RENDERING_PARTIAL = 2
 
const RENDERING_LAYOUT = 3
 
- Protected Member Functions inherited from StandaloneView
 getTemplateIdentifier ($actionName=null)
 
 getTemplateSource ($actionName=null)
 
 getLayoutIdentifier ($layoutName= 'Default')
 
 getLayoutSource ($layoutName= 'Default')
 
 getLayoutPathAndFilename ($layoutName= 'Default')
 
 getPartialIdentifier ($partialName)
 
 getPartialSource ($partialName)
 
 getPartialPathAndFilename ($partialName)
 
 buildListOfTemplateCandidates ($templateName, array $paths, $format)
 
 createIdentifierForFile ($pathAndFilename, $prefix)
 
 resolveFileNamePath ($pathAndFilename)
 
- Protected Attributes inherited from StandaloneView
 $templateSource = null
 
 $templatePathAndFilename = null
 
 $templateRootPaths = null
 
 $partialRootPaths = null
 
 $layoutRootPaths = null
 

Detailed Description

A standalone fluid view with reduced functionality for ext:install

In contrast to the parent class, this StandaloneView does not bootstrap a frontend, so some view helper like f:link will not work.

Definition at line 23 of file install/Classes/View/StandaloneView.php.

Constructor & Destructor Documentation

__construct ( )

Constructor

Constructor

Parameters
ContentObjectRenderer$contentObjectThe current cObject. If NULL a new instance will be created
Exceptions
\InvalidArgumentException
\UnexpectedValueException

Definition at line 28 of file install/Classes/View/StandaloneView.php.

References AbstractTemplateView\$controllerContext, GeneralUtility\getIndpEnv(), GeneralUtility\makeInstance(), AbstractTemplateView\setControllerContext(), and AbstractTemplateView\setRenderingContext().