AdminLayoutHttpControllerResponse

Extends \HttpControllerResponse

Class AdminLayoutHttpControllerResponse

This class will be used for rendering the new Admin pages which must be explicitly written in templates. These templates can extend any of the existing admin layouts by themselves.

Child controllers can you the "init" method to initialize their dependencies

category

System

package

Http

extends

HttpControllerResponse

Methods

Initializes the http controller response.

__construct(string $responseBody, array $responseHeadersArray = null) 
inherited

Arguments

$responseBody

string

Rendered html markup.

$responseHeadersArray

array

Array which contains information about the http response headers.

Returns the response body string.

getBody() : string
inherited

Response

string

Returns the response headers array.

getHeaders() : array
inherited

Response

array

Properties