PHP Class Pimcore\Model\Asset\Video

Inheritance: extends Pimcore\Model\Asset
Datei anzeigen Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$type string

Public Methods

Method Description
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

Protected Methods

Method Description
getDurationFromBackend ( ) : null
update ( ) : void

Method Details

clearThumbnails() public method

public clearThumbnails ( $force = false ) : void
return void

delete() public method

public delete ( )

getDuration() public method

public getDuration ( ) : mixed
return mixed

getDurationFromBackend() protected method

protected getDurationFromBackend ( ) : null
return null

getImageThumbnail() public method

public getImageThumbnail ( $thumbnailName, null $timeOffset = null, null $imageAsset = null ) : mixed | string
$thumbnailName
$timeOffset null
$imageAsset null
return mixed | string

getThumbnail() public method

Returns a path to a given thumbnail or an thumbnail configuration
public getThumbnail ( $thumbnailName, $onlyFormats = [] ) : string
return string

getThumbnailConfig() public method

public getThumbnailConfig ( string $config ) : Config | null
$config string
return Pimcore\Model\Asset\Video\Thumbnail\Config | null

update() protected method

protected update ( ) : void
return void

Property Details

$type public_oe property

public string $type
return string