TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ControllerContext Class Reference

Public Member Functions

 injectFlashMessageService (\TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService)
 
 injectExtensionService (\TYPO3\CMS\Extbase\Service\ExtensionService $extensionService)
 
 setRequest (\TYPO3\CMS\Extbase\Mvc\Request $request)
 
 getRequest ()
 
 setResponse (\TYPO3\CMS\Extbase\Mvc\Response $response)
 
 getResponse ()
 
 setArguments (\TYPO3\CMS\Extbase\Mvc\Controller\Arguments $arguments)
 
 getArguments ()
 
 setUriBuilder (\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder $uriBuilder)
 
 getUriBuilder ()
 
 getFlashMessageQueue ($identifier=null)
 

Protected Attributes

 $request
 
 $response
 
 $arguments
 
 $uriBuilder
 
 $flashMessageQueueDefaultIdentifier
 
 $flashMessageService
 
 $extensionService
 

Detailed Description

The controller context contains information from the controller

http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later

Definition at line 23 of file ControllerContext.php.

Member Function Documentation

getArguments ( )

Get the arguments of the controller

Returns

Definition at line 137 of file ControllerContext.php.

References ControllerContext\$arguments.

getFlashMessageQueue (   $identifier = null)
Parameters
string$identifierQueue-identifier
Returns

Definition at line 165 of file ControllerContext.php.

References ControllerContext\$flashMessageQueueDefaultIdentifier.

getRequest ( )

Get the request of the controller

Returns

Definition at line 93 of file ControllerContext.php.

References ControllerContext\$request.

Referenced by TemplateView\canRender().

getResponse ( )

Get the response of the controller

Returns

Definition at line 115 of file ControllerContext.php.

References ControllerContext\$response.

getUriBuilder ( )
Returns

Definition at line 155 of file ControllerContext.php.

References ControllerContext\$uriBuilder.

injectExtensionService ( \TYPO3\CMS\Extbase\Service\ExtensionService  $extensionService)
Parameters
\TYPO3\CMS\Extbase\Service\ExtensionService$extensionService

Definition at line 71 of file ControllerContext.php.

References ControllerContext\$extensionService.

injectFlashMessageService ( \TYPO3\CMS\Core\Messaging\FlashMessageService  $flashMessageService)
Parameters
\TYPO3\CMS\Core\Messaging\FlashMessageService$flashMessageService

Definition at line 63 of file ControllerContext.php.

References ControllerContext\$flashMessageService.

setArguments ( \TYPO3\CMS\Extbase\Mvc\Controller\Arguments  $arguments)

Set the arguments of the controller

Parameters
\TYPO3\CMS\Extbase\Mvc\Controller\Arguments$arguments
Returns
void

Definition at line 126 of file ControllerContext.php.

References ControllerContext\$arguments.

setRequest ( \TYPO3\CMS\Extbase\Mvc\Request  $request)

Set the request of the controller

Parameters
\TYPO3\CMS\Extbase\Mvc\Request$request
Returns
void

Definition at line 82 of file ControllerContext.php.

References ControllerContext\$request.

Referenced by FormRuntime\getControllerContext().

setResponse ( \TYPO3\CMS\Extbase\Mvc\Response  $response)

Set the response of the controller

Parameters
\TYPO3\CMS\Extbase\Mvc\Response$response
Returns
void

Definition at line 104 of file ControllerContext.php.

References ControllerContext\$response.

setUriBuilder ( \TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder  $uriBuilder)
Parameters
\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder$uriBuilder
Returns
void

Definition at line 146 of file ControllerContext.php.

References ControllerContext\$uriBuilder.

Member Data Documentation

$arguments
protected
$extensionService
protected

Definition at line 58 of file ControllerContext.php.

Referenced by ControllerContext\injectExtensionService().

$flashMessageQueueDefaultIdentifier
protected

Definition at line 48 of file ControllerContext.php.

Referenced by ControllerContext\getFlashMessageQueue().

$flashMessageService
protected

Definition at line 53 of file ControllerContext.php.

Referenced by ControllerContext\injectFlashMessageService().

$request
protected
$response
protected
$uriBuilder
protected