Function Resource_fs_base->folder_save
Definitions
sources/resource_fs_base_class.php
- Save function for resource-fs (for folders).
- 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) |
$properties | array | required parameter | N/A | N/A | Properties |
$search_label_as | ?ID_TEXT | Null | N/A | N/A | Whether to look for existing records using $filename as a label and this resource type (null: $filename is a strict file name) |
$search_path | ?ID_TEXT | Null | N/A | N/A | Search path (null: the same as the path saving at) |
Return
- The resource ID (false: error, could not create via these properties / here)
- Type: ~ID_TEXT
- Set: N/A
- Range: N/A