Public Member Functions | Protected Member Functions

oxAttributeList Class Reference

Inheritance diagram for oxAttributeList:
Collaboration diagram for oxAttributeList:

List of all members.

Public Member Functions

 __construct ()
 loadAttributesByIds ($aIds)
 loadAttributes ($sArticleId, $sParentId=null)
 loadAttributesDisplayableInBasket ($sArtId, $sParentId=null)
 getCategoryAttributes ($sCategoryId, $iLang)

Protected Member Functions

 _createAttributeListFromSql ($sSelect)
 _mergeAttributes ($aAttributes, $aParentAttributes)

Detailed Description

Attribute list manager.

Definition at line 7 of file oxattributelist.php.


Constructor & Destructor Documentation

oxAttributeList.__construct (  ) 

Class constructor

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 $sSelect SQL select
Returns:
array $aAttributes

Definition at line 53 of file oxattributelist.php.

oxAttributeList._mergeAttributes ( $  aAttributes,
$  aParentAttributes 
) [protected]

Merge attribute arrays

Parameters:
array $aAttributes array of attributes
array $aParentAttributes array 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 $sCategoryId category Id
integer $iLang language No
Returns:
object;

Definition at line 148 of file oxattributelist.php.

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

Load attributes by article Id

Parameters:
string $sArticleId article id
string $sParentId article parent id

Definition at line 81 of file oxattributelist.php.

oxAttributeList.loadAttributesByIds ( $  aIds  ) 

Load all attributes by article Id's

Parameters:
array $aIds article 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 $sArtId article ids
string $sParentId parent id

Definition at line 113 of file oxattributelist.php.


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