TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Extbase\Mvc\ResponseInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\ResponseInterface:
TYPO3\CMS\Extbase\Mvc\Response TYPO3\CMS\Extbase\Mvc\Cli\Response TYPO3\CMS\Extbase\Mvc\Web\Response

Public Member Functions

 setContent ($content)
 
 appendContent ($content)
 
 getContent ()
 
 shutdown ()
 

Detailed Description

A generic and very basic response implementation

Definition at line 22 of file ResponseInterface.php.

Member Function Documentation

◆ appendContent()

TYPO3\CMS\Extbase\Mvc\ResponseInterface::appendContent (   $content)

Appends content to the already existing content.

Parameters
string$contentMore response content
Returns
void

Implemented in TYPO3\CMS\Extbase\Mvc\Response.

◆ getContent()

TYPO3\CMS\Extbase\Mvc\ResponseInterface::getContent ( )

Returns the response content without sending it.

Returns
string The response content

Implemented in TYPO3\CMS\Extbase\Mvc\Response.

◆ setContent()

TYPO3\CMS\Extbase\Mvc\ResponseInterface::setContent (   $content)

Overrides and sets the content of the response

Parameters
string$contentThe response content
Returns
void

Implemented in TYPO3\CMS\Extbase\Mvc\Response.

◆ shutdown()

TYPO3\CMS\Extbase\Mvc\ResponseInterface::shutdown ( )

Returns the response content without sending it.

Returns
string The response content

Implemented in TYPO3\CMS\Extbase\Mvc\Web\Response, and TYPO3\CMS\Extbase\Mvc\Response.