Elgg  Version 3.0
RedirectResponse.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Http;
4 
8 class RedirectResponse extends OkResponse {
9 
19  parent::__construct('', $status_code, $forward_url);
20  }
21 }
__construct($forward_url=REFERRER, $status_code=ELGG_HTTP_FOUND)
Constructor.
const REFERRER
Definition: constants.php:42
const ELGG_HTTP_FOUND
Definition: constants.php:72
Redirect response builder.
Response builder.
Definition: OkResponse.php:10