5 use InvalidArgumentException;
$content
Set robots.txt action.
if(! $entity->delete()) $forward_url
HTTP response builder interface.
setStatusCode($status_code=ELGG_HTTP_OK)
Sets response HTTP status code.
isRedirection()
Check if response is redirection.
setHeaders(array $headers=[])
Sets additional response headers.
isSuccessful()
Check if response is successful.
getContent()
Returns response body.
setForwardURL($forward_url=REFERRER)
Sets redirect URL.
isInformational()
Check if response is informational.
getStatusCode()
Returns status code.
isOk()
Check if response is OK.
setContent($content='')
Sets response body.
getHeaders()
Returns additional response headers.
getForwardURL()
Returns redirect URL.
isNotModified()
Check if response has been modified.
isServerError()
Check if response is server error.
isClientError()
Check if response is client error.