skeeks\cms\models\StorageFile::getFileType PHP Method

getFileType() public method

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