Property | Type | Description | |
---|---|---|---|
$mimes | array | Available mime type |
Method | Description | |
---|---|---|
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 | ||
return | 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 |
return |
public static getThumbnails ( |
||
$media | media instance | |
$type | null | string | thumbnail make type |
return |