PHP 클래스 infoweb\cms\models\Image

상속: extends rico\yii2images\models\Image
파일 보기 프로젝트 열기: infoweb-internet-solutions/yii2-cms 1 사용 예제들

공개 메소드들

메소드 설명
ImagickAutoRotateImage ( Imagick $image ) Automatic rotation fix
attributeLabels ( )
behaviors ( )
clearCache ( )
createVersion ( $imagePath, $sizeString = false, $crop = true, $fitImageInCanvas = false )
fitImageInCanvas ( Imagick $image, $width, $height )
getBaseUrl ( )
getFileInputWidgetCaption ( )
getFileInputWidgetPreview ( )
getPath ( $size = false, $crop = true ) : string Returns the path to the image
getPopupImage ( )
getTranslations ( ) : ActiveQuery
getUrl ( $size = false, $crop = true, $fitImageInCanvas = false )
interlaceFix ( type $file ) : boolean Fix interlaceFix
rules ( )
textPositionLabels ( )

메소드 상세

ImagickAutoRotateImage() 공개 메소드

Automatic rotation fix
public ImagickAutoRotateImage ( Imagick $image )
$image Imagick

attributeLabels() 공개 메소드

public attributeLabels ( )

behaviors() 공개 메소드

public behaviors ( )

clearCache() 공개 메소드

public clearCache ( )

createVersion() 공개 메소드

public createVersion ( $imagePath, $sizeString = false, $crop = true, $fitImageInCanvas = false )

fitImageInCanvas() 공개 메소드

public fitImageInCanvas ( Imagick $image, $width, $height )
$image Imagick

getBaseUrl() 공개 메소드

public getBaseUrl ( )

getFileInputWidgetCaption() 공개 메소드

getFileInputWidgetPreview() 공개 메소드

getPath() 공개 메소드

Returns the path to the image
public getPath ( $size = false, $crop = true ) : string
리턴 string

getPopupImage() 공개 메소드

public getPopupImage ( )

getTranslations() 공개 메소드

public getTranslations ( ) : ActiveQuery
리턴 yii\db\ActiveQuery

getUrl() 공개 메소드

public getUrl ( $size = false, $crop = true, $fitImageInCanvas = false )

interlaceFix() 공개 메소드

Fix interlaceFix
public interlaceFix ( type $file ) : boolean
$file type
리턴 boolean

rules() 공개 메소드

public rules ( )

textPositionLabels() 공개 메소드

public textPositionLabels ( )