Public Member Functions | Protected Attributes

oxVariantSelectList Class Reference

Inheritance diagram for oxVariantSelectList:
Collaboration diagram for oxVariantSelectList:

List of all members.

Public Member Functions

 __construct ($sLabel, $iIndex)
 getLabel ()
 addVariant ($sName, $sValue, $blDisabled, $blActive)
 getActiveSelection ()
 getSelections ()

Protected Attributes

 $_sLabel = null
 $_iIndex = 0
 $_aList = array()
 $_oActiveSelection = null

Detailed Description

Variant selection lists manager class

Definition at line 7 of file oxvariantselectlist.php.


Constructor & Destructor Documentation

oxVariantSelectList.__construct ( sLabel,
iIndex 
)

Builds current selection list

Parameters:
string $sLabel list label
int $iIndex list index
Returns:
null

Definition at line 41 of file oxvariantselectlist.php.


Member Function Documentation

oxVariantSelectList.addVariant ( sName,
sValue,
blDisabled,
blActive 
)

Adds given variant info to current variant selection list

Parameters:
string $sName selection name
string $sValue selection value
string $blDisabled selection state - disabled/enabled
string $blActive selection state - active/inactive
Returns:
bool

Definition at line 67 of file oxvariantselectlist.php.

oxVariantSelectList.getActiveSelection (  ) 

Returns active selection object

Returns:
oxSelection

Implements oxISelectList.

Definition at line 99 of file oxvariantselectlist.php.

oxVariantSelectList.getLabel (  ) 

Returns variant selection list label

Returns:
string

Implements oxISelectList.

Definition at line 52 of file oxvariantselectlist.php.

oxVariantSelectList.getSelections (  ) 

Returns array of oxSelection's

Returns:
array

Implements oxISelectList.

Definition at line 109 of file oxvariantselectlist.php.


Member Data Documentation

oxVariantSelectList.$_aList = array() [protected]

Definition at line 25 of file oxvariantselectlist.php.

oxVariantSelectList.$_iIndex = 0 [protected]

Definition at line 19 of file oxvariantselectlist.php.

oxVariantSelectList.$_oActiveSelection = null [protected]

Definition at line 31 of file oxvariantselectlist.php.

oxVariantSelectList.$_sLabel = null [protected]

Definition at line 13 of file oxvariantselectlist.php.


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