eZPublish  4.4
shop/module.php File Reference

Variables

 $FromStatus
 
 $FunctionList = array()
 
 $FunctionList ['setup'] = array( )
 
 $FunctionList ['administrate'] = array( )
 
 $FunctionList ['buy'] = array( )
 
 $FunctionList ['edit_status'] = array( )
 
 $FunctionList ['setstatus']
 
 $Module
 
 $ToStatus
 
 $ViewList = array()
 
 $ViewList ["add"]
 
 $ViewList ["orderview"]
 
 $ViewList ['updatebasket']
 
 $ViewList ["basket"]
 
 $ViewList ["register"]
 
 $ViewList ["userregister"]
 
 $ViewList ["wishlist"]
 
 $ViewList ["orderlist"]
 
 $ViewList ["archivelist"]
 
 $ViewList ["removeorder"]
 
 $ViewList ["archiveorder"]
 
 $ViewList ["unarchiveorder"]
 
 $ViewList ["customerlist"]
 
 $ViewList ["customerorderview"]
 
 $ViewList ["statistics"]
 
 $ViewList ["confirmorder"]
 
 $ViewList ["checkout"]
 
 $ViewList ["vattype"]
 
 $ViewList ["vatrules"]
 
 $ViewList ["editvatrule"]
 
 $ViewList ["productcategories"]
 
 $ViewList ["discountgroup"]
 
 $ViewList ["discountgroupedit"]
 
 $ViewList ["discountruleedit"]
 
 $ViewList ["discountgroupview"]
 
 $ViewList ['status']
 
 $ViewList ['setstatus']
 
 $ViewList ['currencylist']
 
 $ViewList ['editcurrency']
 
 $ViewList ['preferredcurrency']
 
 $ViewList ['productsoverview']
 
 $ViewList ['setpreferredcurrency']
 
 $ViewList ['setusercountry']
 

Variable Documentation

