[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/kernel/shop/ -> module.php (source)

   1  <?php
   2  //
   3  // Created on: <31-Jul-2002 16:47:15 bf>
   4  //
   5  // SOFTWARE NAME: eZ publish
   6  // SOFTWARE RELEASE: 3.9.0
   7  // BUILD VERSION: 17785
   8  // COPYRIGHT NOTICE: Copyright (C) 1999-2006 eZ systems AS
   9  // SOFTWARE LICENSE: GNU General Public License v2.0
  10  // NOTICE: >
  11  //   This program is free software; you can redistribute it and/or
  12  //   modify it under the terms of version 2.0  of the GNU General
  13  //   Public License as published by the Free Software Foundation.
  14  //
  15  //   This program is distributed in the hope that it will be useful,
  16  //   but WITHOUT ANY WARRANTY; without even the implied warranty of
  17  //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18  //   GNU General Public License for more details.
  19  //
  20  //   You should have received a copy of version 2.0 of the GNU General
  21  //   Public License along with this program; if not, write to the Free
  22  //   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  23  //   MA 02110-1301, USA.
  24  //
  25  //
  26  
  27  $Module = array( "name" => "eZShop",
  28                   "variable_params" => true );
  29  
  30  $ViewList = array();
  31  $ViewList["add"] = array(
  32      "functions" => array( 'buy' ),
  33      "script" => "add.php",
  34      "default_navigation_part" => 'ezshopnavigationpart',
  35      "params" => array( "ObjectID" ) );
  36  
  37  $ViewList["orderview"] = array(
  38      "functions" => array( 'buy' ),
  39      "script" => "orderview.php",
  40      "default_navigation_part" => 'ezshopnavigationpart',
  41      "params" => array( "OrderID" ) );
  42  
  43  $ViewList['updatebasket'] = array(
  44      'functions' => array( 'buy' ),
  45      'script' => 'updatebasket.php',
  46      'default_navigation_part' => 'ezshopnavigationpart',
  47      'params' => array(  ) );
  48  
  49  $ViewList["basket"] = array(
  50      "functions" => array( 'buy' ),
  51      "script" => "basket.php",
  52      "default_navigation_part" => 'ezmynavigationpart',
  53      'unordered_params' => array( 'error' => 'Error' ),
  54      "params" => array(  ) );
  55  
  56  $ViewList["register"] = array(
  57      "functions" => array( 'buy' ),
  58      "script" => "register.php",
  59      'ui_context' => 'edit',
  60      "default_navigation_part" => 'ezshopnavigationpart',
  61      'single_post_actions' => array( 'StoreButton' => 'Store',
  62                                      'CancelButton' => 'Cancel'
  63                                      ),
  64      "params" => array(  ) );
  65  
  66  $ViewList["userregister"] = array(
  67      "functions" => array( 'buy' ),
  68      "script" => "userregister.php",
  69      'ui_context' => 'edit',
  70      "default_navigation_part" => 'ezshopnavigationpart',
  71      'single_post_actions' => array( 'StoreButton' => 'Store',
  72                                      'CancelButton' => 'Cancel'
  73                                      )
  74      );
  75  
  76  $ViewList["wishlist"] = array(
  77      "functions" => array( 'buy' ),
  78      "script" => "wishlist.php",
  79      "default_navigation_part" => 'ezmynavigationpart',
  80      'unordered_params' => array( 'offset' => 'Offset' ),
  81      "params" => array(  ) );
  82  
  83  $ViewList["orderlist"] = array(
  84      "functions" => array( 'administrate' ),
  85      "script" => "orderlist.php",
  86      "default_navigation_part" => 'ezshopnavigationpart',
  87      "unordered_params" => array( "offset" => "Offset" ),
  88      "params" => array(  ) );
  89  
  90  $ViewList["archivelist"] = array(
  91      "functions" => array( 'administrate' ),
  92      "script" => "archivelist.php",
  93      "default_navigation_part" => 'ezshopnavigationpart',
  94      "unordered_params" => array( "offset" => "Offset" ),
  95      "params" => array(  ) );
  96  
  97  $ViewList["removeorder"] = array(
  98      "functions" => array( 'administrate' ),
  99      "script" => "removeorder.php",
 100      'ui_context' => 'edit',
 101      "default_navigation_part" => 'ezshopnavigationpart',
 102      "params" => array() );
 103  
 104  $ViewList["archiveorder"] = array(
 105      "functions" => array( 'administrate' ),
 106      "script" => "archiveorder.php",
 107      'ui_context' => 'edit',
 108      "default_navigation_part" => 'ezshopnavigationpart',
 109      "params" => array() );
 110  
 111  $ViewList["unarchiveorder"] = array(
 112      "functions" => array( 'administrate' ),
 113      "script" => "unarchiveorder.php",
 114      'ui_context' => 'edit',
 115      "default_navigation_part" => 'ezshopnavigationpart',
 116      "params" => array() );
 117  
 118  
 119  $ViewList["customerlist"] = array(
 120      "functions" => array( 'administrate' ),
 121      "script" => "customerlist.php",
 122      "default_navigation_part" => 'ezshopnavigationpart',
 123      "unordered_params" => array( 'offset' => 'Offset' ),
 124      "params" => array(  ) );
 125  
 126  $ViewList["customerorderview"] = array(
 127      "functions" => array( 'administrate' ),
 128      "script" => "customerorderview.php",
 129      "default_navigation_part" => 'ezshopnavigationpart',
 130      "params" => array( "CustomerID", "Email" ) );
 131  
 132  $ViewList["statistics"] = array(
 133      "functions" => array( 'administrate' ),
 134      "script" => "orderstatistics.php",
 135      "default_navigation_part" => 'ezshopnavigationpart',
 136      "params" => array( 'Year', 'Month' ) );
 137  
 138  $ViewList["confirmorder"] = array(
 139      "functions" => array( 'buy' ),
 140      "script" => "confirmorder.php",
 141      "default_navigation_part" => 'ezshopnavigationpart',
 142      "params" => array(  ) );
 143  
 144  $ViewList["checkout"] = array(
 145      "functions" => array( 'buy' ),
 146      "script" => "checkout.php",
 147      "default_navigation_part" => 'ezshopnavigationpart',
 148      "params" => array(  ) );
 149  
 150  $ViewList["vattype"] = array(
 151      "functions" => array( 'setup' ),
 152      "script" => "vattype.php",
 153      "default_navigation_part" => 'ezshopnavigationpart',
 154      'single_post_actions' => array( 'RemoveVatTypeButton'  => 'Remove',
 155                                      'AddVatTypeButton'     => 'Add',
 156                                      'SaveVatTypeButton'    => 'SaveChanges',
 157                                      'ConfirmRemovalButton' => 'ConfirmRemoval' ),
 158      'post_action_parameters' => array( 'Remove'         => array( 'vatTypeIDList' => 'vatTypeIDList' ),
 159                                         'ConfirmRemoval' => array( 'vatTypeIDList' => 'vatTypeIDList',
 160                                                                    'VatReplacement' => 'VatReplacement' ) ),
 161      "params" => array(  ) );
 162  
 163  $ViewList["vatrules"] = array(
 164      "functions" => array( 'setup' ),
 165      "script" => "vatrules.php",
 166      "default_navigation_part" => 'ezshopnavigationpart',
 167      "params" => array() );
 168  
 169  $ViewList["editvatrule"] = array(
 170      "functions" => array( 'setup' ),
 171      "script" => "editvatrule.php",
 172      "default_navigation_part" => 'ezshopnavigationpart',
 173      'single_post_actions' => array( 'CancelButton' => 'Cancel',
 174                                      'CreateButton' => 'Create',
 175                                      'StoreChangesButton' => 'StoreChanges' ),
 176      'post_action_parameters' => array( 'Create' => array( 'Country' => 'Country',
 177                                                            'Categories' => 'Categories',
 178                                                            'VatType' => 'VatType' ),
 179                                         'StoreChanges' => array( 'RuleID' => 'RuleID',
 180                                                                  'Country' => 'Country',
 181                                                                  'Categories' => 'Categories',
 182                                                                  'VatType' => 'VatType' ) ),
 183      'params' => array( 'ruleID' ),
 184      'unordered_params' => array( 'currency' => 'Currency' ) );
 185  
 186  
 187  $ViewList["productcategories"] = array(
 188      "functions" => array( 'setup' ),
 189      "script" => "productcategories.php",
 190      "default_navigation_part" => 'ezshopnavigationpart',
 191      'single_post_actions' => array( 'AddCategoryButton'    => 'Add',
 192                                      'RemoveCategoryButton' => 'Remove',
 193                                      'ConfirmRemovalButton' => 'ConfirmRemoval', // remove dialog
 194                                      'CancelRemovalButton'  => 'CancelRemoval',  // remove dialog
 195                                      'SaveCategoriesButton' => 'StoreChanges' ),
 196      'post_action_parameters' => array( 'Remove'         => array( 'CategoryIDList' => 'CategoryIDList' ),
 197                                         'ConfirmRemoval' => array( 'CategoryIDList' => 'CategoryIDList' ) ),
 198      "params" => array(  ) );
 199  
 200  $ViewList["discountgroup"] = array(
 201      "functions" => array( 'setup' ),
 202      "script" => "discountgroup.php",
 203      "default_navigation_part" => 'ezshopnavigationpart',
 204      "params" => array(  ) );
 205  
 206  $ViewList["discountgroupedit"] = array(
 207      "functions" => array( 'setup' ),
 208      "script" => "discountgroupedit.php",
 209      'ui_context' => 'edit',
 210      "default_navigation_part" => 'ezshopnavigationpart',
 211      "params" => array( 'DiscountGroupID' ) );
 212  
 213  $ViewList["discountruleedit"] = array(
 214      "functions" => array( 'setup' ),
 215      "script" => "discountruleedit.php",
 216      'ui_context' => 'edit',
 217      "default_navigation_part" => 'ezshopnavigationpart',
 218      'post_actions' => array( 'BrowseActionName' ),
 219      "params" => array( 'DiscountGroupID', 'DiscountRuleID'  ) );
 220  
 221  $ViewList["discountgroupview"] = array(
 222      "script" => "discountgroupmembershipview.php",
 223      "default_navigation_part" => 'ezshopnavigationpart',
 224      'post_actions' => array( 'BrowseActionName' ),
 225      "params" => array( 'DiscountGroupID' ) );
 226  
 227  $ViewList['status'] = array(
 228      "functions" => array( 'edit_status' ),
 229      "script" => 'status.php',
 230      "default_navigation_part" => 'ezshopnavigationpart',
 231      "params" => array(  ) );
 232  
 233  $ViewList['setstatus'] = array(
 234      "functions" => array( 'setstatus' ),
 235      "script" => 'setstatus.php',
 236      "default_navigation_part" => 'ezshopnavigationpart',
 237      "params" => array(  ) );
 238  
 239  $ViewList['currencylist'] = array(
 240      'script' => 'currencylist.php',
 241      'default_navigation_part' => 'ezshopnavigationpart',
 242      'unordered_params' => array( 'offset' => 'Offset' ),
 243      'single_post_actions' => array( 'NewCurrencyButton' => 'NewCurrency',
 244                                      'RemoveCurrencyButton' => 'RemoveCurrency',
 245                                      'ApplyChangesButton' => 'ApplyChanges',
 246                                      'UpdateAutopricesButton' => 'UpdateAutoprices',
 247                                      'UpdateAutoRatesButton' => 'UpdateAutoRates' ),
 248      'post_action_parameters' => array( 'RemoveCurrency' => array( 'DeleteCurrencyList' => 'DeleteCurrencyList' ),
 249                                         'ApplyChanges' => array( 'CurrencyList' => 'CurrencyList',
 250                                                                  'Offset' => 'Offset' ),
 251                                         'UpdateAutoprices' => array( 'Offset' => 'Offset' ),
 252                                         'UpdateAutoRates' => array( 'Offset' => 'Offset' ) ),
 253      'params' => array(  ) );
 254  
 255  $ViewList['editcurrency'] = array(
 256      'script' => 'editcurrency.php',
 257      'default_navigation_part' => 'ezshopnavigationpart',
 258      'single_post_actions' => array( 'CancelButton' => 'Cancel',
 259                                      'CreateButton' => 'Create',
 260                                      'StoreChangesButton' => 'StoreChanges' ),
 261      'post_action_parameters' => array( 'Create' => array( 'CurrencyData' => 'CurrencyData' ),
 262                                         'StoreChanges' => array( 'CurrencyData' => 'CurrencyData',
 263                                                                  'OriginalCurrencyCode' => 'OriginalCurrencyCode' ) ),
 264      'params' => array(),
 265      'unordered_params' => array( 'currency' => 'Currency' ) );
 266  
 267  $ViewList['preferredcurrency'] = array(
 268      'script' => 'preferredcurrency.php',
 269      'default_navigation_part' => 'ezshopnavigationpart',
 270      'params' => array(  ) );
 271  
 272  $ViewList['productsoverview'] = array(
 273      'script' => 'productsoverview.php',
 274      'default_navigation_part' => 'ezshopnavigationpart',
 275      'single_post_actions' => array( 'ShowProductsButton' => 'ShowProducts',
 276                                      'SortButton' => 'Sort' ),
 277      'post_action_parameters' => array( 'ShowProducts' => array( 'ProductClass' => 'ProductClass' ),
 278                                         'Sort' => array( 'ProductClass' => 'ProductClass',
 279                                                          'SortingField' => 'SortingField',
 280                                                          'SortingOrder' => 'SortingOrder' ) ),
 281      'params' => array(),
 282      'unordered_params' => array( 'product_class' => 'ProductClass',
 283                                   'offset' => 'Offset' ) );
 284  
 285  $ViewList['setpreferredcurrency'] = array(
 286      'script' => 'setpreferredcurrency.php',
 287      'default_navigation_part' => 'ezshopnavigationpart',
 288      'single_post_actions' => array( 'SetButton' => 'Set' ),
 289      'post_action_parameters' => array( 'Set' => array( 'Currency' => 'Currency' ) ),
 290      'unordered_params' => array( 'currency' => 'Currency' ),
 291      'params' => array(  ) );
 292  
 293  $ViewList['setusercountry'] = array(
 294      'script' => 'setusercountry.php',
 295      'default_navigation_part' => 'ezshopnavigationpart',
 296      'single_post_actions' => array( 'ApplyButton' => 'Set' ),
 297      'post_action_parameters' => array( 'Set' => array( 'Country' => 'Country' ) ),
 298      'unordered_params' => array( 'country' => 'Country' ),
 299      'params' => array(  ) );
 300  
 301  
 302  $FromStatus = array(
 303      'name' => 'FromStatus',
 304      'values' => array(),
 305      'path' => 'classes/',
 306      'file' => 'ezorderstatus.php',
 307      'class' => 'eZOrderStatus',
 308      'function' => 'fetchPolicyList',
 309      'parameter' => array( false ) );
 310  
 311  $ToStatus = array(
 312      'name' => 'ToStatus',
 313      'values' => array(),
 314      'path' => 'classes/',
 315      'file' => 'ezorderstatus.php',
 316      'class' => 'eZOrderStatus',
 317      'function' => 'fetchPolicyList',
 318      'parameter' => array( false ) );
 319  
 320  $FunctionList['setup'] = array( );
 321  $FunctionList['administrate'] = array( );
 322  $FunctionList['buy'] = array( );
 323  $FunctionList['edit_status'] = array( );
 324  $FunctionList['setstatus'] = array( 'FromStatus' => $FromStatus,
 325                                      'ToStatus' => $ToStatus );
 326  
 327  ?>


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7