Метод |
Описание |
|
delete ( $mediaId, $formatKey ) |
Deletes a format option, identified by the id of the file-version and the key of the format. |
|
get ( $mediaId, $formatKey ) : array |
Returns the options for a single media identified by the id of the media and the key of the format. |
|
getAll ( $mediaId ) : mixed |
Returns the options for all formats for a single media identified by its id. |
|
save ( integer $mediaId, string $formatKey, array $data ) : FormatOptions |
Creates or changes a format options with given data. |
|