Function __global->process_url_monikers
Definitions
sources/site.php
- Process URL monikers, changing 'id' GET param to be correct.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$redirect_if_non_canonical | boolean | True | N/A | N/A | Do a redirect if we're not on the canonical URL |
$env_change | boolean | True | N/A | N/A | Change environmental $_GET parameters (otherwise returns by reference) |
$page | ?ID_TEXT | Null | N/A | N/A | The page name to do it for, as it would appear in the URL (null: read from the environment) |
$zone | ?ID_TEXT | Null | N/A | N/A | The zone name to do it for (null: read from the environment) |
$type | ?ID_TEXT | Null | N/A | N/A | The screen type to do it for (null: read from the environment / really not passed) |
$url_id | ?ID_TEXT | Null | N/A | N/A | The ID to do it for (null: read from the environment / really not passed) |
$consider_nulls_as_unpassed | boolean | True | N/A | N/A | If any nulls are passed it's considered as 'really not passed' rather than 'read from environment' for $type and $url_id |
Return
- Found via moniker
- Type: boolean
- Set: N/A
- Range: N/A