eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZMultiOption2

class eZMultiOption2

Properties

$Name
$GroupID
$Options
$MultiOptionIDCounter
$GroupIDCounter
$OptionCounter
$ChildGroupList
$MultioptionIDList
$OptionIDList

Methods

eZMultiOption2($name, $id, $multioptionIDCounter, $optionCounter, $groupID)

setGroupIDCounter($groupIDCounter)

getGroupIDCounter()

setMultiOptionIDCounter($multioptionIDCounter)

getMultiOptionIDCounter()

setOptionCounter($optionCounter)

getOptionCounter()

addChildGroup($group, $multioptionID = false)

addMultiOption($name, $multiOptionPriority, $defaultValue, $multiOptionID)

addOption($newID, $OptionID, $optionValue, $optionAdditionalPrice, $isSelectable = 1, $objectID)

addOptionForMultioptionID($multioptionID, $OptionID, $optionValue, $optionAdditionalPrice)

setObjectForOption($multioptionID, $optionID, $objectID)

removeObjectFromOption($multioptionID, $optionID)

findGroup($groupID, $depth, $groupStack = array())

findMultiOption($multioptionID, $depth)

findOption($multioption, $optionID)

runFunctionForAllGroups($func, $params)

resetCounters()

resetOptionCounter()

changeMultiOptionId()

removeChildGroup($groupID, $depth)

removeMultiOptions($array_remove)

removeOptions($arrayRemove, $optionId)

getIDsFromMultioptions($params)

cleanupRules()

addOptionToRules($multioptionID, $optionID)

attributes()

hasAttribute($name)

attribute($name)

initCountersRecursive()

initCounters($group)

decodeXML($xmlString)

initFromXMLCompat($root, $new = false)

initGroupFromDom($root, $new = false)

xmlString()

createDomElementForGroup($doc, $groupNode, $depth)

Details

at line 21
public eZMultiOption2($name, $id, $multioptionIDCounter, $optionCounter, $groupID)

Parameters

$name
$id
$multioptionIDCounter
$optionCounter
$groupID

at line 34
public setGroupIDCounter($groupIDCounter)

Parameters

$groupIDCounter

at line 39
public getGroupIDCounter()

at line 43
public setMultiOptionIDCounter($multioptionIDCounter)

Parameters

$multioptionIDCounter

at line 48
public getMultiOptionIDCounter()

at line 52
public setOptionCounter($optionCounter)

Parameters

$optionCounter

at line 57
public getOptionCounter()

at line 62
public addChildGroup($group, $multioptionID = false)

Parameters

$group
$multioptionID

at line 92
public addMultiOption($name, $multiOptionPriority, $defaultValue, $multiOptionID)

Parameters

$name
$multiOptionPriority
$defaultValue
$multiOptionID

at line 123
public addOption($newID, $OptionID, $optionValue, $optionAdditionalPrice, $isSelectable = 1, $objectID)

Parameters

$newID
$OptionID
$optionValue
$optionAdditionalPrice
$isSelectable
$objectID

at line 149
public addOptionForMultioptionID($multioptionID, $OptionID, $optionValue, $optionAdditionalPrice)

Parameters

$multioptionID
$OptionID
$optionValue
$optionAdditionalPrice

at line 159
public setObjectForOption($multioptionID, $optionID, $objectID)

Parameters

$multioptionID
$optionID
$objectID

at line 172
public removeObjectFromOption($multioptionID, $optionID)

Parameters

$multioptionID
$optionID

at line 191
public findGroup($groupID, $depth, $groupStack = array())

Parameters

$groupID
$depth
$groupStack

at line 227
public findMultiOption($multioptionID, $depth)

Parameters

$multioptionID
$depth

at line 259
public findOption($multioption, $optionID)

Parameters

$multioption
$optionID

at line 297
public runFunctionForAllGroups($func, $params)

Parameters

$func
$params

at line 315
public resetCounters()

at line 323
public resetOptionCounter()

at line 342
public changeMultiOptionId()

at line 352
public removeChildGroup($groupID, $depth)

Parameters

$groupID
$depth

at line 394
public removeMultiOptions($array_remove)

Parameters

$array_remove

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

Parameters

$arrayRemove
$optionId

at line 427
public getIDsFromMultioptions($params)

Parameters

$params

at line 442
public cleanupRules()

at line 488
public addOptionToRules($multioptionID, $optionID)

Parameters

$multioptionID
$optionID

at line 506
public attributes()

at line 521
public hasAttribute($name)

Parameters

$name

at line 531
public attribute($name)

Parameters

$name

at line 568
public initCountersRecursive()

at line 573
public initCounters($group)

Parameters

$group

at line 595
public decodeXML($xmlString)

Parameters

$xmlString

at line 652
public initFromXMLCompat($root, $new = false)

Parameters

$root
$new

at line 672
public initGroupFromDom($root, $new = false)

Parameters

$root
$new

at line 749
public xmlString()

at line 786
public createDomElementForGroup($doc, $groupNode, $depth)

Parameters

$doc
$groupNode
$depth