Embperl::Form::Control::table(3pm) - phpMan

Command: man perldoc info search(apropos)  


Form::Control::table(3pm)      User Contributed Perl Documentation      Form::Control::table(3pm)



NAME
       Embperl::Form::Control::table - A table which get data from LDAP composed via
       joinAttrValue

SYNOPSIS
         {
         type => 'table',
         text => 'blabla',
         columns => [['foo', 'Foo item'], 'bar'],
         }

DESCRIPTION
       Used as a base class to create an table control inside an Embperl Form.  See Embperl::Form
       on how to specify parameters.  You need to overwrite this class and call the method
       show_table. show_table takes an arrayref of hashrefs as parameter which is used as data to
       display.

       PARAMETER

       type

       Needs to be 'table'

       text

       Will be used as label for the control

       columns

       Arraryref which contains an arrayrefs with definition of columns names.  Allows to specify
       multiple rows per data entry. Column definition is either the name in the data hashref or
       an arrayref with the name in the hash ref and the text to display as heading. Example:

           [
            [['email', 'E-Mail Address'], ['phone', 'Phone']],
            [['foo', 'Foo'], ['bar', 'Bar']],
           ]

       email and phone will be display on the first line with headings 'E-Mail Address' and
       'Phone' and foo and bar will be displayed on the second line for each entry.

       line2

       Arrayref with names of which the values should concated and displayed below each entry.

Author
       G. Richter (richter AT dev.de)

See Also
       perl(1), Embperl, Embperl::Form



perl v5.10.0                                2006-01-06                  Form::Control::table(3pm)

Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-23 16:29 @38.107.179.236 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!