PHP 클래스 Neos\Media\Domain\Model\ThumbnailConfiguration

파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$allowCropping boolean
$allowUpScaling boolean
$async boolean
$behaviourFlag string
$height integer
$loggedDeprecation boolean
$logger Neos\Flow\Log\SystemLoggerInterface
$maximumHeight integer
$maximumWidth integer
$width integer

공개 메소드들

메소드 설명
__construct ( integer $width = null, integer $maximumWidth = null, integer $height = null, integer $maximumHeight = null, boolean $allowCropping = false, boolean $allowUpScaling = false, boolean $async = false )
getHash ( ) : string
getHeight ( ) : integer
getMaximumHeight ( ) : integer
getMaximumWidth ( ) : integer
getRatioMode ( ) : boolean
getWidth ( ) : integer
isAsync ( ) : boolean
isCroppingAllowed ( ) : boolean
isUpScalingAllowed ( ) : boolean
toArray ( ) : array

보호된 메소드들

메소드 설명
logDeprecation ( ) : void Log a deprecation message once

메소드 상세

__construct() 공개 메소드

public __construct ( integer $width = null, integer $maximumWidth = null, integer $height = null, integer $maximumHeight = null, boolean $allowCropping = false, boolean $allowUpScaling = false, boolean $async = false )
$width integer Desired width of the image
$maximumWidth integer Desired maximum width of the image
$height integer Desired height of the image
$maximumHeight integer Desired maximum height of the image
$allowCropping boolean Whether the image should be cropped if the given sizes would hurt the aspect ratio
$allowUpScaling boolean Whether the resulting image size might exceed the size of the original image
$async boolean Whether the thumbnail can be generated asynchronously

getHash() 공개 메소드

public getHash ( ) : string
리턴 string

getHeight() 공개 메소드

public getHeight ( ) : integer
리턴 integer

getMaximumHeight() 공개 메소드

public getMaximumHeight ( ) : integer
리턴 integer

getMaximumWidth() 공개 메소드

public getMaximumWidth ( ) : integer
리턴 integer

getRatioMode() 공개 메소드

public getRatioMode ( ) : boolean
리턴 boolean

getWidth() 공개 메소드

public getWidth ( ) : integer
리턴 integer

isAsync() 공개 메소드

public isAsync ( ) : boolean
리턴 boolean

isCroppingAllowed() 공개 메소드

public isCroppingAllowed ( ) : boolean
리턴 boolean

isUpScalingAllowed() 공개 메소드

public isUpScalingAllowed ( ) : boolean
리턴 boolean

logDeprecation() 보호된 메소드

Log a deprecation message once
protected logDeprecation ( ) : void
리턴 void

toArray() 공개 메소드

public toArray ( ) : array
리턴 array

프로퍼티 상세

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

protected bool $allowCropping
리턴 boolean

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

protected bool $allowUpScaling
리턴 boolean

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

protected bool $async
리턴 boolean

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

protected string $behaviourFlag
리턴 string

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

protected int $height
리턴 integer

$loggedDeprecation 보호되어 있는 정적으로 프로퍼티

protected static bool $loggedDeprecation
리턴 boolean

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

protected SystemLoggerInterface,Neos\Flow\Log $logger
리턴 Neos\Flow\Log\SystemLoggerInterface

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

protected int $maximumHeight
리턴 integer

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

protected int $maximumWidth
리턴 integer

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

protected int $width
리턴 integer