private function MediaFile::getClass in MediaFront 7.2
Returns the media class for the media.
1 call to MediaFile::getClass()
File
- ./
MediaFile.php, line 197
Class
Code
private function getClass() {
// Return if this is a media or image class.
if ($this->type) {
return $this->type == 'image' ? 'image' : 'media';
}
return '';
}