oxManufacturerList Class Reference

Inheritance diagram for oxManufacturerList:

Inheritance graph
[legend]
Collaboration diagram for oxManufacturerList:

Collaboration graph
[legend]

List of all members.


Detailed Description

Manufacturer list manager. Collects list of manufacturers according to collection rules (activ, etc.).

Definition at line 7 of file oxmanufacturerlist.php.


Public Member Functions

 __construct ($sObjectsInListName= 'oxmanufacturer')
 setShowManufacturerArticleCnt ($blShowManufacturerArticleCnt=false)
 loadManufacturerList ()
 buildManufacturerTree ($sLinkTarget, $sActCat, $sShopHomeUrl)
 getRootCat ()
 getPath ()
 getHtmlPath ()
 setClickManufacturer ($oManufacturer)
 getClickManufacturer ()

Protected Member Functions

 _addCategoryFields ($oManufacturer)
 _seoSetManufacturerData ()

Protected Attributes

 $_oRoot = null
 $_aPath = array()
 $_blShowManufacturerArticleCnt = false
 $_oClickedManufacturer = null

Constructor & Destructor Documentation

oxManufacturerList.__construct ( sObjectsInListName = 'oxmanufacturer'  ) 

Class constructor, sets callback so that Shopowner is able to add any information to the article.

Parameters:
string $sObjectsInListName optional parameter, not used
Returns:
null

Reimplemented from oxList.

Definition at line 45 of file oxmanufacturerlist.php.


Member Function Documentation

oxManufacturerList.setShowManufacturerArticleCnt ( blShowManufacturerArticleCnt = false  ) 

Enables/disables manufacturer article count calculation

Parameters:
bool $blShowManufacturerArticleCnt to show article count or not
Returns:
null

Definition at line 58 of file oxmanufacturerlist.php.

oxManufacturerList.loadManufacturerList (  ) 

Loads simple manufacturer list

Returns:
null

Definition at line 68 of file oxmanufacturerlist.php.

oxManufacturerList.buildManufacturerTree ( sLinkTarget,
sActCat,
sShopHomeUrl 
)

Creates fake root for manufacturer tree, and ads category list fileds for each manufacturer item

Parameters:
string $sLinkTarget Name of class, responsible for category rendering
string $sActCat Active category
string $sShopHomeUrl base shop url ($myConfig->getShopHomeURL())
Returns:
null

Definition at line 97 of file oxmanufacturerlist.php.

oxManufacturerList.getRootCat (  ) 

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

Returns:
oxmanufacturer

Definition at line 131 of file oxmanufacturerlist.php.

oxManufacturerList.getPath (  ) 

Returns manufacturer path array

Returns:
array

Definition at line 141 of file oxmanufacturerlist.php.

oxManufacturerList.getHtmlPath (  ) 

Returns HTML formated active manufacturer path

Returns:
string

Definition at line 151 of file oxmanufacturerlist.php.

oxManufacturerList._addCategoryFields ( oManufacturer  )  [protected]

Adds category specific fields to manufacturer object

Parameters:
object $oManufacturer manufacturer object
Returns:
null

Definition at line 169 of file oxmanufacturerlist.php.

oxManufacturerList.setClickManufacturer ( oManufacturer  ) 

Sets active (open) manufacturer object

Parameters:
oxmanufacturer $oManufacturer active manufacturer
Returns:
null

Definition at line 187 of file oxmanufacturerlist.php.

oxManufacturerList.getClickManufacturer (  ) 

returns active (open) manufacturer object

Returns:
oxmanufacturer

Definition at line 197 of file oxmanufacturerlist.php.

oxManufacturerList._seoSetManufacturerData (  )  [protected]

Processes manufacturer category URLs

Returns:
null

Definition at line 207 of file oxmanufacturerlist.php.


Member Data Documentation

oxManufacturerList.$_oRoot = null [protected]

Definition at line 14 of file oxmanufacturerlist.php.

oxManufacturerList.$_aPath = array() [protected]

Definition at line 21 of file oxmanufacturerlist.php.

oxManufacturerList.$_blShowManufacturerArticleCnt = false [protected]

Definition at line 28 of file oxmanufacturerlist.php.

oxManufacturerList.$_oClickedManufacturer = null [protected]

Definition at line 35 of file oxmanufacturerlist.php.


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

Generated on Wed Apr 22 12:31:41 2009 for OXID eShop CE by  doxygen 1.5.5