-
-
16 Apr 2014 18:33:32 UTC
- Distribution: Embperl
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (9)
- Testers (66 / 28 / 0)
- Kwalitee
- License: unknown
- Activity
24 month- Tools
- Download (768.94KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Gerald Richter <richter at embperl dot org>
- Dependencies
- File::Spec
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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
Module Install Instructions
To install Embperl, copy and paste the appropriate command in to your terminal.
cpanm Embperl
perl -MCPAN -e shell install Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.