Exponential 6.0.13 Exponential Enterprise Open Source CMS - PHP Class Reference

ezconfirmorderhandler.php
Go to the documentation of this file.
1 <?php
17 class eZConfirmOrderHandler
18 {
26 static function instance()
27 {
28 $confirmOrderHandler = null;
29 if ( eZExtension::findExtensionType( array( 'ini-name' => 'shopaccount.ini',
30 'repository-group' => 'HandlerSettings',
31 'repository-variable' => 'Repositories',
32 'extension-group' => 'HandlerSettings',
33 'extension-variable' => 'ExtensionRepositories',
34 'type-group' => 'ConfirmOrderSettings',
35 'type-variable' => 'Handler',
36 'alias-group' => 'ConfirmOrderSettings',
37 'alias-variable' => 'Alias',
38 'subdir' => 'confirmorderhandlers',
39 'type-directory' => false,
40 'extension-subdir' => 'confirmorderhandlers',
41 'suffix-name' => 'confirmorderhandler.php' ),
42 $out ) )
43 {
44 $filePath = $out['found-file-path'];
45 include_once( $filePath );
46 $class = $out['type'] . 'ConfirmOrderHandler';
47 return new $class();
48 }
49
50 return new eZDefaultConfirmOrderHandler();
51 }
52
53 }
54
55 ?>
eZConfirmOrderHandler
The class eZConfirmOrderHandler does.
Definition: ezconfirmorderhandler.php:18
eZConfirmOrderHandler\instance
static instance()
Definition: ezconfirmorderhandler.php:26
eZDefaultConfirmOrderHandler
The class eZDefaultConfirmOrderHandler does.
Definition: ezdefaultconfirmorderhandler.php:18
eZExtension\findExtensionType
static findExtensionType( $parameters, &$out)
Definition: ezextension.php:385
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.