Multi-select input widget. More...
Public Member Functions | |
render ($obj, $token, $value) | |
Print widget. | |
Static Public Member Functions | |
static | make_multi_selection ($tokenvalues, $dflt, $select_name= 'selection') |
Creates 2 multiple select boxes with unselected alternatives on the left and selected on the right. | |
static | validate ($obj, $token, $value) |
Validate and return widget's value. |
Multi-select input widget.
static mselect_widget::make_multi_selection | ( | $ | tokenvalues, | |
$ | dflt, | |||
$ | select_name = 'selection' | |||
) | [static] |
Creates 2 multiple select boxes with unselected alternatives on the left and selected on the right.
$tokenvalues | array: Alternatives to list, in key => value form | |
$dflt | The default-selected items | |
$select_name | html form name |