Gerald Richter > Embperl > Embperl::Form::DataSource

Download:
Embperl-2.5.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  2
View/Report Bugs
Source  

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 allow to have an id form an value/option pair which is not excat 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

syntax highlighting: