OXID eShop CE
6.4.2
|
Public Member Functions | |
init () | |
getProduct () | |
render () | |
setCategoryTree ($oCategoryTree) | |
setManufacturerTree ($oManufacturerTree) | |
Protected Member Functions | |
_getActCat () | |
_loadCategoryTree ($sActCat) | |
_loadManufacturerTree ($sActManufacturer) | |
_addAdditionalParams ($oProduct, $sActCat, $sActManufacturer, $sActVendor) | |
_getDefaultParams ($oProduct) | |
getManufacturerList () | |
Protected Attributes | |
$_oMoreCat = null | |
$_blIsComponent = true | |
$_oCategoryTree = null | |
$_oManufacturerTree = null | |
Transparent category manager class (executed automatically).
@subpackage oxcmp
|
protected |
Adds additional parameters: active category, list type and category id
\OxidEsales\Eshop\Application\Model\Article | $oProduct | loaded product |
string | $sActCat | active category id |
string | $sActManufacturer | active manufacturer id |
string | $sActVendor | active vendor |
|
protected |
get active category id
|
protected |
Returns array containing default list type and category (or manufacturer ir vendor) id
\OxidEsales\Eshop\Application\Model\Article | $oProduct | current product object |
|
protected |
Category tree loader
string | $sActCat | active category id |
|
protected |
Manufacturer tree loader
string | $sActManufacturer | active Manufacturer id |
|
protected |
OxidEsales\EshopCommunity\Application\Component\CategoriesComponent::getProduct | ( | ) |
get active article
OxidEsales\EshopCommunity\Application\Component\CategoriesComponent::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.
OxidEsales\EshopCommunity\Application\Component\CategoriesComponent::render | ( | ) |
Executes parent::render(), loads expanded/clicked category object, adds parameters template engine and returns list of category tree.
OxidEsales\EshopCommunity\Application\Component\CategoriesComponent::setCategoryTree | ( | $oCategoryTree | ) |
Setter of category tree
\OxidEsales\Eshop\Application\Model\CategoryList | $oCategoryTree | category list |
OxidEsales\EshopCommunity\Application\Component\CategoriesComponent::setManufacturerTree | ( | $oManufacturerTree | ) |
Setter of manufacturer tree
\OxidEsales\Eshop\Application\Model\ManufacturerList | $oManufacturerTree | manufacturer list |
|
protected |
|
protected |
|
protected |
|
protected |