Inheritance diagram for oxVendorList:
Collaboration diagram for oxVendorList:Public Member Functions | |
| __construct ($sObjectsInListName= 'oxvendor') | |
| setShowVendorArticleCnt ($blShowVendorArticleCnt=false) | |
| loadVendorList () | |
| buildVendorTree ($sLinkTarget, $sActCat, $sShopHomeUrl) | |
| getRootCat () | |
| getPath () | |
| getHtmlPath () | |
| setClickVendor ($oVendor) | |
| getClickVendor () | |
Protected Member Functions | |
| _addCategoryFields ($oVendor) | |
| _seoSetVendorData () | |
Protected Attributes | |
| $_oRoot = null | |
| $_aPath = array() | |
| $_blShowVendorArticleCnt = false | |
| $_oClickedVendor = null | |
Vendor list manager. Collects list of vendors according to collection rules (activ, etc.).
Definition at line 7 of file oxvendorlist.php.
| oxVendorList.__construct | ( | $ | sObjectsInListName = 'oxvendor' |
) |
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 45 of file oxvendorlist.php.
| oxVendorList._addCategoryFields | ( | $ | oVendor | ) | [protected] |
Adds category specific fields to vendor object
| object | $oVendor vendor object |
Definition at line 172 of file oxvendorlist.php.
| oxVendorList._seoSetVendorData | ( | ) | [protected] |
| oxVendorList.buildVendorTree | ( | $ | sLinkTarget, | |
| $ | sActCat, | |||
| $ | sShopHomeUrl | |||
| ) |
Creates fake root for vendor tree, and ads category list fileds for each vendor 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 oxvendorlist.php.
| oxVendorList.getClickVendor | ( | ) |
returns active (open) vendor object
Definition at line 200 of file oxvendorlist.php.
| oxVendorList.getHtmlPath | ( | ) |
Returns HTML formated active vendor path
Definition at line 154 of file oxvendorlist.php.
| oxVendorList.getPath | ( | ) |
| oxVendorList.getRootCat | ( | ) |
Root vendor list node (which usually is a manually prefilled object) getter
Definition at line 134 of file oxvendorlist.php.
| oxVendorList.loadVendorList | ( | ) |
| oxVendorList.setClickVendor | ( | $ | oVendor | ) |
Sets active (open) vendor object
| oxvendor | $oVendor active vendor |
Definition at line 190 of file oxvendorlist.php.
| oxVendorList.setShowVendorArticleCnt | ( | $ | blShowVendorArticleCnt = false |
) |
Enables/disables vendor article count calculation
| bool | $blShowVendorArticleCnt to show article count or not |
Definition at line 58 of file oxvendorlist.php.
oxVendorList.$_aPath = array() [protected] |
Definition at line 21 of file oxvendorlist.php.
oxVendorList.$_blShowVendorArticleCnt = false [protected] |
Definition at line 28 of file oxvendorlist.php.
oxVendorList.$_oClickedVendor = null [protected] |
Definition at line 35 of file oxvendorlist.php.
oxVendorList.$_oRoot = null [protected] |
Definition at line 14 of file oxvendorlist.php.
1.7.1