PHP Class Horde_Image_Effect, horde

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

Protected Properties

Property Type Description
$_image Horde_Image The bound Horde_Image object
$_logger Logger.
$_params array Effect parameters.

Public Methods

Method 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 method

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

factory() public static method

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.
return Horde_Image_Effect An effect instance.

setImageObject() public method

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

setLogger() public method

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
return Horde_Image

$_logger protected_oe property

Logger.
protected $_logger

$_params protected_oe property

Effect parameters.
protected array $_params
return array