oxcmp_categories Class Reference

Inheritance diagram for oxcmp_categories:

Inheritance graph
[legend]
Collaboration diagram for oxcmp_categories:

Collaboration graph
[legend]

List of all members.


Detailed Description

Transparent category manager class (executed automatically). oxcmp

Definition at line 7 of file oxcmp_categories.php.


Public Member Functions

 init ()
 render ()

Protected Member Functions

 _loadCategoryTree ($sActCat)
 _loadVendorTree ($sActVendor)
 _loadManufacturerTree ($sActManufacturer)
 _getMoreCategory ($sActCat, $sActCont)
 _addAdditionalParams ($oProduct, $sActCat, $sActManufacturer, $sActCont, $sActTag)

Protected Attributes

 $_oMoreCat = null
 $_blIsComponent = true

Member Function Documentation

oxcmp_categories.init (  ) 

Executes parent.init(), searches for active category in URL, session, post variables ("cnid", "cdefnid"), active article ("anid", usually article details), then loads article and category if any of them available. Generates category/navigation list.

Returns:
null

Reimplemented from oxView.

Definition at line 30 of file oxcmp_categories.php.

oxcmp_categories._loadCategoryTree ( sActCat  )  [protected]

Category tree loader

Parameters:
string $sActCat active category id
Returns:
null

Definition at line 112 of file oxcmp_categories.php.

oxcmp_categories._loadVendorTree ( sActVendor  )  [protected]

Vendor tree loader

Parameters:
string $sActVendor active vendor id
Returns:
null

Definition at line 134 of file oxcmp_categories.php.

oxcmp_categories._loadManufacturerTree ( sActManufacturer  )  [protected]

Manufacturer tree loader

Parameters:
string $sActManufacturer active Manufacturer id
Returns:
null

Definition at line 158 of file oxcmp_categories.php.

oxcmp_categories.render (  ) 

Executes parent.render(), loads expanded/clicked category object, adds parameters template engine and returns list of category tree.

Returns:
oxcategorylist

Reimplemented from oxView.

Definition at line 181 of file oxcmp_categories.php.

oxcmp_categories._getMoreCategory ( sActCat,
sActCont 
) [protected]

Generates fake top navigation category 'oxmore' and handles expanding

Parameters:
string $sActCat active category id
string $sActCont active template
Returns:
oxStdClass

Definition at line 241 of file oxcmp_categories.php.

oxcmp_categories._addAdditionalParams ( oProduct,
sActCat,
sActManufacturer,
sActCont,
sActTag 
) [protected]

Adds additional parameters: active category, list type and category id

Parameters:
oxarticle $oProduct loaded product
string $sActCat active category id
string $sActManufacturer active manufacturer id
string $sActCont active template
string $sActTag active tag
Returns:
string $sActCat

Definition at line 291 of file oxcmp_categories.php.


Member Data Documentation

oxcmp_categories.$_oMoreCat = null [protected]

Definition at line 13 of file oxcmp_categories.php.

oxcmp_categories.$_blIsComponent = true [protected]

Reimplemented from oxView.

Definition at line 19 of file oxcmp_categories.php.


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

Generated on Wed May 13 13:29:33 2009 for OXID eShop CE by  doxygen 1.5.5