Public Member Functions | Protected Member Functions | Protected Attributes

oxShop Class Reference

Inheritance diagram for oxShop:
Collaboration diagram for oxShop:

List of all members.

Public Member Functions

 __construct ()
 setMultiShopTables ($aMultiShopTables)
 generateViews ($blMultishopInheritCategories=false, $aMallInherit=null)
 getDefaultCategory ()
 isProductiveMode ()

Protected Member Functions

 _getViewSelect ($sTable, $iLang)
 _getViewJoinAll ($sTable)
 _getViewJoinLang ($sTable, $iLang)

Protected Attributes

 $_sClassName = 'oxshop'
 $_aMultiShopTables = array()

Detailed Description

Shop manager. Performs configuration and object loading or deletion.

Definition at line 8 of file oxshop.php.


Constructor & Destructor Documentation

oxShop.__construct (  ) 

Class constructor, initiates parent constructor (parent.oxBase()).

Reimplemented from oxI18n.

Definition at line 28 of file oxshop.php.


Member Function Documentation

oxShop._getViewJoinAll ( sTable  )  [protected]

Returns all language table view JOIN section

Parameters:
string $sTable table name
Returns:
string $sSQL

Definition at line 136 of file oxshop.php.

oxShop._getViewJoinLang ( sTable,
iLang 
) [protected]

Returns language table view JOIN section

Parameters:
string $sTable table name
array $iLang language id
Returns:
string $sSQL

Definition at line 157 of file oxshop.php.

oxShop._getViewSelect ( sTable,
iLang 
) [protected]

Returns table field name mapping sql section for single language views

Parameters:
string $sTable table name
array $iLang language id
Returns:
string $sSQL

Definition at line 116 of file oxshop.php.

oxShop.generateViews ( blMultishopInheritCategories = false,
aMallInherit = null 
)

(Re)generates shop views

Parameters:
bool $blMultishopInheritCategories config option blMultishopInherit
array $aMallInherit array of config options blMallInherit
Returns:
bool is all views generated successfully

Definition at line 62 of file oxshop.php.

oxShop.getDefaultCategory (  ) 

Returns default category of the shop.

Returns:
string

Definition at line 173 of file oxshop.php.

oxShop.isProductiveMode (  ) 

Returns true if shop in productive mode

Returns:
bool

Definition at line 183 of file oxshop.php.

oxShop.setMultiShopTables ( aMultiShopTables  ) 

Sets multi shop tables

Parameters:
string $aMultiShopTables multi shop tables
Returns:
null

Definition at line 48 of file oxshop.php.


Member Data Documentation

oxShop.$_aMultiShopTables = array() [protected]

Definition at line 22 of file oxshop.php.

oxShop.$_sClassName = 'oxshop' [protected]

Reimplemented from oxI18n.

Definition at line 15 of file oxshop.php.


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