PHP Класс Pimcore\Model\Asset\Video

Наследование: extends Pimcore\Model\Asset
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$type string

Открытые методы

Метод Описание
clearThumbnails ( $force = false ) : void
delete ( )
getDuration ( ) : mixed
getImageThumbnail ( $thumbnailName, null $timeOffset = null, null $imageAsset = null ) : mixed | string
getThumbnail ( $thumbnailName, $onlyFormats = [] ) : string Returns a path to a given thumbnail or an thumbnail configuration
getThumbnailConfig ( string $config ) : Config | null

Защищенные методы

Метод Описание
getDurationFromBackend ( ) : null
update ( ) : void

Описание методов

clearThumbnails() публичный Метод

public clearThumbnails ( $force = false ) : void
Результат void

delete() публичный Метод

public delete ( )

getDuration() публичный Метод

public getDuration ( ) : mixed
Результат mixed

getDurationFromBackend() защищенный Метод

protected getDurationFromBackend ( ) : null
Результат null

getImageThumbnail() публичный Метод

public getImageThumbnail ( $thumbnailName, null $timeOffset = null, null $imageAsset = null ) : mixed | string
$thumbnailName
$timeOffset null
$imageAsset null
Результат mixed | string

getThumbnail() публичный Метод

Returns a path to a given thumbnail or an thumbnail configuration
public getThumbnail ( $thumbnailName, $onlyFormats = [] ) : string
Результат string

getThumbnailConfig() публичный Метод

public getThumbnailConfig ( string $config ) : Config | null
$config string
Результат Pimcore\Model\Asset\Video\Thumbnail\Config | null

update() защищенный Метод

protected update ( ) : void
Результат void

Описание свойств

$type публичное свойство

public string $type
Результат string