private function MediaFile::getExt in MediaFront 7.2
Returns the extension for the media.
Return value
type
1 call to MediaFile::getExt()
File
- ./
MediaFile.php, line 212
Class
Code
private function getExt() {
return drupal_strtolower(drupal_substr($this->path, strrpos($this->path, '.') + 1));
}