OXID eShop CE  4.9.10
 All Classes Files Functions Variables Pages
oxManufacturerList Class Reference
+ Inheritance diagram for oxManufacturerList:
+ Collaboration diagram for oxManufacturerList:

Public Member Functions

 __construct ()
 setShowManufacturerArticleCnt ($blShowManufacturerArticleCnt=false)
 loadManufacturerList ()
 buildManufacturerTree ($sLinkTarget, $sActCat, $sShopHomeUrl)
 getRootCat ()
 getPath ()
 setClickManufacturer ($oManufacturer)
 getClickManufacturer ()
- Public Member Functions inherited from oxList
 offsetExists ($offset)
 offsetGet ($offset)
 offsetSet ($offset, $oBase)
 offsetUnset ($offset)
 arrayKeys ()
 rewind ()
 current ()
 key ()
 prev ()
 next ()
 valid ()
 count ()
 clear ()
 assign ($aArray)
 reverse ()
 __construct ($sObjectName=null)
 __get ($sName)
 getArray ()
 init ($sObjectName, $sCoreTable=null)
 getBaseObject ()
 setBaseObject ($oObject)
 selectString ($sSql)
 add ($oObject)
 assignArray ($aData)
 setSqlLimit ($iStart, $iRecords)
 containsFieldValue ($oVal, $sFieldName)
 getList ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _addCategoryFields ($oManufacturer)
 _seoSetManufacturerData ()
- Protected Member Functions inherited from oxList
 _assignElement ($oListObject, $aDbFields)
 _getFieldLongName ($sFieldName)

Protected Attributes

 $_oRoot = null
 $_aPath = array()
 $_blShowManufacturerArticleCnt = false
 $_oClickedManufacturer = null
- Protected Attributes inherited from oxList
 $_aArray = array()
 $_blRemovedActive = false
 $_sObjectsInListName = 'oxBase'
 $_sCoreTable = null
 $_sShopID = null
 $_aSqlLimit = array()

Additional Inherited Members

- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = null

Detailed Description

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

Definition at line 8 of file oxmanufacturerlist.php.

Constructor & Destructor Documentation

oxManufacturerList::__construct ( )

Calls parent constructor and defines if Article vendor count is shown

Returns
null

Reimplemented from oxSuperCfg.

Definition at line 44 of file oxmanufacturerlist.php.

Member Function Documentation

oxManufacturerList::_addCategoryFields (   $oManufacturer)
protected

Adds category specific fields to manufacturer object

Parameters
object$oManufacturermanufacturer object

Definition at line 144 of file oxmanufacturerlist.php.

oxManufacturerList::_seoSetManufacturerData ( )
protected

Processes manufacturer category URLs

Definition at line 178 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$sLinkTargetName of class, responsible for category rendering
string$sActCatActive category
string$sShopHomeUrlbase shop url ($myConfig->getShopHomeURL())

Definition at line 89 of file oxmanufacturerlist.php.

oxManufacturerList::getClickManufacturer ( )

returns active (open) manufacturer object

Returns
oxmanufacturer

Definition at line 170 of file oxmanufacturerlist.php.

oxManufacturerList::getPath ( )

Returns manufacturer path array

Returns
array

Definition at line 134 of file oxmanufacturerlist.php.

oxManufacturerList::getRootCat ( )

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

Returns
oxmanufacturer

Definition at line 124 of file oxmanufacturerlist.php.

oxManufacturerList::loadManufacturerList ( )

Loads simple manufacturer list

Definition at line 63 of file oxmanufacturerlist.php.

oxManufacturerList::setClickManufacturer (   $oManufacturer)

Sets active (open) manufacturer object

Parameters
oxmanufacturer$oManufactureractive manufacturer

Definition at line 160 of file oxmanufacturerlist.php.

oxManufacturerList::setShowManufacturerArticleCnt (   $blShowManufacturerArticleCnt = false)

Enables/disables manufacturer article count calculation

Parameters
bool$blShowManufacturerArticleCntto show article count or not

Definition at line 55 of file oxmanufacturerlist.php.

Member Data Documentation

oxManufacturerList::$_aPath = array()
protected

Definition at line 23 of file oxmanufacturerlist.php.

oxManufacturerList::$_blShowManufacturerArticleCnt = false
protected

Definition at line 30 of file oxmanufacturerlist.php.

oxManufacturerList::$_oClickedManufacturer = null
protected

Definition at line 37 of file oxmanufacturerlist.php.

oxManufacturerList::$_oRoot = null
protected

Definition at line 16 of file oxmanufacturerlist.php.


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