/[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.21 by jonen, Sat May 10 18:14:50 2003 UTC revision 1.22 by joko, Fri Jun 6 04:25:45 2003 UTC
# Line 14  Line 14 
14   * $Id$   * $Id$
15   *   *
16   * $Log$   * $Log$
17     * Revision 1.22  2003/06/06 04:25:45  joko
18     * fix: query args get encapsulated once more
19     *
20   * Revision 1.21  2003/05/10 18:14:50  jonen   * Revision 1.21  2003/05/10 18:14:50  jonen
21   * + implements 'create' of item (query mapping part)   * + implements 'create' of item (query mapping part)
22   *   *
# Line 811  class DataSource_Generic extends DesignP Line 814  class DataSource_Generic extends DesignP
814            // remoteMethod            // remoteMethod
815            case 'method':            case 'method':
816              $command = $this->_query[method];              $command = $this->_query[method];
817              $args = $this->_query[args];              //$args = $this->_query[args];
818                // FIX
819                $args = array( $this->_query[args] );
820              break;              break;
821    
822          }          }
# Line 820  class DataSource_Generic extends DesignP Line 825  class DataSource_Generic extends DesignP
825          // FIXME: bad behaviour?          // FIXME: bad behaviour?
826          if (!is_array($args)) { $args = array( $args ); }          if (!is_array($args)) { $args = array( $args ); }
827                    
828            //print Dumper($args);
829            
830          /*          /*
831          $this->_query[rpc_command] = $command;          $this->_query[rpc_command] = $command;
832          $this->_query[rpc_args] = $command;          $this->_query[rpc_args] = $command;

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

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