API16

JResponse

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Defined in

libraries/joomla/environment/response.php

Methods

Method name Description
allowCache Set/get cachable state for the response.
setHeader Set a header
clearHeaders Clear headers.
sendHeaders Send all headers.
setBody Set body content.
getBody Return the body content
toString Sends all headers prior to returning the string
getHeaders Return array of headers.
prependBody Prepend content to the body content
appendBody Append content to the body content

Importing

jimport( 'joomla.environment.response' );



Examples

Code Examples


Advertisement