Elgg  Version 4.3
Functions
deprecated-4.0.php File Reference

Go to the source code of this file.

Functions

 forward ($location="", $reason= 'system')
 Forward to $location. More...
 

Function Documentation

forward (   $location = "",
  $reason = 'system' 
)

Forward to $location.

Sends a 'Location: $location' header and exits. If headers have already been sent, throws an exception.

Parameters
string$locationURL to forward to browser to. This can be a path relative to the network's URL.
string$reasonShort explanation for why we're forwarding. Set to '404' to forward to error page. Default message is 'system'.
Returns
void
Exceptions
SecurityException

Definition at line 23 of file deprecated-4.0.php.