Public Member Functions | |
__construct ($sObjectsInListName= 'oxattribute') | |
loadAttributesByIds ($aIds) | |
loadAttributes ($sArticleId, $sParentId=null) | |
loadAttributesDisplayableInBasket ($sArtId, $sParentId=null) | |
getCategoryAttributes ($sCategoryId, $iLang) | |
Protected Member Functions | |
_createAttributeListFromSql ($sSelect) | |
_mergeAttributes ($aAttributes, $aParentAttributes) |
Attribute list manager.
Definition at line 7 of file oxattributelist.php.
oxAttributeList.__construct | ( | $ | sObjectsInListName = 'oxattribute' |
) |
Class constructor
string | $sObjectsInListName Associated list item object type |
Reimplemented from oxList.
Definition at line 16 of file oxattributelist.php.
oxAttributeList._createAttributeListFromSql | ( | $ | sSelect | ) | [protected] |
Fills array with keys and products with value
string | $sSelect SQL select |
Definition at line 56 of file oxattributelist.php.
oxAttributeList._mergeAttributes | ( | $ | aAttributes, | |
$ | aParentAttributes | |||
) | [protected] |
Merge attribute arrays
array | $aAttributes array of attributes | |
array | $aParentAttributes array of parent article attributes |
Definition at line 219 of file oxattributelist.php.
oxAttributeList.getCategoryAttributes | ( | $ | sCategoryId, | |
$ | iLang | |||
) |
get category attributes by category Id
string | $sCategoryId category Id | |
integer | $iLang language No |
Definition at line 154 of file oxattributelist.php.
oxAttributeList.loadAttributes | ( | $ | sArticleId, | |
$ | sParentId = null | |||
) |
Load attributes by article Id
string | $sArticleId article id | |
string | $sParentId article parent id |
Definition at line 85 of file oxattributelist.php.
oxAttributeList.loadAttributesByIds | ( | $ | aIds | ) |
Load all attributes by article Id's
array | $aIds article id's |
Definition at line 28 of file oxattributelist.php.
oxAttributeList.loadAttributesDisplayableInBasket | ( | $ | sArtId, | |
$ | sParentId = null | |||
) |
Load displayable in basket/order attributes by article Id
string | $sArtId article ids | |
string | $sParentId parent article id |
Definition at line 119 of file oxattributelist.php.