Function Hook_task_import_filesystem_downloads->filesystem_recursive_downloads_scan
Definitions
sources/hooks/systems/tasks/import_filesystem_downloads.php
- Worker function to do a filesystem import.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$server_path | PATH | required parameter | N/A | N/A | Filesystem-based path from where we are reading files |
$server_url | URLPATH | required parameter | N/A | N/A | URL-based path from where we are reading files |
$dest_cat | AUTO_LINK | required parameter | N/A | N/A | The destination downloading category |
$make_subfolders | boolean | required parameter | N/A | N/A | Whether we add hierarchically (as opposed to a flat category fill) |
Return
- Number of downloads added
- Type: integer
- Set: N/A
- Range: N/A