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 |
## |
## |
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 |
|
|