Inheritance diagram for oxAttributeList:
Collaboration diagram for oxAttributeList: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 218 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 153 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 baskte/order attributes by article Id
| string | $sArtId article ids |
Definition at line 118 of file oxattributelist.php.
1.7.1