$option = $this->createElement('option', $desc);
$option->setAttribute('value', $key);
if ($selected) { $option->setAttribute('selected', ''); }
return $option;
}
$option = $this->createElement('option', $desc);
$option->setAttribute('value', $key);
if ($selected) { $option->setAttribute('selected', ''); }
return $option;
}