Function __global->_convert_url_to_path
Definitions
sources/urls2.php
- Convert a URL to a local file path.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $url | URLPATH | No | No | required parameter | N/A | N/A | The value to convert |
Returns
- File path (null: is not local)
- Type: ?PATH
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert a URL to a local file path.
*
* @param URLPATH $url The value to convert
* @return ?PATH File path (null: is not local)
*/
function _convert_url_to_path(string $url) : ?string
* Convert a URL to a local file path.
*
* @param URLPATH $url The value to convert
* @return ?PATH File path (null: is not local)
*/
function _convert_url_to_path(string $url) : ?string

