20 if ($status_code < 100 || $status_code > 599) {
__construct($error='', int $status_code=ELGG_HTTP_BAD_REQUEST, string $forward_url=REFERRER)
Constructor.
setForwardURL(string $forward_url=REFERRER)
{Sets redirect URL.Forward URL self }
setContent($content='')
{Sets response body.Content of the response as a scalar value or an array self }
setStatusCode(int $status_code)
{Sets response HTTP status code.Status code self }
const ELGG_HTTP_INTERNAL_SERVER_ERROR
const ELGG_HTTP_BAD_REQUEST
const REFERRER
Used in calls to forward() to specify the browser should be redirected to the referring page.