Topics

Class Layout

Event dispatcher class

Namespace: Ip\Response

Constants:

integer DOCTYPE_XHTML1_STRICT 1
integer DOCTYPE_XHTML1_TRANSITIONAL 2
integer DOCTYPE_XHTML1_FRAMESET 3
integer DOCTYPE_HTML4_STRICT 4
integer DOCTYPE_HTML4_TRANSITIONAL 5
integer DOCTYPE_HTML4_FRAMESET 6
integer DOCTYPE_HTML5 7

Methods:

__construct( [ mixed $content = null ] , [ mixed $headers = null ] , [ mixed $statusCode = 200 ] )

Overrides

Ip\Response::__construct
string render( )

Returns rendered version of a content

Return values:

string

Overrides

Ip\Response::render
Ip\Response execute( )

Execute response and return html response

Return values:

Ip\Response
setLayout( mixed $layout )
getLayout( )
setLayoutVariable( mixed $name , mixed $value )
getLayoutVariables( )
getTitle( )
setTitle( mixed $title )
getKeywords( )
setKeywords( mixed $keywords )
getDescription( )
setDescription( mixed $description )
getFavicon( )
setFavicon( mixed $favicon )
getCharset( )
setCharset( mixed $charset )

Methods inherited from Ip\Response

addHeader(), getContent(), getHeaders(), getStatusCode(), isClientError(), isForbidden(), isInformational(), isNotFound(), isOk(), isRedirect(), isServerError(), isSuccess(), send(), setContent(), setStatusCode(), setStatusMessage()

See also

comments powered by Disqus