Rechercher une page de manuel
Embperl::Form::ControlMultValue.3pm
Langue: en
Version: 2007-07-22 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Embperl::Form::ControlMultValue - Base class for controls inside an Embperl Form which have multiple values to select from, like a select box or radio buttons.SYNOPSIS
Do not use directly, instead derive a classDESCRIPTION
This class is not used directly, it is used as a base class for all controls which have multiple values to select from inside an Embperl Form. It provides a set of methods that could be overwritten to customize the behaviour of your controls.METHODS
get_values
returns the values and optionsget_active_id
get the id of the value which is currently activePARAMETERS
valuesArrayref with the values to select from. This is what gets submited back to the server.
options
Arrayref with the options to select from. This is what the user sees.
datasrc
Name of an class which provides the values for the values and options parameters. Either a full package name or a name, in which case all packages which are returned by Embperl::Form::get_datasrc_packages are searched.
AUTHOR
G. Richter (richter@dev.ecos.de)SEE ALSO
perl(1), Embperl, Embperl::Form, Embperl::From::Control, Embperl::Form::DataSourceContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre