PHP 클래스 Pimcore\Model\Asset\Image

상속: extends Pimcore\Model\Asset
파일 보기 프로젝트 열기: pimcore/pimcore 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$type string

공개 메소드들

메소드 설명
clearThumbnail ( $name )
clearThumbnails ( $force = false ) : void
getDimensions ( null $path = null, boolean $force = false ) : array | void
getEXIFData ( ) : array
getFormat ( ) : string
getHeight ( ) : integer
getIPTCData ( ) : array
getImageTransformInstance ( ) : null | Adapter
getRelativeFileSystemPath ( ) : string
getThumbnail ( null $config = null, boolean $deferred = true ) : Thumbnail Returns a path to a given thumbnail or an thumbnail configuration.
getThumbnailConfig ( mixed $config ) : Thumbnail | boolean Legacy method for backwards compatibility. Use getThumbnail($config)->getConfig() instead.
getWidth ( ) : integer
isAnimated ( ) : boolean Checks if this file represents an animated image (png or gif)
isVectorGraphic ( ) : boolean

보호된 메소드들

메소드 설명
update ( ) : void

비공개 메소드들

메소드 설명
isAnimatedGif ( ) : boolean Checks if this object represents an animated gif file
isAnimatedPng ( ) : boolean Checks if this object represents an animated png file

메소드 상세

clearThumbnail() 공개 메소드

public clearThumbnail ( $name )
$name

clearThumbnails() 공개 메소드

public clearThumbnails ( $force = false ) : void
리턴 void

getDimensions() 공개 메소드

public getDimensions ( null $path = null, boolean $force = false ) : array | void
$path null
$force boolean
리턴 array | void

getEXIFData() 공개 메소드

public getEXIFData ( ) : array
리턴 array

getFormat() 공개 메소드

public getFormat ( ) : string
리턴 string

getHeight() 공개 메소드

public getHeight ( ) : integer
리턴 integer

getIPTCData() 공개 메소드

public getIPTCData ( ) : array
리턴 array

getImageTransformInstance() 공개 정적인 메소드

public static getImageTransformInstance ( ) : null | Adapter
리턴 null | Pimcore\Image\Adapter

getRelativeFileSystemPath() 공개 메소드

getThumbnail() 공개 메소드

Returns a path to a given thumbnail or an thumbnail configuration.
public getThumbnail ( null $config = null, boolean $deferred = true ) : Thumbnail
$config null
$deferred boolean
리턴 Pimcore\Model\Asset\Image\Thumbnail

getThumbnailConfig() 공개 메소드

Legacy method for backwards compatibility. Use getThumbnail($config)->getConfig() instead.
public getThumbnailConfig ( mixed $config ) : Thumbnail | boolean
$config mixed
리턴 Pimcore\Model\Asset\Image\Thumbnail | boolean

getWidth() 공개 메소드

public getWidth ( ) : integer
리턴 integer

isAnimated() 공개 메소드

Checks if this file represents an animated image (png or gif)
public isAnimated ( ) : boolean
리턴 boolean

isVectorGraphic() 공개 메소드

public isVectorGraphic ( ) : boolean
리턴 boolean

update() 보호된 메소드

protected update ( ) : void
리턴 void

프로퍼티 상세

$type 공개적으로 프로퍼티

public string $type
리턴 string