Public Member Functions | |
__construct ($sObjectsInListName= 'oxmanufacturer') | |
setShowManufacturerArticleCnt ($blShowManufacturerArticleCnt=false) | |
loadManufacturerList () | |
buildManufacturerTree ($sLinkTarget, $sActCat, $sShopHomeUrl) | |
getRootCat () | |
getPath () | |
setClickManufacturer ($oManufacturer) | |
getClickManufacturer () | |
Protected Member Functions | |
_addCategoryFields ($oManufacturer) | |
_seoSetManufacturerData () | |
Protected Attributes | |
$_oRoot = null | |
$_aPath = array() | |
$_blShowManufacturerArticleCnt = false | |
$_oClickedManufacturer = null |
Manufacturer list manager. Collects list of manufacturers according to collection rules (activ, etc.).
Definition at line 8 of file oxmanufacturerlist.php.
oxManufacturerList.__construct | ( | $ | sObjectsInListName = 'oxmanufacturer' |
) |
Class constructor, sets callback so that Shopowner is able to add any information to the article.
string | $sObjectsInListName optional parameter, not used |
Reimplemented from oxList.
Definition at line 46 of file oxmanufacturerlist.php.
oxManufacturerList._addCategoryFields | ( | $ | oManufacturer | ) | [protected] |
Adds category specific fields to manufacturer object
object | $oManufacturer manufacturer object |
Definition at line 154 of file oxmanufacturerlist.php.
oxManufacturerList._seoSetManufacturerData | ( | ) | [protected] |
Processes manufacturer category URLs
Definition at line 192 of file oxmanufacturerlist.php.
oxManufacturerList.buildManufacturerTree | ( | $ | sLinkTarget, | |
$ | sActCat, | |||
$ | sShopHomeUrl | |||
) |
Creates fake root for manufacturer tree, and ads category list fileds for each manufacturer item
string | $sLinkTarget Name of class, responsible for category rendering | |
string | $sActCat Active category | |
string | $sShopHomeUrl base shop url ($myConfig->getShopHomeURL()) |
Definition at line 97 of file oxmanufacturerlist.php.
oxManufacturerList.getClickManufacturer | ( | ) |
returns active (open) manufacturer object
Definition at line 182 of file oxmanufacturerlist.php.
oxManufacturerList.getPath | ( | ) |
Returns manufacturer path array
Definition at line 142 of file oxmanufacturerlist.php.
oxManufacturerList.getRootCat | ( | ) |
Root manufacturer list node (which usually is a manually prefilled object) getter
Definition at line 132 of file oxmanufacturerlist.php.
oxManufacturerList.loadManufacturerList | ( | ) |
oxManufacturerList.setClickManufacturer | ( | $ | oManufacturer | ) |
Sets active (open) manufacturer object
oxmanufacturer | $oManufacturer active manufacturer |
Definition at line 172 of file oxmanufacturerlist.php.
oxManufacturerList.setShowManufacturerArticleCnt | ( | $ | blShowManufacturerArticleCnt = false |
) |
Enables/disables manufacturer article count calculation
bool | $blShowManufacturerArticleCnt to show article count or not |
Definition at line 59 of file oxmanufacturerlist.php.
oxManufacturerList.$_aPath = array() [protected] |
Definition at line 22 of file oxmanufacturerlist.php.
oxManufacturerList.$_blShowManufacturerArticleCnt = false [protected] |
Definition at line 29 of file oxmanufacturerlist.php.
oxManufacturerList.$_oClickedManufacturer = null [protected] |
Definition at line 36 of file oxmanufacturerlist.php.
oxManufacturerList.$_oRoot = null [protected] |
Definition at line 15 of file oxmanufacturerlist.php.