Function Hook_commandr_fs_galleries->folder_delete
Definitions
sources/hooks/systems/commandr_fs/galleries.php
- Standard Commandr-fs delete function for resource-fs hooks. Deletes the resource.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $filename | ID_TEXT | No | No | required parameter | N/A | N/A | The filename |
| $path | string | No | No | required parameter | N/A | N/A | The path (blank: root / not applicable) |
Returns
- Success status
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Standard Commandr-fs delete function for resource-fs hooks. Deletes the resource.
*
* @param ID_TEXT $filename The filename
* @param string $path The path (blank: root / not applicable)
* @return boolean Success status
*/
public function folder_delete(string $filename, string $path) : bool
* Standard Commandr-fs delete function for resource-fs hooks. Deletes the resource.
*
* @param ID_TEXT $filename The filename
* @param string $path The path (blank: root / not applicable)
* @return boolean Success status
*/
public function folder_delete(string $filename, string $path) : bool

