You are here

public function ExifInterface::readMetadataTags in Exif 8.2

Same name and namespace in other branches
  1. 8 src/ExifInterface.php \Drupal\exif\ExifInterface::readMetadataTags()
  2. 7 ExifInterface.php \Drupal\exif\ExifInterface::readMetadataTags()

Retrieve all metadata from a file.

Parameters

string $file: File to read metadata from.

bool $enable_sections: Should sections should be also retrieved.

Return value

array metadata keys and associated values.

2 methods override ExifInterface::readMetadataTags()
ExifPHPExtension::readMetadataTags in src/ExifPHPExtension.php
Read all metadata tags.
SimpleExifToolFacade::readMetadataTags in src/SimpleExifToolFacade.php
Retrieve all metadata from a file.

File

src/ExifInterface.php, line 41

Class

ExifInterface
Interface ExifInterface define contract for implementations.

Namespace

Drupal\exif

Code

public function readMetadataTags($file, $enable_sections = TRUE);