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

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

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

revision 1.5 by jonen, Mon Apr 7 22:29:27 2003 UTC revision 1.7 by joko, Wed Apr 16 16:15:27 2003 UTC
# Line 4  Line 4 
4  ##    $Id$  ##    $Id$
5  ##    -----------------------------------------------------------------------------  ##    -----------------------------------------------------------------------------
6  ##    $Log$  ##    $Log$
7    ##    Revision 1.7  2003/04/16 16:15:27  joko
8    ##    behavior fix to 'function add_hidden_element': just calling 'add_hidden_element' on core instance of it provides this method
9    ##
10    ##    Revision 1.6  2003/04/10 06:19:33  joko
11    ##    minor fix: prevent use of undefined instance
12    ##
13  ##    Revision 1.5  2003/04/07 22:29:27  jonen  ##    Revision 1.5  2003/04/07 22:29:27  jonen
14  ##    + minor changes  ##    + minor changes
15  ##  ##
# Line 85  class WebExplorer_Module_AbstractGUIModu Line 91  class WebExplorer_Module_AbstractGUIModu
91    
92        
93    function add_hidden_element($label, $value) {    function add_hidden_element($label, $value) {
94        // TODO: review this!
95        if (!$this->_gui_object) { return; }
96      //print "Label: $label => $value<br>";      //print "Label: $label => $value<br>";
97      $this->_gui_object->add_hidden_element($label, $value);      
98        // fixed: (alpha, maybe this doesn't work out well...)
99        if (method_exists($this->_gui_object, 'add_hidden_element')) {
100          $this->_gui_object->add_hidden_element($label, $value);
101        }
102    }    }
103    
104    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

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