PHP 클래스 Imbo\Storage\Filesystem

This storage driver stores image files in a local filesystem. Configuration options supported by this driver: -
(string) dataDir
Absolute path to the base directory the images should be stored in
저자: Christer Edvartsen ([email protected])
상속: implements Imbo\Storage\StorageInterface
파일 보기 프로젝트 열기: imbo/imbo 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $params ) Class constructor
delete ( $user, $imageIdentifier )
getImage ( $user, $imageIdentifier )
getLastModified ( $user, $imageIdentifier )
getStatus ( )
imageExists ( $user, $imageIdentifier )
store ( $user, $imageIdentifier, $imageData )

비공개 메소드들

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

메소드 상세

__construct() 공개 메소드

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

delete() 공개 메소드

public delete ( $user, $imageIdentifier )

getImage() 공개 메소드

public getImage ( $user, $imageIdentifier )

getLastModified() 공개 메소드

public getLastModified ( $user, $imageIdentifier )

getStatus() 공개 메소드

public getStatus ( )

imageExists() 공개 메소드

public imageExists ( $user, $imageIdentifier )

store() 공개 메소드

public store ( $user, $imageIdentifier, $imageData )