TYPO3  7.6
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
DummyController Class Reference

Public Member Functions

 __construct ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 
 main ()
 
 printContent ()
 

Public Attributes

 $content
 

Protected Member Functions

 getDocumentTemplate ()
 

Detailed Description

Script Class, creating the content for the dummy script - which is just blank output.

Definition at line 24 of file DummyController.php.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 34 of file DummyController.php.

References $GLOBALS.

Member Function Documentation

getDocumentTemplate ( )
protected

Returns an instance of DocumentTemplate

Returns

Definition at line 85 of file DummyController.php.

References $GLOBALS.

Referenced by DummyController\main().

main ( )

Create content for the dummy script - outputting a blank page.

Returns
void

Definition at line 60 of file DummyController.php.

References DummyController\getDocumentTemplate().

Referenced by DummyController\mainAction().

mainAction ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Injects the request object for the current request or subrequest As this controller goes only through the main() method, it is rather simple for now

Parameters
ServerRequestInterface$requestthe current request
ResponseInterface$response
Returns
ResponseInterface the response with the content

Definition at line 47 of file DummyController.php.

References $response, MessageInterface\getBody(), and DummyController\main().

printContent ( )

Outputting the accumulated content to screen

Returns
void
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8, use mainAction() instead

Definition at line 74 of file DummyController.php.

References DummyController\$content, and GeneralUtility\logDeprecatedFunction().

Member Data Documentation

$content

Definition at line 29 of file DummyController.php.

Referenced by DummyController\printContent().