Function __global->remap_urlpath_as_portable
Definitions
sources/resource_fs.php
- Convert a URL (external or internal) to something portable.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $urlpath | ?URLPATH | No | No | required parameter | N/A | N/A | The URL (null: not set) |
Returns
- Either a URLPATH or a double of URLPATH and base64-encoded file data (null: not set)
- Type: ?mixed
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert a URL (external or internal) to something portable.
*
* @param ?URLPATH $urlpath The URL (null: not set)
* @return ?mixed Either a URLPATH or a double of URLPATH and base64-encoded file data (null: not set)
*/
function remap_urlpath_as_portable(?string $urlpath)
* Convert a URL (external or internal) to something portable.
*
* @param ?URLPATH $urlpath The URL (null: not set)
* @return ?mixed Either a URLPATH or a double of URLPATH and base64-encoded file data (null: not set)
*/
function remap_urlpath_as_portable(?string $urlpath)

