Exponential 6.0.13 Exponential Enterprise Open Source CMS - PHP Class Reference

ezshopaccounthandler.php
Go to the documentation of this file.
1 <?php
11 class eZShopAccountHandler
12 {
20 static function instance()
21 {
22 $accountHandler = null;
23 if ( eZExtension::findExtensionType( array( 'ini-name' => 'shopaccount.ini',
24 'repository-group' => 'HandlerSettings',
25 'repository-variable' => 'Repositories',
26 'extension-group' => 'HandlerSettings',
27 'extension-variable' => 'ExtensionRepositories',
28 'type-group' => 'AccountSettings',
29 'type-variable' => 'Handler',
30 'alias-group' => 'AccountSettings',
31 'alias-variable' => 'Alias',
32 'subdir' => 'shopaccounthandlers',
33 'type-directory' => false,
34 'extension-subdir' => 'shopaccounthandlers',
35 'suffix-name' => 'shopaccounthandler.php' ),
36 $out ) )
37 {
38 $filePath = $out['found-file-path'];
39 include_once( $filePath );
40 $class = $out['type'] . 'ShopAccountHandler';
41 $accountHandler = new $class( );
42 }
43 else
44 {
45 $accountHandler = new eZDefaultShopAccountHandler();
46 }
47 return $accountHandler;
48 }
49 }
50
51 ?>
eZDefaultShopAccountHandler
Definition: ezdefaultshopaccounthandler.php:12
eZExtension\findExtensionType
static findExtensionType( $parameters, &$out)
Definition: ezextension.php:385
eZShopAccountHandler
Definition: ezshopaccounthandler.php:12
eZShopAccountHandler\instance
static instance()
Definition: ezshopaccounthandler.php:20
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.