[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 <?php 2 // Created on: <08-Aug-2006 15:14:44 bjorn> 3 // 4 // SOFTWARE NAME: eZ publish 5 // SOFTWARE RELEASE: 3.9.0 6 // BUILD VERSION: 17785 7 // COPYRIGHT NOTICE: Copyright (C) 1999-2006 eZ systems AS 8 // SOFTWARE LICENSE: GNU General Public License v2.0 9 // NOTICE: > 10 // This program is free software; you can redistribute it and/or 11 // modify it under the terms of version 2.0 of the GNU General 12 // Public License as published by the Free Software Foundation. 13 // 14 // This program is distributed in the hope that it will be useful, 15 // but WITHOUT ANY WARRANTY; without even the implied warranty of 16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 // GNU General Public License for more details. 18 // 19 // You should have received a copy of version 2.0 of the GNU General 20 // Public License along with this program; if not, write to the Free 21 // Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 22 // MA 02110-1301, USA. 23 // 24 25 /*! \file ezconfirmorderhandler.php 26 */ 27 28 /*! 29 \class eZConfirmOrderHandler ezconfirmorderhandler.php 30 \brief The class eZConfirmOrderHandler does 31 32 */ 33 34 class eZConfirmOrderHandler 35 { 36 /*! 37 Constructor 38 */ 39 function eZConfirmOrderHandler() 40 { 41 } 42 43 44 /*! 45 returns the current order confirmation instance 46 */ 47 function &instance() 48 { 49 $confirmOrderHandler = null; 50 if ( eZExtension::findExtensionType( array( 'ini-name' => 'shopaccount.ini', 51 'repository-group' => 'HandlerSettings', 52 'repository-variable' => 'Repositories', 53 'extension-group' => 'HandlerSettings', 54 'extension-variable' => 'ExtensionRepositories', 55 'type-group' => 'ConfirmOrderSettings', 56 'type-variable' => 'Handler', 57 'alias-group' => 'ConfirmOrderSettings', 58 'alias-variable' => 'Alias', 59 'subdir' => 'confirmorderhandlers', 60 'type-directory' => false, 61 'extension-subdir' => 'confirmorderhandlers', 62 'suffix-name' => 'confirmorderhandler.php' ), 63 $out ) ) 64 { 65 $filePath = $out['found-file-path']; 66 include_once( $filePath ); 67 $class = $out['type'] . 'ConfirmOrderHandler'; 68 $confirmOrderHandler = new $class(); 69 } 70 else 71 { 72 include_once ( 'kernel/classes/confirmorderhandlers/ezdefaultconfirmorderhandler.php' ); 73 $confirmOrderHandler = new eZDefaultConfirmOrderHandler(); 74 } 75 return $confirmOrderHandler; 76 } 77 78 } 79 80 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |