Function __global->set_execution_context
Definitions
sources/urls2.php
- Change whatever global context that is required in order to run from a different context.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$new_get | array | required parameter | N/A | N/A | The URL component map (must contain 'page') |
$new_zone | ID_TEXT | _SEARCH | N/A | N/A | The zone |
$new_current_script | ID_TEXT | index | N/A | N/A | The running script |
$erase_keep_also | boolean | False | N/A | N/A | Whether to get rid of keep_ variables in current URL |
$new_in_self_routing_script | ?boolean | Null | N/A | N/A | Whether we are in a self-routing script (null: if new_current_script is 'index') |
$replace_existing_get | boolean | True | N/A | N/A | Replace all existing GET parameters |
Return
- A list of parameters that would be required to be passed back to reset the state
- Type: array
- Set: N/A
- Range: N/A