$FromStatus
Initial value:
= array(
'name' => 'FromStatus',
'values' => array(),
'path' => 'classes/',
'file' => 'ezorderstatus.php',
'class' => 'eZOrderStatus',
'function' => 'fetchPolicyList',
'parameter' => array( false ) )
$FunctionList = array()
$FunctionList['setup'] = array( )
$FunctionList['administrate'] = array( )
$FunctionList['buy'] = array( )
$FunctionList['edit_status'] = array( )
$FunctionList['setstatus']
Initial value:
= array( 'FromStatus' => $FromStatus,
'ToStatus' => $ToStatus )
$FromStatus
Definition: shop/module.php:309
$ToStatus
Definition: shop/module.php:318
$Module
Initial value:
= array( "name" => "eZShop",
"variable_params" => true )
$ToStatus
Initial value:
= array(
'name' => 'ToStatus',
'values' => array(),
'path' => 'classes/',
'file' => 'ezorderstatus.php',
'class' => 'eZOrderStatus',
'function' => 'fetchPolicyList',
'parameter' => array( false ) )
$ViewList = array()
$ViewList["add"]
Initial value:
= array(
"functions" => array( 'buy' ),
"script" => "add.php",
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array( "ObjectID", "Quantity" ) )
$ViewList["orderview"]
Initial value:
= array(
"functions" => array( 'buy' ),
"script" => "orderview.php",
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array( "OrderID" ) )
$ViewList['updatebasket']
Initial value:
= array(
'functions' => array( 'buy' ),
'script' => 'updatebasket.php',
'default_navigation_part' => 'ezshopnavigationpart',
'params' => array( ) )
$ViewList["basket"]
Initial value:
= array(
"functions" => array( 'buy' ),
"script" => "basket.php",
"default_navigation_part" => 'ezmynavigationpart',
'unordered_params' => array( 'error' => 'Error' ),
"params" => array( ) )
$ViewList["register"]
Initial value:
= array(
"functions" => array( 'buy' ),
"script" => "register.php",
'ui_context' => 'edit',
"default_navigation_part" => 'ezshopnavigationpart',
'single_post_actions' => array( 'StoreButton' => 'Store',
'CancelButton' => 'Cancel'
),
"params" => array( ) )
$ViewList["userregister"]
Initial value:
= array(
"functions" => array( 'buy' ),
"script" => "userregister.php",
'ui_context' => 'edit',
"default_navigation_part" => 'ezshopnavigationpart',
'single_post_actions' => array( 'StoreButton' => 'Store',
'CancelButton' => 'Cancel'
)
)
$ViewList["wishlist"]
Initial value:
= array(
"functions" => array( 'buy' ),
"script" => "wishlist.php",
"default_navigation_part" => 'ezmynavigationpart',
'unordered_params' => array( 'offset' => 'Offset' ),
"params" => array( ) )
$ViewList["orderlist"]
Initial value:
= array(
"functions" => array( 'administrate' ),
"script" => "orderlist.php",
"default_navigation_part" => 'ezshopnavigationpart',
"unordered_params" => array( "offset" => "Offset" ),
"params" => array( ) )
$ViewList["archivelist"]
Initial value:
= array(
"functions" => array( 'administrate' ),
"script" => "archivelist.php",
"default_navigation_part" => 'ezshopnavigationpart',
"unordered_params" => array( "offset" => "Offset" ),
"params" => array( ) )
$ViewList["removeorder"]
Initial value:
= array(
"functions" => array( 'administrate' ),
"script" => "removeorder.php",
'ui_context' => 'edit',
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array() )
$ViewList["archiveorder"]
Initial value:
= array(
"functions" => array( 'administrate' ),
"script" => "archiveorder.php",
'ui_context' => 'edit',
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array() )
$ViewList["unarchiveorder"]
Initial value:
= array(
"functions" => array( 'administrate' ),
"script" => "unarchiveorder.php",
'ui_context' => 'edit',
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array() )
$ViewList["customerlist"]
Initial value:
= array(
"functions" => array( 'administrate' ),
"script" => "customerlist.php",
"default_navigation_part" => 'ezshopnavigationpart',
"unordered_params" => array( 'offset' => 'Offset' ),
"params" => array( ) )
$ViewList["customerorderview"]
Initial value:
= array(
"functions" => array( 'administrate' ),
"script" => "customerorderview.php",
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array( "CustomerID", "Email" ) )
$ViewList["statistics"]
Initial value:
= array(
"functions" => array( 'administrate' ),
"script" => "orderstatistics.php",
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array( 'Year', 'Month' ) )
$ViewList["confirmorder"]
Initial value:
= array(
"functions" => array( 'buy' ),
"script" => "confirmorder.php",
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array( ) )
$ViewList["checkout"]
Initial value:
= array(
"functions" => array( 'buy' ),
"script" => "checkout.php",
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array( ) )
$ViewList["vattype"]
Initial value:
= array(
"functions" => array( 'setup' ),
"script" => "vattype.php",
"default_navigation_part" => 'ezshopnavigationpart',
'single_post_actions' => array( 'RemoveVatTypeButton' => 'Remove',
'AddVatTypeButton' => 'Add',
'SaveVatTypeButton' => 'SaveChanges',
'ConfirmRemovalButton' => 'ConfirmRemoval' ),
'post_action_parameters' => array( 'Remove' => array( 'vatTypeIDList' => 'vatTypeIDList' ),
'ConfirmRemoval' => array( 'vatTypeIDList' => 'vatTypeIDList',
'VatReplacement' => 'VatReplacement' ) ),
"params" => array( ) )
$ViewList["vatrules"]
Initial value:
= array(
"functions" => array( 'setup' ),
"script" => "vatrules.php",
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array() )
$ViewList["editvatrule"]
Initial value:
= array(
"functions" => array( 'setup' ),
"script" => "editvatrule.php",
"default_navigation_part" => 'ezshopnavigationpart',
'single_post_actions' => array( 'CancelButton' => 'Cancel',
'CreateButton' => 'Create',
'StoreChangesButton' => 'StoreChanges' ),
'post_action_parameters' => array( 'Create' => array( 'Country' => 'Country',
'Categories' => 'Categories',
'VatType' => 'VatType' ),
'StoreChanges' => array( 'RuleID' => 'RuleID',
'Country' => 'Country',
'Categories' => 'Categories',
'VatType' => 'VatType' ) ),
'params' => array( 'ruleID' ),
'unordered_params' => array( 'currency' => 'Currency' ) )
$ViewList["productcategories"]
Initial value:
= array(
"functions" => array( 'setup' ),
"script" => "productcategories.php",
"default_navigation_part" => 'ezshopnavigationpart',
'single_post_actions' => array( 'AddCategoryButton' => 'Add',
'RemoveCategoryButton' => 'Remove',
'ConfirmRemovalButton' => 'ConfirmRemoval',
'CancelRemovalButton' => 'CancelRemoval',
'SaveCategoriesButton' => 'StoreChanges' ),
'post_action_parameters' => array( 'Remove' => array( 'CategoryIDList' => 'CategoryIDList' ),
'ConfirmRemoval' => array( 'CategoryIDList' => 'CategoryIDList' ) ),
"params" => array( ) )
$ViewList["discountgroup"]
Initial value:
= array(
"functions" => array( 'setup' ),
"script" => "discountgroup.php",
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array( ) )
$ViewList["discountgroupedit"]
Initial value:
= array(
"functions" => array( 'setup' ),
"script" => "discountgroupedit.php",
'ui_context' => 'edit',
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array( 'DiscountGroupID' ) )
$ViewList["discountruleedit"]
Initial value:
= array(
"functions" => array( 'setup' ),
"script" => "discountruleedit.php",
'ui_context' => 'edit',
"default_navigation_part" => 'ezshopnavigationpart',
'post_actions' => array( 'BrowseActionName' ),
"params" => array( 'DiscountGroupID', 'DiscountRuleID' ) )
$ViewList["discountgroupview"]
Initial value:
= array(
'functions' => array( 'setup' ),
"script" => "discountgroupmembershipview.php",
"default_navigation_part" => 'ezshopnavigationpart',
'post_actions' => array( 'BrowseActionName' ),
"params" => array( 'DiscountGroupID' ) )
$ViewList['status']
Initial value:
= array(
"functions" => array( 'edit_status' ),
"script" => 'status.php',
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array( ) )
$ViewList['setstatus']
Initial value:
= array(
"functions" => array( 'setstatus' ),
"script" => 'setstatus.php',
"default_navigation_part" => 'ezshopnavigationpart',
"params" => array( ) )
$ViewList['currencylist']
Initial value:
= array(
'functions' => array( 'setup' ),
'script' => 'currencylist.php',
'default_navigation_part' => 'ezshopnavigationpart',
'unordered_params' => array( 'offset' => 'Offset' ),
'single_post_actions' => array( 'NewCurrencyButton' => 'NewCurrency',
'RemoveCurrencyButton' => 'RemoveCurrency',
'ApplyChangesButton' => 'ApplyChanges',
'UpdateAutopricesButton' => 'UpdateAutoprices',
'UpdateAutoRatesButton' => 'UpdateAutoRates' ),
'post_action_parameters' => array( 'RemoveCurrency' => array( 'DeleteCurrencyList' => 'DeleteCurrencyList' ),
'ApplyChanges' => array( 'CurrencyList' => 'CurrencyList',
'Offset' => 'Offset' ),
'UpdateAutoprices' => array( 'Offset' => 'Offset' ),
'UpdateAutoRates' => array( 'Offset' => 'Offset' ) ),
'params' => array( ) )
$ViewList['editcurrency']
Initial value:
= array(
'functions' => array( 'setup' ),
'script' => 'editcurrency.php',
'default_navigation_part' => 'ezshopnavigationpart',
'single_post_actions' => array( 'CancelButton' => 'Cancel',
'CreateButton' => 'Create',
'StoreChangesButton' => 'StoreChanges' ),
'post_action_parameters' => array( 'Create' => array( 'CurrencyData' => 'CurrencyData' ),
'StoreChanges' => array( 'CurrencyData' => 'CurrencyData',
'OriginalCurrencyCode' => 'OriginalCurrencyCode' ) ),
'params' => array(),
'unordered_params' => array( 'currency' => 'Currency' ) )
$ViewList['preferredcurrency']
Initial value:
= array(
'functions' => array( 'buy' ),
'script' => 'preferredcurrency.php',
'default_navigation_part' => 'ezshopnavigationpart',
'params' => array( ) )
$ViewList['productsoverview']
Initial value:
= array(
'functions' => array( 'administrate' ),
'script' => 'productsoverview.php',
'default_navigation_part' => 'ezshopnavigationpart',
'single_post_actions' => array( 'ShowProductsButton' => 'ShowProducts',
'SortButton' => 'Sort' ),
'post_action_parameters' => array( 'ShowProducts' => array( 'ProductClass' => 'ProductClass' ),
'Sort' => array( 'ProductClass' => 'ProductClass',
'SortingField' => 'SortingField',
'SortingOrder' => 'SortingOrder' ) ),
'params' => array(),
'unordered_params' => array( 'product_class' => 'ProductClass',
'offset' => 'Offset' ) )
$ViewList['setpreferredcurrency']
Initial value:
= array(
'functions' => array( 'buy' ),
'script' => 'setpreferredcurrency.php',
'default_navigation_part' => 'ezshopnavigationpart',
'single_post_actions' => array( 'SetButton' => 'Set' ),
'post_action_parameters' => array( 'Set' => array( 'Currency' => 'Currency' ) ),
'unordered_params' => array( 'currency' => 'Currency' ),
'params' => array( ) )
$ViewList['setusercountry']
Initial value:
= array(
'functions' => array( 'buy' ),
'script' => 'setusercountry.php',
'default_navigation_part' => 'ezshopnavigationpart',
'single_post_actions' => array( 'ApplyButton' => 'Set' ),
'post_action_parameters' => array( 'Set' => array( 'Country' => 'Country' ) ),
'unordered_params' => array( 'country' => 'Country' ),
'params' => array( ) )