/[cvs]/nfo/php/libs/org.netfrag.glib/DataSource/Generic.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/DataSource/Generic.php

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

revision 1.22 by joko, Fri Jun 6 04:25:45 2003 UTC revision 1.24 by jonen, Mon Nov 17 17:34:23 2003 UTC
# Line 14  Line 14 
14   * $Id$   * $Id$
15   *   *
16   * $Log$   * $Log$
17     * Revision 1.24  2003/11/17 17:34:23  jonen
18     * added flag 'expand' at case 'item' for full expanded objects from backend
19     *
20     * Revision 1.23  2003/07/14 10:02:32  jonen
21     * removed debug dumper
22     *
23   * Revision 1.22  2003/06/06 04:25:45  joko   * Revision 1.22  2003/06/06 04:25:45  joko
24   * fix: query args get encapsulated once more   * fix: query args get encapsulated once more
25   *   *
# Line 754  class DataSource_Generic extends DesignP Line 760  class DataSource_Generic extends DesignP
760                  } else {                  } else {
761                    $query_args[guid] = $this->_query[ident];                    $query_args[guid] = $this->_query[ident];
762                    $query_args[nodename] = $this->_query[nodename];                    $query_args[nodename] = $this->_query[nodename];
763                      // 2003-11-17 NEW: use expand flag for real obj expand at backend
764                      $query_args[expand] = 1 if $this->_query[expand];
765                  }                  }
766                  break;                  break;
767                case 'list':                case 'list':
# Line 782  class DataSource_Generic extends DesignP Line 790  class DataSource_Generic extends DesignP
790              }              }
791                            
792              // filter???              // filter???
793              print "Filter: " . Dumper($this->_query[filter]) . "<br>";              //print "Filter: " . Dumper($this->_query[filter]) . "<br>";
794              if ($this->_query[filter]) {              if ($this->_query[filter]) {
795                $query_args[filter] = $this->_query[filter];                $query_args[filter] = $this->_query[filter];
796              }              }
797                            
798              // dispatch action              // dispatch action
799              print "Action: " . $this->_query[action] . "<br>";              //print "Action: " . $this->_query[action] . "<br>";
800              if ($this->_query[action] == 'write') {              if ($this->_query[action] == 'write') {
801               $query_args[action] = $this->_query[action];               $query_args[action] = $this->_query[action];
802               $query_args[data] = $this->_query[data];               $query_args[data] = $this->_query[data];

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.24

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