Function Resource_fs_base->convert_id_to_filename
Definitions
sources/resource_fs_base_class.php
- Get the filename for a resource ID (of file or folder). Note that filenames are unique across all folders in a filesystem.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$resource_type | ID_TEXT | required parameter | N/A | N/A | The resource type |
$resource_id | ID_TEXT | required parameter | N/A | N/A | The resource ID |
Return
- The filename (null: not found)
- Type: ?ID_TEXT
- Set: N/A
- Range: N/A