/[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.17 by joko, Wed Apr 9 02:07:33 2003 UTC revision 1.18 by joko, Fri Apr 11 00:55:49 2003 UTC
# Line 15  Line 15 
15   * $Id$   * $Id$
16   *   *
17   * $Log$   * $Log$
18     * Revision 1.18  2003/04/11 00:55:49  joko
19     * updated 'datasource_handler_buildoptions': action dispatcher now aware of 'delete'
20     *
21   * Revision 1.17  2003/04/09 02:07:33  joko   * Revision 1.17  2003/04/09 02:07:33  joko
22   * CHANGE: renamed key 'classname' through 'nodename'   * CHANGE: renamed key 'classname' through 'nodename'
23   *   *
# Line 733  class DataSource_Generic extends DesignP Line 736  class DataSource_Generic extends DesignP
736                  $query_args[nodename] = $this->_query[nodename];                  $query_args[nodename] = $this->_query[nodename];
737                  break;                                break;              
738              }              }
739              if($this->_query[action] == 'write') {              
740                // dispatch action
741                if ($this->_query[action] == 'write') {
742               $query_args[action] = $this->_query[action];               $query_args[action] = $this->_query[action];
743               $query_args[data] = $this->_query[data];               $query_args[data] = $this->_query[data];
744                } elseif ($this->_query[action] == 'delete') {
745                 $query_args[action] = $this->_query[action];
746              }              }
747              $args = array(              $args = array(
748                            'data_type' => $this->_query[abstract_type],                            'data_type' => $this->_query[abstract_type],

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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