Elgg  Version 2.3
ErrorResponse.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Http;
4 
8 class ErrorResponse extends OkResponse {
9 
20  parent::__construct($error, $status_code, $forward_url);
21  }
22 }
if(!$owner||!($owner instanceof ElggUser)||!$owner->canEdit()) $error
Definition: upload.php:14
Error response builder.
const REFERRER
Definition: elgglib.php:2113
__construct($error= '', $status_code=ELGG_HTTP_OK, $forward_url=REFERRER)
Constructor.
const ELGG_HTTP_OK
Definition: elgglib.php:2131
Response builder.
Definition: OkResponse.php:10