Public Member Functions | Protected Member Functions | Protected Attributes

oxVendorList Class Reference

Inheritance diagram for oxVendorList:
Collaboration diagram for oxVendorList:

List of all members.

Public Member Functions

 __construct ()
 setShowVendorArticleCnt ($blShowVendorArticleCnt=false)
 loadVendorList ()
 buildVendorTree ($sLinkTarget, $sActCat, $sShopHomeUrl)
 getRootCat ()
 getPath ()
 setClickVendor ($oVendor)
 getClickVendor ()

Protected Member Functions

 _addCategoryFields ($oVendor)
 _seoSetVendorData ()

Protected Attributes

 $_oRoot = null
 $_aPath = array()
 $_blShowVendorArticleCnt = false
 $_oClickedVendor = null

Detailed Description

Vendor list manager. Collects list of vendors according to collection rules (activ, etc.).

Definition at line 8 of file oxvendorlist.php.

Constructor & Destructor Documentation

oxVendorList.__construct (  ) 

Calls parent constructor and defines if Article vendor count is shown


Definition at line 44 of file oxvendorlist.php.

Member Function Documentation

oxVendorList._addCategoryFields ( oVendor  )  [protected]

Adds category specific fields to vendor object

object $oVendor vendor object

Definition at line 145 of file oxvendorlist.php.

oxVendorList._seoSetVendorData (  )  [protected]

Processes vendor category URLs

Definition at line 179 of file oxvendorlist.php.

oxVendorList.buildVendorTree ( sLinkTarget,

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 88 of file oxvendorlist.php.

oxVendorList.getClickVendor (  ) 

returns active (open) vendor object


Definition at line 171 of file oxvendorlist.php.

oxVendorList.getPath (  ) 

Returns vendor path array


Definition at line 135 of file oxvendorlist.php.

oxVendorList.getRootCat (  ) 

Root vendor list node (which usually is a manually prefilled object) getter


Definition at line 125 of file oxvendorlist.php.

oxVendorList.loadVendorList (  ) 

Loads simple vendor list

Definition at line 63 of file oxvendorlist.php.

oxVendorList.setClickVendor ( oVendor  ) 

Sets active (open) vendor object

oxvendor $oVendor active vendor

Definition at line 161 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 55 of file oxvendorlist.php.

Member Data Documentation

oxVendorList.$_aPath = array() [protected]

Definition at line 23 of file oxvendorlist.php.

oxVendorList.$_blShowVendorArticleCnt = false [protected]

Definition at line 30 of file oxvendorlist.php.

oxVendorList.$_oClickedVendor = null [protected]

Definition at line 37 of file oxvendorlist.php.

oxVendorList.$_oRoot = null [protected]

Definition at line 16 of file oxvendorlist.php.

The documentation for this class was generated from the following file: