You are here

private function MediaFile::getExt in MediaFront 7.2

Returns the extension for the media.

Return value

type

1 call to MediaFile::getExt()
MediaFile::__construct in ./MediaFile.php

File

./MediaFile.php, line 212

Class

MediaFile

Code

private function getExt() {
  return drupal_strtolower(drupal_substr($this->path, strrpos($this->path, '.') + 1));
}