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 ($sObjectsInListName= 'oxattribute')
 loadAttributesByIds ($aIds)
 loadAttributes ($sArtId)
 getCategoryAttributes ($sCategoryId, $iLang)

Protected Member Functions

 _createAttributeListFromSql ($sSelect)

Detailed Description

Attribute list manager.

Definition at line 6 of file oxattributelist.php.


Constructor & Destructor Documentation

oxAttributeList.__construct ( sObjectsInListName = 'oxattribute'  ) 

Class constructor

Parameters:
string $sObjectsInListName Associated list item object type
Returns:
null

Reimplemented from oxList.

Definition at line 15 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 55 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 107 of file oxattributelist.php.

oxAttributeList.loadAttributes ( sArtId  ) 

Load attributes by article Id

Parameters:
string $sArtId article ids
Returns:
null;

Definition at line 83 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 27 of file oxattributelist.php.


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