This result type is used to force an external redirect
Source for this file: /MvcTools/src/result_types/external_redirect.php
Version: | //autogentag// |
public string |
$location
The location where to re-direct to. |
public ezcMvcExternalRedirect |
__construct(
[ $location
= '/'] )
Constructs an ezcMvcExternalRedirect object to re-direct to $location |
public void |
process(
$writer
)
Uses the passed in $writer to set the proper location header. |
Constructs an ezcMvcExternalRedirect object to re-direct to $location
Name | Type | Description |
---|---|---|
$location |
string |
Uses the passed in $writer to set the proper location header.
Name | Type | Description |
---|---|---|
$writer |
ezcMvcResponseWriter |
Method | Description |
---|---|
ezcMvcResultStatusObject::process() |
This method is called by the response writers to process the data contained in the status objects. |