forType() статический публичный Метод

static public forType ( $type, $default = null )
Пример #1
0
 function recommendedFilenameExtension($default = '')
 {
     if ($ext = GBMimeType::forType($this->mimeType)) {
         return '.' . $ext;
     }
     return $default;
 }