Embperl::Form::DataSource(3pm)

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.

  1. 6.0
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12

Author

G. Richter (richter at embperl dot org)

From libembperl-perl 2.5.0-17 in Debian 12 (Bookworm). Parsed by carta from the page's man source.