--- nfo/php/libs/org.netfrag.glib/DataSource/Generic.php 2003/03/29 08:00:48 1.12 +++ nfo/php/libs/org.netfrag.glib/DataSource/Generic.php 2003/04/04 02:37:14 1.13 @@ -12,9 +12,12 @@ * Cvs-Log: * *
- * $Id: Generic.php,v 1.12 2003/03/29 08:00:48 joko Exp $ + * $Id: Generic.php,v 1.13 2003/04/04 02:37:14 jonen Exp $ * * $Log: Generic.php,v $ + * Revision 1.13 2003/04/04 02:37:14 jonen + * _query[action] == write + * * Revision 1.12 2003/03/29 08:00:48 joko * modified ErrorBoxing * @@ -681,6 +684,7 @@ switch ($this->_query[metatype]) { case 'data': $command = 'queryData'; + //$command = 'getObjects'; // FIXME!!! //$this->_locator->set_option('metadata.command', $command); /* @@ -714,6 +718,10 @@ $query_args[classname] = $this->_query[classname]; break; } + if($this->_query[action] == 'write') { + $query_args[action] = $this->_query[action]; + $query_args[data] = $this->_query[data]; + } $args = array( 'data_type' => $this->_query[abstract_type], 'query_args' => $query_args