Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions

Module_Config Class Reference

Inheritance diagram for Module_Config:
Collaboration diagram for Module_Config:

List of all members.

Public Member Functions

 __construct ()
 render ()
 _loadMetadataConfVars ($aModuleSettings)
 saveConfVars ()

Protected Member Functions

 _getModuleForConfigVars ()

Protected Attributes

 $_sModule = 'shop_config.tpl'

Private Member Functions

 _getDbConfigTypeName ($sType)

Detailed Description

Admin article main deliveryset manager. There is possibility to change deliveryset name, article, user and etc. Admin Menu: Shop settings -> Shipping & Handling -> Main Sets.

Definition at line 9 of file module_config.php.


Constructor & Destructor Documentation

Module_Config.__construct (  ) 

Add additional config type for modules.

Reimplemented from oxAdminView.

Definition at line 17 of file module_config.php.


Member Function Documentation

Module_Config._getDbConfigTypeName ( sType  )  [private]

Convert metadata type to DB type.

Parameters:
string $sType Metadata type.
Returns:
string

Definition at line 193 of file module_config.php.

Module_Config._getModuleForConfigVars (  )  [protected]

return module filter for config variables

Returns:
string

Reimplemented from Shop_Config.

Definition at line 67 of file module_config.php.

Module_Config._loadMetadataConfVars ( aModuleSettings  ) 

Load and parse config vars from metadata. Return value is a map: 'vars' => config variable values as array[type][name] = value 'constraints' => constraints list as array[name] = constraint 'grouping' => grouping info as array[name] = grouping

Parameters:
array $aModuleSettings settings array from module metadata
Returns:
array

Definition at line 83 of file module_config.php.

Module_Config.render (  ) 

Executes parent method parent.render(), creates deliveryset category tree, passes data to Smarty engine and returns name of template file "deliveryset_main.tpl".

Returns:
string

Reimplemented from Shop_Config.

Definition at line 29 of file module_config.php.

Module_Config.saveConfVars (  ) 

Saves shop configuration variables

Reimplemented from Shop_Config.

Definition at line 159 of file module_config.php.


Member Data Documentation

Module_Config.$_sModule = 'shop_config.tpl' [protected]

Definition at line 12 of file module_config.php.


The documentation for this class was generated from the following file: