/[cvs]/nfo/php/libs/org.netfrag.patches/phphtmllib/widgets/GenericGUIDataList.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.patches/phphtmllib/widgets/GenericGUIDataList.php

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

revision 1.7 by jonen, Wed Apr 9 00:37:53 2003 UTC revision 1.8 by joko, Wed Apr 9 07:54:42 2003 UTC
# Line 4  Line 4 
4  ##    $Id$  ##    $Id$
5  ##    -----------------------------------------------------------------------------  ##    -----------------------------------------------------------------------------
6  ##    $Log$  ##    $Log$
7    ##    Revision 1.8  2003/04/09 07:54:42  joko
8    ##    cleaned up decoding part
9    ##
10  ##    Revision 1.7  2003/04/09 00:37:53  jonen  ##    Revision 1.7  2003/04/09 00:37:53  jonen
11  ##    + added actionbar  ##    + added actionbar
12  ##    + some changes according to request vars  ##    + some changes according to request vars
# Line 233  class GenericGUIDataList extends Default Line 236  class GenericGUIDataList extends Default
236            $hidden = $this->_hidden_elements;            $hidden = $this->_hidden_elements;
237            $options = $this->_options['decode_args'];            $options = $this->_options['decode_args'];
238                        
239            // 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
240            if ($utils->decode_item_expr($obj, $hidden, $options)) {              // value with an appropriate link object if it has a certain format.
241              $obj = $utils->decode_item_expr($obj, $hidden, $options);              if ($utils->decode_item_expr($obj, $hidden, $options)) {
242            }  
243              // b) Otherwise: If item is an Array we will replace it with a selection form object.
244            // 2. if item is an Array we will replace it with an selection form object              } else {
245            elseif ( $utils->decode_item_array($obj, $hidden, $options) ) {              $utils->decode_item_array($obj, $hidden, $options);
             $obj = $utils->decode_item_array($obj, $hidden, $options);    
246            }            }
247    
248          }          }

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

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