PHP Class Pimcore\Model\Asset\Video\Thumbnail\Config

显示文件 Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$audioBitrate integer
$creationDate integer
$description string
$items array format of array: array( array( "method" => "myName", "arguments" => array( "width" => 345, "height" => 200 ) ) )
$modificationDate integer
$name string
$videoBitrate integer

Public Methods

Method Description
addItem ( $name, $parameters ) : boolean
addItemAt ( $position, $name, $parameters ) : boolean
getAudioBitrate ( ) : integer
getByName ( $name ) : null | Config
getCreationDate ( ) : integer
getDescription ( ) : string
getEstimatedDimensions ( ) : array
getItems ( ) : array
getModificationDate ( ) : integer
getName ( ) : string
getPreviewConfig ( ) : Config
getVideoBitrate ( ) : integer
resetItems ( ) : void
setAudioBitrate ( $audioBitrate )
setCreationDate ( integer $creationDate )
setDescription ( $description )
setItems ( $items )
setModificationDate ( integer $modificationDate )
setName ( $name )
setVideoBitrate ( $videoBitrate )

Method Details

addItem() public method

public addItem ( $name, $parameters ) : boolean
$name
$parameters
return boolean

addItemAt() public method

public addItemAt ( $position, $name, $parameters ) : boolean
$name
$parameters
return boolean

getAudioBitrate() public method

public getAudioBitrate ( ) : integer
return integer

getByName() public static method

public static getByName ( $name ) : null | Config
$name
return null | Config

getCreationDate() public method

public getCreationDate ( ) : integer
return integer

getDescription() public method

public getDescription ( ) : string
return string

getEstimatedDimensions() public method

public getEstimatedDimensions ( ) : array
return array

getItems() public method

public getItems ( ) : array
return array

getModificationDate() public method

public getModificationDate ( ) : integer
return integer

getName() public method

public getName ( ) : string
return string

getPreviewConfig() public static method

public static getPreviewConfig ( ) : Config
return Config

getVideoBitrate() public method

public getVideoBitrate ( ) : integer
return integer

resetItems() public method

public resetItems ( ) : void
return void

setAudioBitrate() public method

public setAudioBitrate ( $audioBitrate )
$audioBitrate

setCreationDate() public method

public setCreationDate ( integer $creationDate )
$creationDate integer

setDescription() public method

public setDescription ( $description )
$description

setItems() public method

public setItems ( $items )
$items

setModificationDate() public method

public setModificationDate ( integer $modificationDate )
$modificationDate integer

setName() public method

public setName ( $name )
$name

setVideoBitrate() public method

public setVideoBitrate ( $videoBitrate )
$videoBitrate

Property Details

$audioBitrate public_oe property

public int $audioBitrate
return integer

$creationDate public_oe property

public int $creationDate
return integer

$description public_oe property

public string $description
return string

$items public_oe property

format of array: array( array( "method" => "myName", "arguments" => array( "width" => 345, "height" => 200 ) ) )
public array $items
return array

$modificationDate public_oe property

public int $modificationDate
return integer

$name public_oe property

public string $name
return string

$videoBitrate public_oe property

public int $videoBitrate
return integer