OXID eShop CE  4.10.7
 All Classes Namespaces Files Functions Variables Pages
oxVariantSelectList Class Reference
+ Inheritance diagram for oxVariantSelectList:
+ Collaboration diagram for oxVariantSelectList:

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$sLabellist label
int$iIndexlist index
Returns
null

Definition at line 46 of file oxvariantselectlist.php.

Member Function Documentation

oxVariantSelectList::addVariant (   $sName,
  $sValue,
  $blDisabled,
  $blActive 
)

Adds given variant info to current variant selection list

Parameters
string$sNameselection name
string$sValueselection value
string$blDisabledselection state - disabled/enabled
string$blActiveselection state - active/inactive

Definition at line 70 of file oxvariantselectlist.php.

oxVariantSelectList::getActiveSelection ( )

Returns active selection object

Returns
oxSelection

Implements oxISelectList.

Definition at line 104 of file oxvariantselectlist.php.

oxVariantSelectList::getLabel ( )

Returns variant selection list label

Returns
string

Implements oxISelectList.

Definition at line 57 of file oxvariantselectlist.php.

oxVariantSelectList::getSelections ( )

Returns array of oxSelection's

Returns
array

Implements oxISelectList.

Definition at line 114 of file oxvariantselectlist.php.

Member Data Documentation

oxVariantSelectList::$_aList = array()
protected

Definition at line 29 of file oxvariantselectlist.php.

oxVariantSelectList::$_iIndex = 0
protected

Definition at line 22 of file oxvariantselectlist.php.

oxVariantSelectList::$_oActiveSelection = null
protected

Definition at line 36 of file oxvariantselectlist.php.

oxVariantSelectList::$_sLabel = null
protected

Definition at line 15 of file oxvariantselectlist.php.


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