Same name and namespace in other branches
- 8.x-1.x src/ExifPHPExtension.php \Drupal\exif\ExifPHPExtension::getFieldKeys() 1 comment
- 8.x-2.x src/ExifPHPExtension.php \Drupal\exif\ExifPHPExtension::getFieldKeys() 1 comment
Overrides ExifInterface::getFieldKeys
File
-
./
ExifPHPExtension.php, line 858
Class
- ExifPHPExtension
- This is a helper class to handle the whole data processing of exif.
Namespace
Drupal\exifCode
public function getFieldKeys() {
$exif_keys_temp = $this->getHumanReadableExifKeys();
$exif_keys = array();
foreach ($exif_keys_temp as $value) {
$exif_keys[$value] = $value;
}
$iptc_keys_temp = array_values($this->getHumanReadableIPTCkey());
$iptc_keys = array();
foreach ($iptc_keys_temp as $value) {
$current_value = "iptc_" . $value;
$iptc_keys[$current_value] = $current_value;
}
$fields = array_merge($exif_keys, $iptc_keys);
ksort($fields);
return $fields;
}