Function __global->add_filedump_file
Definitions
sources/filedump.php
- Add a filedump file to the system, moving in the file and adding a description to the database.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$subpath | string | required parameter | N/A | N/A | Whether it is being stored under uploads/filedump |
$filename | string | required parameter | N/A | N/A | The filename |
$tmp_path | string | required parameter | N/A | N/A | The temporary file path |
$description | string | Blank (empty string) | N/A | N/A | The description |
$plupload_based | ?boolean | Null | N/A | N/A | Whether this is a Plupload or similar (i.e. from a faked $_FILES-array-row) (null: work out from environment) |
$check_permissions | boolean | True | N/A | N/A | Check access permissions |
$conflict_action | ?ID_TEXT | Null | N/A | N/A | Specify what should be done if a file with the same name already exists (null: return as a conflict error) |
Return
- Map: Information about the status of the filedump add
- Type: array
- Set: N/A
- Range: N/A