Function __global->store_exif
Definitions
sources/exif.php
- Save metadata into content type's custom fields, by looking for fields named after the EXIF/EXIF-emulated metadata (specifically in English).Spaces may be added to the names to make them prettier, but otherwise they must be the same.Designed to be used by headless-importers, e.g. bulk importing of media files, to make the process a bit smarter.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$content_type | ID_TEXT | required parameter | N/A | N/A | The content type |
$content_id | ID_TEXT | required parameter | N/A | N/A | The content ID |
$exif | array | required parameter | N/A | N/A | The EXIF data |
$map | array | [] | N/A | N/A | Extra metadata to store, against explicit field IDs |