private function ExifPHPExtension::checkKeywordString in Exif 8
Same name and namespace in other branches
- 8.2 src/ExifPHPExtension.php \Drupal\exif\ExifPHPExtension::checkKeywordString()
Helper function to split keyword separated by ';' in array of keywords.
Parameters
string $keyword: String with all keywords.
Return value
array the array of keywords.
1 call to ExifPHPExtension::checkKeywordString()
- ExifPHPExtension::readIptcTags in src/
ExifPHPExtension.php - Read IPTC Information from a file.
File
- src/
ExifPHPExtension.php, line 326
Class
- ExifPHPExtension
- Class ExifPHPExtension Parser implementation base d on PHP Exif extension.
Namespace
Drupal\exifCode
private function checkKeywordString($keyword) {
return strpos($keyword[0], ';') !== FALSE ? explode(';', $keyword[0]) : $keyword;
}