Function Resource_fs_base->file_load
Definitions
sources/resource_fs_base_class.php
- Standard Commandr-fs load function for resource-fs hooks. Finds the properties for some resource.
- Visibility: public
- Is abstract?: Yes
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$filename | SHORT_TEXT | required parameter | N/A | N/A | Filename |
$path | string | required parameter | N/A | N/A | The path (blank: root / not applicable). It may be a wildcarded path, as the path is used for content-type identification only. Filenames are globally unique across a hook; you can calculate the path using ->search. |
Return
- Details of the resource (false: error)
- Type: ~array
- Set: N/A
- Range: N/A