PHP Class 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.
Author: Espen Hovlandsdal ([email protected])
Inheritance: implements Imbo\EventListener\ImageVariations\Storage\StorageInterface
Afficher le fichier Open project: imbo/imbo Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $params = null ) Class constructor
deleteImageVariations ( $user, $imageIdentifier, $width = null )
getImageVariation ( $user, $imageIdentifier, $width )
storeImageVariation ( $user, $imageIdentifier, $blob, $width )

Private Methods

Méthode Description
getImagePath ( string $user, string $imageIdentifier, integer $width = null, boolean $includeFilename = true ) : string Get the path to an image

Method Details

__construct() public méthode

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

deleteImageVariations() public méthode

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

getImageVariation() public méthode

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

storeImageVariation() public méthode

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