Function __global->redirect_exit
Definitions
sources/site2.php
- Assign an immediate redirect to the specified URL and output a message.Call this if doing a redirect deep within code that would not normally be able to return a UI screen.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$url | mixed | required parameter | N/A | N/A | Refresh to this URL (URLPATH or Tempcode URL) |
$title | ?Tempcode | Null | N/A | N/A | Title to display on redirect page (null: standard redirection title) |
$text | ?mixed | Null | N/A | N/A | Message to show (may be Tempcode) (null: standard redirection message) |
$intermediary_hop | boolean | False | N/A | N/A | For intermediary hops, don't mark so as to read status messages - save them up for the next hop (which will not be intermediary) |
$msg_type | ID_TEXT | inform | N/A | N/A | Code of message type to show |