PHP 클래스 Pimcore\Model\Asset\Video\ImageThumbnail

파일 보기 프로젝트 열기: pimcore/pimcore

보호된 프로퍼티들

프로퍼티 타입 설명
$asset Pimcore\Model\Asset\Video
$config Pimcore\Model\Asset\Image\Thumbnail\Config
$filesystemPath mixed | string
$height integer
$imageAsset
$realHeight integer
$realWidth integer
$timeOffset
$width integer

공개 메소드들

메소드 설명
__construct ( $asset, null $config = null, null $timeOffset = null, null $imageAsset = null ) ImageThumbnail constructor.
__toString ( ) : string Get the public path to the thumbnail image.
generate ( )
getAsset ( ) : Image
getConfig ( ) : Config Get thumbnail image configuration.
getDimensions ( ) : array
getFileSystemPath ( ) : mixed | string
getHeight ( ) : integer Get the width of the generated thumbnail image in pixels.
getPath ( ) : mixed
getRealHeight ( ) : integer Get the real width of the generated thumbnail image in pixels. (when using high resolution option)
getRealWidth ( ) : integer
getWidth ( ) : integer
reset ( )

보호된 메소드들

메소드 설명
createConfig ( $selector ) : boolean | static

메소드 상세

__construct() 공개 메소드

ImageThumbnail constructor.
public __construct ( $asset, null $config = null, null $timeOffset = null, null $imageAsset = null )
$asset
$config null
$timeOffset null
$imageAsset null

__toString() 공개 메소드

This method is here for backwards compatility. Up to Pimcore 1.4.8 a thumbnail was returned as a path to an image.
public __toString ( ) : string
리턴 string Public path to thumbnail image.

createConfig() 보호된 메소드

protected createConfig ( $selector ) : boolean | static
$selector
리턴 boolean | static

generate() 공개 메소드

public generate ( )

getAsset() 공개 메소드

public getAsset ( ) : Image
리턴 Pimcore\Model\Asset\Image The original image from which this thumbnail is generated.

getConfig() 공개 메소드

Get thumbnail image configuration.
public getConfig ( ) : Config
리턴 Pimcore\Model\Asset\Image\Thumbnail\Config

getDimensions() 공개 메소드

public getDimensions ( ) : array
리턴 array

getFileSystemPath() 공개 메소드

public getFileSystemPath ( ) : mixed | string
리턴 mixed | string

getHeight() 공개 메소드

Get the width of the generated thumbnail image in pixels.
public getHeight ( ) : integer
리턴 integer Height of the generated thumbnail image.

getPath() 공개 메소드

public getPath ( ) : mixed
리턴 mixed

getRealHeight() 공개 메소드

Get the real width of the generated thumbnail image in pixels. (when using high resolution option)
public getRealHeight ( ) : integer
리턴 integer Height of the generated thumbnail image.

getRealWidth() 공개 메소드

public getRealWidth ( ) : integer
리턴 integer real Width of the generated thumbnail image. (when using high resolution option)

getWidth() 공개 메소드

public getWidth ( ) : integer
리턴 integer Width of the generated thumbnail image.

reset() 공개 메소드

public reset ( )

프로퍼티 상세

$asset 보호되어 있는 프로퍼티

protected Video,Pimcore\Model\Asset $asset
리턴 Pimcore\Model\Asset\Video

$config 보호되어 있는 프로퍼티

protected Config,Pimcore\Model\Asset\Image\Thumbnail $config
리턴 Pimcore\Model\Asset\Image\Thumbnail\Config

$filesystemPath 보호되어 있는 프로퍼티

protected mixed|string $filesystemPath
리턴 mixed | string

$height 보호되어 있는 프로퍼티

protected int $height
리턴 integer

$imageAsset 보호되어 있는 프로퍼티

protected $imageAsset

$realHeight 보호되어 있는 프로퍼티

protected int $realHeight
리턴 integer

$realWidth 보호되어 있는 프로퍼티

protected int $realWidth
리턴 integer

$timeOffset 보호되어 있는 프로퍼티

protected $timeOffset

$width 보호되어 있는 프로퍼티

protected int $width
리턴 integer