Searched refs:optGroups (Results 1 – 2 of 2) sorted by relevance
15 protected $optGroups = []; variable in dokuwiki\\Form\\DropdownElement29 $this->optGroups[''] = new OptGroup(null, $options);46 $this->optGroups[$label] = new OptGroup($label, $options);47 return end($this->optGroups);55 * * the value being an array of options as defined in @param null|array $optGroups60 public function optGroups($optGroups = null) function in dokuwiki\\Form\\DropdownElement62 if ($optGroups === null) {63 return $this->optGroups;65 if (!is_array($optGroups)) {68 $this->optGroups = [];[all …]
117 $optGroups = $dropdown->optGroups();121 ), $optGroups['opt1']->options());