Class

eZMultiOption

class eZMultiOption

Properties

$Name
$Options
$MultiOptionCount
$OptionCounter

Methods

__construct(string $name)

Initializes with empty multioption list.

addMultiOption($name, $multiOptionPriority, $defaultValue)

addOption($newID, $OptionID, $optionValue, $optionAdditionalPrice)

sortMultiOptions()

resetOptionCounter()

changeMultiOptionId()

removeMultiOptions($array_remove)

removeOptions($arrayRemove, $optionId)

attributes()

hasAttribute($name)

attribute($name)

decodeXML($xmlString)

xmlString()

Details

at line 123
public __construct(string $name)

Initializes with empty multioption list.

Parameters

string $name

at line 138
public addMultiOption($name, $multiOptionPriority, $defaultValue)

Parameters

$name
$multiOptionPriority
$defaultValue

at line 155
public addOption($newID, $OptionID, $optionValue, $optionAdditionalPrice)

Parameters

$newID
$OptionID
$optionValue
$optionAdditionalPrice

at line 174
public sortMultiOptions()

at line 183
public resetOptionCounter()

at line 202
public changeMultiOptionId()

at line 219
public removeMultiOptions($array_remove)

Parameters

$array_remove

at line 236
public removeOptions($arrayRemove, $optionId)

Parameters

$arrayRemove
$optionId

at line 254
public attributes()

at line 265
public hasAttribute($name)

Parameters

$name

at line 275
public attribute($name)

Parameters

$name

at line 303
public decodeXML($xmlString)

Parameters

$xmlString

at line 337
public xmlString()