I18Nv2_DecoratedList | --I18Nv2_DecoratedList_HtmlSelect
Example: require_once 'I18Nv2/Country.php'; require_once 'I18Nv2/DecoratedList/HtmlSelect.php'; $country = &new I18Nv2_Country('de', 'iso-8859-1'); $select = &new I18Nv2_DecoratedList_HtmlSelect($country); $select->attributes['select']['name'] = 'country'; $select->selected['DE'] = true; echo $select->getAllCodes();
require_once 'I18Nv2/Country.php'; require_once 'I18Nv2/DecoratedList/HtmlSelect.php'; $country = &new I18Nv2_Country('de', 'iso-8859-1'); $select = &new I18Nv2_DecoratedList_HtmlSelect($country); $select->attributes['select']['name'] = 'country'; $select->selected['DE'] = true; echo $select->getAllCodes();
[line 49]
$HtmlSelect->attributes['select']['onchange'] = 'this.form.submit()';
[line 67]
$HtmlSelect->selected[$code] = true;
string decorate( mixed $value)