Embperl::Form::DataSource3pm
Base class for data source objects which provides the data for controlmutlvalue objects.
Usage
Do not use directly, instead derive a class
Overview
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
Releases
6 releases since Debian 6.0 (Squeeze); the text changed 5 times.