NAME
Embperl::Form::DataSource - Base class for data source objects which provides the data for ControlMutlValue objects.
SYNOPSIS
Do not use directly, instead derive a class
DESCRIPTION
This class is not used directly, it is used as a base class for all data source objects. It provides a set of methods that could be overwritten to customize the behaviour of your controls.
METHODS
get_values
returns the values and options. Must be overwritten.
get_id_from_value
returns an id for a given value. This allows one to have an id form a value/option pair which is not exactly the same as the value. This is used in json requests for example for selectdyn control.
get_datasource_controls
returns additional controls provided by the datasource object e.g. a browse button
AUTHOR
G. Richter (richter at embperl dot org)
SEE ALSO
perl(1), Embperl, Embperl::Form, Embperl::From::ControlMultValue