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

Public Member Functions

 __construct ()
 loadAttributesByIds ($aIds)
 loadAttributes ($sArticleId, $sParentId=null)
 loadAttributesDisplayableInBasket ($sArtId, $sParentId=null)
 getCategoryAttributes ($sCategoryId, $iLang)
- 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

 _createAttributeListFromSql ($sSelect)
 _mergeAttributes ($aAttributes, $aParentAttributes)
- Protected Member Functions inherited from oxList
 _assignElement ($oListObject, $aDbFields)
 _getFieldLongName ($sFieldName)

Additional Inherited Members

- Protected Attributes inherited from oxList
 $_aArray = array()
 $_blRemovedActive = false
 $_sObjectsInListName = 'oxBase'
 $_sCoreTable = null
 $_sShopID = null
 $_aSqlLimit = array()
- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = null

Detailed Description

Attribute list manager.

Definition at line 7 of file oxattributelist.php.

Constructor & Destructor Documentation

oxAttributeList::__construct ( )

Class constructor

Reimplemented from oxSuperCfg.

Definition at line 13 of file oxattributelist.php.

Member Function Documentation

oxAttributeList::_createAttributeListFromSql (   $sSelect)
protected

Fills array with keys and products with value

Parameters
string$sSelectSQL select
Returns
array $aAttributes

Definition at line 53 of file oxattributelist.php.

oxAttributeList::_mergeAttributes (   $aAttributes,
  $aParentAttributes 
)
protected

Merge attribute arrays

Parameters
array$aAttributesarray of attributes
array$aParentAttributesarray of parent article attributes
Returns
array $aAttributes

Definition at line 213 of file oxattributelist.php.

oxAttributeList::getCategoryAttributes (   $sCategoryId,
  $iLang 
)

get category attributes by category Id

Parameters
string$sCategoryIdcategory Id
integer$iLanglanguage No
Returns
object;

Definition at line 148 of file oxattributelist.php.

oxAttributeList::loadAttributes (   $sArticleId,
  $sParentId = null 
)

Load attributes by article Id

Parameters
string$sArticleIdarticle id
string$sParentIdarticle parent id

Definition at line 81 of file oxattributelist.php.

oxAttributeList::loadAttributesByIds (   $aIds)

Load all attributes by article Id's

Parameters
array$aIdsarticle id's
Returns
array $aAttributes;

Definition at line 25 of file oxattributelist.php.

oxAttributeList::loadAttributesDisplayableInBasket (   $sArtId,
  $sParentId = null 
)

Load displayable in baskte/order attributes by article Id

Parameters
string$sArtIdarticle ids
string$sParentIdparent id

Definition at line 113 of file oxattributelist.php.


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