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

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()

Private Member Functions

 _getLanguageIds ()

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._getLanguageIds (  )  [private]

Get current Shop language ids.

Returns:
array

Definition at line 181 of file oxshop.php.

oxShop._getViewJoinAll ( sTable  )  [protected]

Returns all language table view JOIN section

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

Definition at line 134 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 155 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 114 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 171 of file oxshop.php.

oxShop.isProductiveMode (  ) 

Returns true if shop in productive mode

Returns:
bool

Definition at line 194 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: