Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Elgg
Http
ErrorResponse
PHP Class Elgg\Http\ErrorResponse
Inheritance:
extends
OkResponse
Show file
Open project: elgg/elgg
Public Methods
Method
Description
__construct
(
string
$error
= '',
integer
$status_code
= ELGG_HTTP_OK,
string
$forward_url
= REFERRER )
Constructor
Method Details
__construct()
public
method
Constructor
See also:
elgg_error_response
public
__construct
(
string
$error
= '',
integer
$status_code
= ELGG_HTTP_OK,
string
$forward_url
= REFERRER )
$error
string
Error message
$status_code
integer
HTTP status code
$forward_url
string
Forward url