1 |
<? |
<? |
2 |
/* |
/* |
3 |
## ----------------------------------------------------------------------------- |
## ------------------------------------------------------------------------- |
4 |
## $Id$ |
## $Id$ |
5 |
## ----------------------------------------------------------------------------- |
## ------------------------------------------------------------------------- |
6 |
## $Log$ |
## $Log$ |
7 |
|
## Revision 1.9 2003/04/11 00:44:46 joko |
8 |
|
## minor update: shortened seperators |
9 |
|
## |
10 |
|
## Revision 1.8 2003/04/09 07:54:42 joko |
11 |
|
## cleaned up decoding part |
12 |
|
## |
13 |
## Revision 1.7 2003/04/09 00:37:53 jonen |
## Revision 1.7 2003/04/09 00:37:53 jonen |
14 |
## + added actionbar |
## + added actionbar |
15 |
## + some changes according to request vars |
## + some changes according to request vars |
41 |
## Revision 1.1 2003/03/01 22:57:40 cvsmax |
## Revision 1.1 2003/03/01 22:57:40 cvsmax |
42 |
## + inital commit |
## + inital commit |
43 |
## |
## |
44 |
## |
## ------------------------------------------------------------------------- |
|
## ----------------------------------------------------------------------------- |
|
45 |
*/ |
*/ |
46 |
|
|
47 |
|
|
48 |
/** |
/** |
49 |
* Need to make sure we have the DefaultGUIDataList object |
* Need to make sure we have the DefaultGUIDataList object |
50 |
*/ |
*/ |
239 |
$hidden = $this->_hidden_elements; |
$hidden = $this->_hidden_elements; |
240 |
$options = $this->_options['decode_args']; |
$options = $this->_options['decode_args']; |
241 |
|
|
242 |
// 1. if item is match by expression we will replace it with an link object |
// a) Iterate through the attributes of the item and replace each |
243 |
if ($utils->decode_item_expr($obj, $hidden, $options)) { |
// value with an appropriate link object if it has a certain format. |
244 |
$obj = $utils->decode_item_expr($obj, $hidden, $options); |
if ($utils->decode_item_expr($obj, $hidden, $options)) { |
245 |
} |
|
246 |
|
// b) Otherwise: If item is an Array we will replace it with a selection form object. |
247 |
// 2. if item is an Array we will replace it with an selection form object |
} else { |
248 |
elseif ( $utils->decode_item_array($obj, $hidden, $options) ) { |
$utils->decode_item_array($obj, $hidden, $options); |
|
$obj = $utils->decode_item_array($obj, $hidden, $options); |
|
249 |
} |
} |
250 |
|
|
251 |
} |
} |