Свойство | Тип | Описание | |
---|---|---|---|
$mimes | array | Available mime type |
Метод | Описание | |
---|---|---|
getMetaModel ( ) : string | Returns meta data model for current model | |
getThumbnail ( |
Get a thumbnail image | |
getThumbnails ( |
Get thumbnails | |
getType ( ) : string | Returns media type | |
render ( array $option = [] ) : string | Rendered media |
public getMetaModel ( ) : string | ||
Результат | string |
public static getThumbnail ( |
||
$media | media instance | |
$type | string | thumbnail make type |
$dimension | string | dimension code |
$defaultSelf | boolean | if set true, returns self when thumbnail not exists |
Результат |
public static getThumbnails ( |
||
$media | media instance | |
$type | null | string | thumbnail make type |
Результат |
protected static array $mimes | ||
Результат | array |