/[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.9 by joko, Fri Apr 11 00:44:46 2003 UTC
# Line 1  Line 1 
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
# Line 35  Line 41 
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   */   */
# Line 233  class GenericGUIDataList extends Default Line 239  class GenericGUIDataList extends Default
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          }          }

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

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