Home
last modified time | relevance | path

Searched refs:optGroups (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/inc/Form/
H A DDropdownElement.php15 protected $optGroups = []; variable in dokuwiki\\Form\\DropdownElement
29 $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 $optGroups
60 public function optGroups($optGroups = null) argument
62 if ($optGroups === null) {
63 return $this->optGroups;
65 if (!is_array($optGroups)) {
[all...]