eZ Publish  [4.0]
ezimagegdfactory.php
Go to the documentation of this file.
00001 <?php
00002 //
00003 // ## BEGIN COPYRIGHT, LICENSE AND WARRANTY NOTICE ##
00004 // SOFTWARE NAME: eZ Publish
00005 // SOFTWARE RELEASE: 4.0.x
00006 // COPYRIGHT NOTICE: Copyright (C) 1999-2008 eZ Systems AS
00007 // SOFTWARE LICENSE: GNU General Public License v2.0
00008 // NOTICE: >
00009 //   This program is free software; you can redistribute it and/or
00010 //   modify it under the terms of version 2.0  of the GNU General
00011 //   Public License as published by the Free Software Foundation.
00012 //
00013 //   This program is distributed in the hope that it will be useful,
00014 //   but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 //   GNU General Public License for more details.
00017 //
00018 //   You should have received a copy of version 2.0 of the GNU General
00019 //   Public License along with this program; if not, write to the Free
00020 //   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00021 //   MA 02110-1301, USA.
00022 //
00023 //
00024 // ## END COPYRIGHT, LICENSE AND WARRANTY NOTICE ##
00025 //
00026 
00027 class eZImageGDFactory extends eZImageFactory
00028 {
00029     /*!
00030      Initializes the factory with the name \c 'shell'
00031     */
00032     function eZImageGDFactory()
00033     {
00034         $this->eZImageFactory( 'gd' );
00035     }
00036 
00037     /*!
00038      \reimp
00039      Creates eZImageGDHandler objects and returns them.
00040     */
00041     static function produceFromINI( $iniGroup, $iniFilename = false )
00042     {
00043         $convertHandler = eZImageGDHandler::createFromINI( $iniGroup, $iniFilename );
00044         return $convertHandler;
00045     }
00046 }
00047 
00048 ?>