39 public function __construct($a_title =
"", $a_value =
"", $a_info =
"")
53 $this->title = $a_title;
73 $this->info = $a_info;
93 $this->value = $a_value;
108 $this->disabled = $a_disabled;
123 $this->sub_items[] = $a_item;
138 $subInputItems =
array();
140 foreach ($this->sub_items as $subItem) {
141 if ($subItem->getType() ==
'section_header') {
145 $subInputItems[] = $subItem;
148 $subInputItems = array_merge($subInputItems, $subItem->getSubInputItemsRecursive());
152 return $subInputItems;
This class represents an option in a radio group.
setTitle($a_title)
Set Title.
setInfo($a_info)
Set Info.
getSubItems()
Get Subitems.
getSubInputItemsRecursive()
setValue($a_value)
Set Value.
addSubItem($a_item)
Add Subitem.
Create styles array
The data for the language used.
__construct($a_title="", $a_value="", $a_info="")