Function __global->_reorganise_content_row_upload
Definitions
sources/uploads2.php
- Reorganise a content row's upload.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$row | array | required parameter | N/A | N/A | Row |
$content_type | string | required parameter | N/A | N/A | Content type |
$upload_directory | string | required parameter | N/A | N/A | Upload directory |
$upload_field | string | required parameter | N/A | N/A | Upload field |
$cma_ob | object | required parameter | N/A | N/A | Content-meta-aware object |
$cma_info | array | required parameter | N/A | N/A | Content-meta-aware info |
$flat | boolean | required parameter | N/A | N/A | Whether to just have a simple flat organisational scheme |
$append_content_type_to_upload_dir | boolean | required parameter | N/A | N/A | "$upload_directory" should become "$upload_directory/$content_type" |
$tolerate_errors | boolean | required parameter | N/A | N/A | Whether to tolerate missing files (false = give an error) |
Return
- New URL (null: no change)
- Type: ?URLPATH
- Set: N/A
- Range: N/A