Public Member Functions | |
init () | |
getProduct () | |
render () | |
setCategoryTree ($oCategoryTree) | |
setManufacturerTree ($oManufacturerTree) | |
Protected Member Functions | |
_getActCat () | |
_loadCategoryTree ($sActCat) | |
_loadManufacturerTree ($sActManufacturer) | |
_addAdditionalParams ($oProduct, $sActCat, $sActManufacturer, $sActTag, $sActVendor) | |
_getDefaultParams ($oProduct) | |
Protected Attributes | |
$_oMoreCat = null | |
$_blIsComponent = true | |
$_oCategoryTree = null | |
$_oManufacturerTree = null |
Transparent category manager class (executed automatically).
oxcmp
Definition at line 8 of file oxcmp_categories.php.
oxcmp_categories._addAdditionalParams | ( | $ | oProduct, | |
$ | sActCat, | |||
$ | sActManufacturer, | |||
$ | sActTag, | |||
$ | sActVendor | |||
) | [protected] |
Adds additional parameters: active category, list type and category id
oxArticle | $oProduct loaded product | |
string | $sActCat active category id | |
string | $sActManufacturer active manufacturer id | |
string | $sActTag active tag | |
string | $sActVendor active vendor |
Definition at line 212 of file oxcmp_categories.php.
oxcmp_categories._getActCat | ( | ) | [protected] |
oxcmp_categories._getDefaultParams | ( | $ | oProduct | ) | [protected] |
Returns array containing default list type and category (or manufacturer ir vendor) id
oxArticle | $oProduct current product object |
Definition at line 260 of file oxcmp_categories.php.
oxcmp_categories._loadCategoryTree | ( | $ | sActCat | ) | [protected] |
Category tree loader
string | $sActCat active category id |
Definition at line 136 of file oxcmp_categories.php.
oxcmp_categories._loadManufacturerTree | ( | $ | sActManufacturer | ) | [protected] |
Manufacturer tree loader
string | $sActManufacturer active Manufacturer id |
Definition at line 156 of file oxcmp_categories.php.
oxcmp_categories.getProduct | ( | ) |
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.
Definition at line 48 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.
Reimplemented from oxView.
Definition at line 183 of file oxcmp_categories.php.
oxcmp_categories.setCategoryTree | ( | $ | oCategoryTree | ) |
Setter of category tree
oxCategoryList | $oCategoryTree category list |
Definition at line 284 of file oxcmp_categories.php.
oxcmp_categories.setManufacturerTree | ( | $ | oManufacturerTree | ) |
Setter of manufacturer tree
oxManufacturerList | $oManufacturerTree manufacturer list |
Definition at line 294 of file oxcmp_categories.php.
oxcmp_categories.$_blIsComponent = true [protected] |
Reimplemented from oxView.
Definition at line 23 of file oxcmp_categories.php.
oxcmp_categories.$_oCategoryTree = null [protected] |
Definition at line 30 of file oxcmp_categories.php.
oxcmp_categories.$_oManufacturerTree = null [protected] |
Definition at line 37 of file oxcmp_categories.php.
oxcmp_categories.$_oMoreCat = null [protected] |
Definition at line 16 of file oxcmp_categories.php.