skeeks\cms\models\StorageFile::getFileType PHP 메소드

getFileType() 공개 메소드

Тип файла - первая часть mime_type
public getFileType ( ) : string
리턴 string
    public function getFileType()
    {
        $dataMimeType = explode('/', $this->mime_type);
        return (string) $dataMimeType[0];
    }