4 |
## $Id$ |
## $Id$ |
5 |
## ----------------------------------------------------------------------------- |
## ----------------------------------------------------------------------------- |
6 |
## $Log$ |
## $Log$ |
7 |
|
## Revision 1.8 2003/12/15 21:05:19 udo |
8 |
|
## bugfix: $PHP_SELF -> $_SERVER['PHP_SELF'] |
9 |
|
## |
10 |
|
## Revision 1.7 2003/05/10 18:04:45 jonen |
11 |
|
## + added values needed for 'create/add new' links |
12 |
|
## |
13 |
|
## Revision 1.6 2003/04/11 00:48:03 joko |
14 |
|
## minor fix: calling parent constructor explicitely by name now, transparency seems not be automagically compatible with inheritance in php ,-) (non-orthogonal) |
15 |
|
## |
16 |
## Revision 1.5 2003/04/09 09:59:30 joko |
## Revision 1.5 2003/04/09 09:59:30 joko |
17 |
## fixes regarding modification of decode-function-behavior |
## fixes regarding modification of decode-function-behavior |
18 |
## |
## |
74 |
// prefetch data |
// prefetch data |
75 |
$this->data_prefetch(); |
$this->data_prefetch(); |
76 |
|
|
77 |
$parent = get_parent_class($this); |
// doesn't work if EditDataItem gets inherited |
78 |
$this->$parent($title, $PHP_SELF, 600); |
//$parent = get_parent_class($this); |
79 |
|
//$this->$parent($title, $PHP_SELF, 600); |
80 |
|
|
81 |
|
// $this->StandardFormContent($title, $PHP_SELF, 600); |
82 |
|
$this->StandardFormContent($title, $_SERVER['PHP_SELF'], 600); |
83 |
|
|
84 |
} |
} |
85 |
|
|
86 |
function set_data_source(&$source) { |
function set_data_source(&$source) { |
179 |
$utils = php::mkComponent('WebExplorer::utils'); |
$utils = php::mkComponent('WebExplorer::utils'); |
180 |
$hidden = $this->get_hidden_elements(); |
$hidden = $this->get_hidden_elements(); |
181 |
$options = $this->_options['decode_args']; |
$options = $this->_options['decode_args']; |
182 |
|
$options[label] = $key; |
183 |
|
$options[parent_guid] = $this->_options['parent']['guid']; |
184 |
|
$options[parent_class] = $this->_options['parent']['class']; |
185 |
if($utils->decode_item_expr($value, $hidden, $options)) { |
if($utils->decode_item_expr($value, $hidden, $options)) { |
186 |
$table->add_row($key, $value); |
$table->add_row($key, $value); |
187 |
} |
} |
333 |
} |
} |
334 |
|
|
335 |
|
|
|
?> |
|
336 |
|
?> |