Function printSelectorWithCustomField
Prints a selector (select list) with a custom text field from the values parameter. The following array entries will be created automatically:
- gettext('Custom') = 'custom'
If "custom" is selected the custom text field will be shown.
string |
$optionname |
The option name of the select list |
array |
$list = array() |
Key value array where key is the display value (gettext generally) |
string |
$optionlabel = null |
The label text for the select list |
string |
$optionname_customfield = null |
The option name of the custom field |
string |
$optionlabel_customfield = nulll |
THe label text for the custom field |
boolean |
$is_galleryoption = false |
Set to true if this is a special gallery class option |