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 |
* |
* |
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 |
} |
} |
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; |