/[cvs]/nfo/php/libs/org.netfrag.app/WebExplorer/Module/DataList.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.app/WebExplorer/Module/DataList.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jonen, Thu Mar 20 03:49:22 2003 UTC revision 1.2 by jonen, Wed Apr 9 00:38:54 2003 UTC
# Line 4  Line 4 
4  ##    $Id$  ##    $Id$
5  ##    -----------------------------------------------------------------------------  ##    -----------------------------------------------------------------------------
6  ##    $Log$  ##    $Log$
7    ##    Revision 1.2  2003/04/09 00:38:54  jonen
8    ##    + enabled action columns and actionbar
9    ##
10  ##    Revision 1.1  2003/03/20 03:49:22  jonen  ##    Revision 1.1  2003/03/20 03:49:22  jonen
11  ##    + initial commit  ##    + initial commit
12  ##  ##
# Line 21  class WebExplorer_Module_DataList extend Line 24  class WebExplorer_Module_DataList extend
24    function set_gui_object() {    function set_gui_object() {
25       //print "Options: " . Dumper($this->_args);       //print "Options: " . Dumper($this->_args);
26       $list = new GenericGUIDataList($this->_args['caption'], 600, $this->_args['orderby'], FALSE, $this->_args['options']);       $list = new GenericGUIDataList($this->_args['caption'], 600, $this->_args['orderby'], FALSE, $this->_args['options']);
27         $list->set_form_method('POST');
28         // set name of unique ident which exists for each data rowset/object
29         $unique_ident_name = "guid";
30         // enable action button for each row
31         $list->add_action_column('checkbox', 'FIRST', $unique_ident_name);
32         // enable actionbar for the action buttons
33         $list->set_actionbar();
34    
35       $this->_gui_object = &$list;       $this->_gui_object = &$list;
36    }    }
37    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed