JControllerLegacy::setRedirect
Set a URL for browser redirection.
Signature
public function setRedirect(string
$url,
[string
$msg = null,
[string
$type = null]] )
Parameters
-
$url
- URL to redirect to.
-
$msg
- Message to display on redirect. Optional, defaults to value set internally by controller, if any.
-
$type
- Message type. Optional, defaults to 'message' or the type set by a previous call to setMessage.
Returns
- JControllerLegacy
- This object to support chaining.