Function Resource_fs_base->file_load_json
Definitions
sources/resource_fs_base_class.php
- Load function for resource-fs (for files). Finds the data for some resource from a resource-fs JSON file.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$filename | ID_TEXT | required parameter | N/A | N/A | Filename |
$path | string | required parameter | N/A | N/A | The path (blank: root / not applicable) |
Return
- Resource data (false: error)
- Type: ~string
- Set: N/A
- Range: N/A