mselect_widget Class Reference

Multi-select input widget. More...

Inheritance diagram for mselect_widget:
select_widget base_widget

Public Member Functions

 render ($obj, $token, $value)
 Print widget.
 get_label ($obj, $token)
 Return the label tag.

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.

Detailed Description

Multi-select input widget.


Member Function Documentation

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.

Parameters:
$tokenvalues array: Alternatives to list, in key => value form
$dflt The default-selected items
$select_name html form name

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 7 May 2013 for nacoma by  doxygen 1.6.1