Exponential 6.0.13 Exponential Enterprise Open Source CMS - PHP Class Reference

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
eZImageFactory Class Referenceabstract

Base class for image factories. More...

Inheritance diagram for eZImageFactory:

## Public Member Functions
| __construct ( $name)
| name ()

## Static Public Member Functions
static | produceFromINI ( $iniGroup, $iniFilename=false)

## Public Attributes
| $Name

## Detailed Description

Base class for image factories.

The image factory is responsible for producing image handlers when requested. This class must be inherited by specific factories to create specific handlers.

Definition at line 20 of file ezimagefactory.php.

## Constructor & Destructor Documentation

## ◆ __construct()

eZImageFactory::__construct | ( |  | $name | ) |

Initializes the factory with the name $name.

Parameters

  string | $name |

Definition at line 27 of file ezimagefactory.php.

## Member Function Documentation

## ◆ name()

eZImageFactory::name | ( |  | ) |

Returns
  the name of the factory, this is the name referenced in the INI file.

Definition at line 35 of file ezimagefactory.php.

References $Name.

## ◆ produceFromINI()

static eZImageFactory::produceFromINI | ( |  | $iniGroup,
|  |  | $iniFilename = `false`
| ) |  |
| static pure virtual

Creates a new image handler from the INI group $iniGroup and optionally INI file $iniFilename.

Note
  The default implementation returns `null`.

Implemented in eZImageShellFactory, and eZImageGDFactory.

Definition at line 45 of file ezimagefactory.php.

## Member Data Documentation

## ◆ $Name

eZImageFactory::$Name

Definition at line 52 of file ezimagefactory.php.

Referenced by name().

The documentation for this class was generated from the following file:

- ezimagefactory.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.