You are here

private function Exif::getFileType in Exif 6

1 call to Exif::getFileType()
Exif::readExifTags in ./exif.class.php
Read the Information from a picture according to the fields specified in CCK

File

./exif.class.php, line 91

Class

Exif
@author Raphael Schär This is a helper class to handle the whole data processing of exif

Code

private function getFileType($file) {
  $ar = explode('.', $file);
  $ending = $ar[count($ar) - 1];
  return $ending;
}