OXID eShop CE  4.8.10
 All Classes Files Functions Variables Pages
oxSelection Class Reference

Public Member Functions

 __construct ($sName, $sValue, $blDisabled, $blActive)
 getValue ()
 getName ()
 isActive ()
 isDisabled ()
 setActiveState ($blActive)
 setDisabled ($blDisabled)
 getLink ()

Protected Attributes

 $_sName = null
 $_sValue = null
 $_blActive = null
 $_blDisabled = null

Detailed Description

Variant selection container class

Definition at line 7 of file oxselection.php.

Constructor & Destructor Documentation

oxSelection::__construct (   $sName,
  $sValue,
  $blDisabled,
  $blActive 
)

Initializes oxSelection object

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

Definition at line 43 of file oxselection.php.

Member Function Documentation

oxSelection::getLink ( )

Returns selection link (currently returns "#")

Returns
string

Definition at line 120 of file oxselection.php.

oxSelection::getName ( )

Returns selection name

Returns
string

Definition at line 66 of file oxselection.php.

oxSelection::getValue ( )

Returns selection value

Returns
string

Definition at line 56 of file oxselection.php.

oxSelection::isActive ( )

Returns TRUE if current selection is active (chosen)

Returns
bool

Definition at line 76 of file oxselection.php.

oxSelection::isDisabled ( )

Returns TRUE if current selection is disabled

Returns
bool

Definition at line 86 of file oxselection.php.

oxSelection::setActiveState (   $blActive)

Sets selection active/inactive

Parameters
bool$blActiveselection state TRUE/FALSE
Returns
null

Definition at line 98 of file oxselection.php.

oxSelection::setDisabled (   $blDisabled)

Sets selection disabled/enables

Parameters
bool$blDisabledselection state TRUE/FALSE
Returns
null

Definition at line 110 of file oxselection.php.

Member Data Documentation

oxSelection::$_blActive = null
protected

Definition at line 25 of file oxselection.php.

oxSelection::$_blDisabled = null
protected

Definition at line 31 of file oxselection.php.

oxSelection::$_sName = null
protected

Definition at line 13 of file oxselection.php.

oxSelection::$_sValue = null
protected

Definition at line 19 of file oxselection.php.


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