PHP 클래스 Imbo\EventListener\ImageVariations\Storage\Filesystem

Configuration options supported by this driver: -
(string) dataDir
Absolute path to the base directory the image variations should be stored in. Must be specified.
저자: Espen Hovlandsdal ([email protected])
상속: implements Imbo\EventListener\ImageVariations\Storage\StorageInterface
파일 보기 프로젝트 열기: imbo/imbo 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $params = null ) Class constructor
deleteImageVariations ( $user, $imageIdentifier, $width = null )
getImageVariation ( $user, $imageIdentifier, $width )
storeImageVariation ( $user, $imageIdentifier, $blob, $width )

비공개 메소드들

메소드 설명
getImagePath ( string $user, string $imageIdentifier, integer $width = null, boolean $includeFilename = true ) : string Get the path to an image

메소드 상세

__construct() 공개 메소드

Class constructor
public __construct ( array $params = null )
$params array Parameters for the driver

deleteImageVariations() 공개 메소드

public deleteImageVariations ( $user, $imageIdentifier, $width = null )

getImageVariation() 공개 메소드

public getImageVariation ( $user, $imageIdentifier, $width )

storeImageVariation() 공개 메소드

public storeImageVariation ( $user, $imageIdentifier, $blob, $width )