Function __global->_cms_rawurlrecode
Definitions
sources/urls_simplifier.php
- Remove unnecessarily paranoid URL-encoding if needed, so the given URL will fit in the database.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$url | URLPATH | required parameter | N/A | N/A | The URL |
$tolerate_errors | boolean | required parameter | N/A | N/A | If this is set to false then an error message will be shown if the URL is still too long after we do what we can; set to true if we have someway of further shortening the URL after this function is called |
Return
- The shortened URL
- Type: URLPATH
- Set: N/A
- Range: N/A