Function __global->zone_black_magic_filterer
Definitions
sources/zones.php
- Consider virtual zone merging, where paths are not necessarily where you'd expect for pages in zones.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $path | PATH | No | No | required parameter | N/A | N/A | The path, assuming in the obvious place |
| $relative | boolean | No | No | False | N/A | N/A | Where the passed path is relative |
Returns
- The fixed path
- Type: PATH
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Consider virtual zone merging, where paths are not necessarily where you'd expect for pages in zones.
*
* @param PATH $path The path, assuming in the obvious place
* @param boolean $relative Where the passed path is relative
* @return PATH The fixed path
*/
function zone_black_magic_filterer(string $path, bool $relative = false) : string
* Consider virtual zone merging, where paths are not necessarily where you'd expect for pages in zones.
*
* @param PATH $path The path, assuming in the obvious place
* @param boolean $relative Where the passed path is relative
* @return PATH The fixed path
*/
function zone_black_magic_filterer(string $path, bool $relative = false) : string

