PHP Class Horde_Image_Effect, horde

Author: Chuck Hagenbuch ([email protected])
Author: Michael J. Rubinsky ([email protected])
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_image Horde_Image The bound Horde_Image object
$_logger Logger.
$_params array Effect parameters.

Méthodes publiques

Méthode Description
__construct ( array $params = [] ) Effect constructor.
factory ( string $type, string $driver, array $params ) : Horde_Image_Effect Effect factory.
setImageObject ( Horde_Image $image ) Bind this effect to a Horde_Image object.
setLogger ( Horde_Log_Logger $logger ) Attaches a logger.

Method Details

__construct() public méthode

Effect constructor.
public __construct ( array $params = [] )
$params array Any parameters for the effect. Parameters are documented in each subclass.

factory() public static méthode

Effect factory.
public static factory ( string $type, string $driver, array $params ) : Horde_Image_Effect
$type string An effect name.
$driver string An image driver name.
$params array Any effect parameters.
Résultat Horde_Image_Effect An effect instance.

setImageObject() public méthode

Bind this effect to a Horde_Image object.
public setImageObject ( Horde_Image $image )
$image Horde_Image The Horde_Image object

setLogger() public méthode

Attaches a logger.
public setLogger ( Horde_Log_Logger $logger )
$logger Horde_Log_Logger A logger.

Property Details

$_image protected_oe property

The bound Horde_Image object
protected Horde_Image $_image
Résultat Horde_Image

$_logger protected_oe property

Logger.
protected $_logger

$_params protected_oe property

Effect parameters.
protected array $_params
Résultat array