TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response Class Reference

Public Member Functions

 __construct ($status, $content, $error)
 
 getStatus ()
 
 getContent ()
 
 getError ()
 
 getResponseContent ()
 
 getResponseSections ()
 

Public Attributes

const STATUS_Success = 'success'
 
const STATUS_Failure = 'failure'
 

Protected Attributes

 $status
 
 $content
 
 $error
 
 $responseSection
 

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! Model of frontend response

Definition at line 20 of file Response.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response::__construct (   $status,
  $content,
  $error 
)

Member Function Documentation

◆ getContent()

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response::getContent ( )

◆ getError()

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response::getError ( )
Returns
string

Definition at line 73 of file Response.php.

References TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response\$error.

◆ getResponseContent()

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response::getResponseContent ( )

◆ getResponseSections()

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response::getResponseSections ( )
Returns
NULL|array|ResponseSection[]

Definition at line 90 of file Response.php.

References TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response\getResponseContent().

◆ getStatus()

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response::getStatus ( )
Returns
string

Definition at line 59 of file Response.php.

References TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response\$status.

Member Data Documentation

◆ $content

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response::$content
protected

◆ $error

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response::$error
protected

◆ $responseSection

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response::$responseSection
protected

Definition at line 43 of file Response.php.

◆ $status

TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response::$status
protected

◆ STATUS_Failure

const TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response::STATUS_Failure = 'failure'

◆ STATUS_Success

const TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response::STATUS_Success = 'success'

Definition at line 22 of file Response.php.