Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Http
ErrorResponse.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Http
;
4
8
class
ErrorResponse
extends
OkResponse
{
9
19
public
function
__construct
(
$error
=
''
,
$status_code
=
ELGG_HTTP_OK
,
$forward_url
=
REFERRER
) {
20
parent::__construct(
$error
,
$status_code
,
$forward_url
);
21
}
22
}
$error
if(!$owner||!($owner instanceof ElggUser)||!$owner->canEdit()) $error
Definition:
upload.php:14
Elgg\Http\OkResponse\$forward_url
$forward_url
Definition:
OkResponse.php:25
Elgg\Http\ErrorResponse
Error response builder.
Definition:
ErrorResponse.php:8
REFERRER
const REFERRER
Definition:
elgglib.php:2113
Elgg\Http\ErrorResponse\__construct
__construct($error= '', $status_code=ELGG_HTTP_OK, $forward_url=REFERRER)
Constructor.
Definition:
ErrorResponse.php:19
Elgg\Http\OkResponse\$status_code
$status_code
Definition:
OkResponse.php:20
Elgg\Http
Definition:
DatabaseSessionHandler.php:2
ELGG_HTTP_OK
const ELGG_HTTP_OK
Definition:
elgglib.php:2131
Elgg\Http\OkResponse
Response builder.
Definition:
OkResponse.php:10
Generated on Sat Dec 21 2024 00:01:03 for Elgg by
1.8.11