Public Member Functions | |
init () | |
render () | |
Protected Member Functions | |
_loadCategoryTree ($sActCat) | |
_loadVendorTree ($sActVendor) | |
_getMoreCategory ($sActCat, $sActCont) | |
_addAdditionalParams ($oProduct, $sActCat, $sActCont) | |
Protected Attributes | |
$_oMoreCat = null | |
$_blIsComponent = true |
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.
Reimplemented from oxView.
oxcmp_categories._loadCategoryTree | ( | $ | sActCat | ) | [protected] |
oxcmp_categories._loadVendorTree | ( | $ | sActVendor | ) | [protected] |
oxcmp_categories.render | ( | ) |
Executes parent.render(), loads expanded/clicked category object, adds parameters template engine and returns list of category tree.
Reimplemented from oxView.
oxcmp_categories._getMoreCategory | ( | $ | sActCat, | |
$ | sActCont | |||
) | [protected] |
Generates fake top navigation category 'oxmore' and handles expanding
string | $sActCat active category id | |
string | $sActCont active template |
oxcmp_categories._addAdditionalParams | ( | $ | oProduct, | |
$ | sActCat, | |||
$ | sActCont | |||
) | [protected] |
Adds additional parameters: active category, list type and category id
oxarticle | $oProduct loaded product | |
string | $sActCat active category id | |
string | $sActCont active template |
oxcmp_categories.$_oMoreCat = null [protected] |
oxcmp_categories.$_blIsComponent = true [protected] |
Reimplemented from oxView.