Documentation

Horde_Core_Factory_Image extends Horde_Core_Factory_Base
in package

The abstract Horde factory class.

Tags
category

Horde

Table of Contents

Properties

$_injector  : Horde_Injector
The injector.

Methods

__construct()  : mixed
Constructor.
create()  : Horde_Image
Returns an appropriate Horde_Image object based on Horde's configuration.
_getDriverName()  : string
Return the classname of the driver to load.

Properties

$_injector

The injector.

protected Horde_Injector $_injector

Methods

__construct()

Constructor.

public __construct(Horde_Injector $injector) : mixed
Parameters
$injector : Horde_Injector

The injector to use.

create()

Returns an appropriate Horde_Image object based on Horde's configuration.

public create([array<string|int, mixed> $params = array() ]) : Horde_Image
Parameters
$params : array<string|int, mixed> = array()

An array of image parameters. @see Horde_Image_Base

Tags
throws
Horde_Exception
Return values
Horde_Image

_getDriverName()

Return the classname of the driver to load.

protected _getDriverName(string $driver, string $base) : string
Parameters
$driver : string

Driver name.

$base : string

The base classname.

Tags
throws
Horde_Exception
Return values
string

Classname.


        
On this page

Search results