Function __global->reorganise_uploads__downloads
Definitions
sources/downloads2.php
- Reorganise the download entry uploads.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $where | array | No | No | [] | N/A | N/A | Limit reorganisation to rows matching this WHERE map |
| $tolerate_errors | boolean | No | No | False | N/A | N/A | Whether to tolerate missing files (false = give an error) |
Returns
- Map of db_table:id to the new upload URL
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Reorganise the download entry uploads.
*
* @param array $where Limit reorganisation to rows matching this WHERE map
* @param boolean $tolerate_errors Whether to tolerate missing files (false = give an error)
* @return array Map of db_table:id to the new upload URL
*/
function reorganise_uploads__downloads(array $where = [], bool $tolerate_errors = false) : array
* Reorganise the download entry uploads.
*
* @param array $where Limit reorganisation to rows matching this WHERE map
* @param boolean $tolerate_errors Whether to tolerate missing files (false = give an error)
* @return array Map of db_table:id to the new upload URL
*/
function reorganise_uploads__downloads(array $where = [], bool $tolerate_errors = false) : array

