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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 )