TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Mvc\ResponseInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\ResponseInterface:
Tx_Extbase_MVC_ResponseInterface TYPO3\CMS\Extbase\Mvc\Response Tx_Extbase_MVC_Response TYPO3\CMS\Extbase\Mvc\Cli\Response TYPO3\CMS\Extbase\Mvc\Web\Response Tx_Extbase_MVC_CLI_Response Tx_Extbase_MVC_Web_Response

Public Member Functions

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

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! A generic and very basic response implementation

Definition at line 21 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.