TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\Controller\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()

TYPO3\CMS\Backend\Controller\DummyController::__construct ( )

Constructor

Definition at line 34 of file DummyController.php.

References $GLOBALS.

Member Function Documentation

◆ getDocumentTemplate()

TYPO3\CMS\Backend\Controller\DummyController::getDocumentTemplate ( )
protected

Returns an instance of DocumentTemplate

Returns

Definition at line 85 of file DummyController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Controller\DummyController\main().

◆ main()

TYPO3\CMS\Backend\Controller\DummyController::main ( )

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

Returns
void

Definition at line 60 of file DummyController.php.

References TYPO3\CMS\Backend\Controller\DummyController\getDocumentTemplate().

Referenced by TYPO3\CMS\Backend\Controller\DummyController\mainAction().

◆ mainAction()

TYPO3\CMS\Backend\Controller\DummyController::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 TYPO3\CMS\Backend\Controller\DummyController\main().

◆ printContent()

TYPO3\CMS\Backend\Controller\DummyController::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 TYPO3\CMS\Backend\Controller\DummyController\$content, and TYPO3\CMS\Core\Utility\GeneralUtility\logDeprecatedFunction().

Member Data Documentation

◆ $content

TYPO3\CMS\Backend\Controller\DummyController::$content