3 |
// $Id$ |
// $Id$ |
4 |
// --------------------------------------------------------------------------- |
// --------------------------------------------------------------------------- |
5 |
// $Log$ |
// $Log$ |
6 |
|
// Revision 1.4 2003/03/01 04:58:02 joko |
7 |
|
// shifted four methods one more level to concreteness |
8 |
|
// |
9 |
// Revision 1.3 2003/02/28 04:16:19 joko |
// Revision 1.3 2003/02/28 04:16:19 joko |
10 |
// fix: getStatus now return status in bool |
// fix: getStatus now return status in bool |
11 |
// |
// |
49 |
|
|
50 |
} |
} |
51 |
|
|
|
function getObjectList() { |
|
|
return $this->_remote_method('getObjectList'); |
|
|
} |
|
|
|
|
|
function getObjects($obj_type) { |
|
|
return $this->_remote_method('getObjects', $obj_type); |
|
|
} |
|
|
|
|
|
function getObjectByGuid($obj_guid, $classname) { |
|
|
return $this->_remote_method('getObjectByGuid', array('guid' => $obj_guid, 'classname' => $classname)); |
|
|
} |
|
|
|
|
|
function saveObjectByGuid($obj, $classname) { |
|
|
return $this->_remote_method('saveObjectByGuid', array('data' => $obj, 'guid' => $obj['guid'], 'classname' => $classname)); |
|
|
} |
|
|
|
|
52 |
function getStatus() { |
function getStatus() { |
53 |
global $app; |
global $app; |
54 |
$proxy = mkObject('Data::Driver::Proxy', null, array( remote => 1, rpcinfo => $app->getConfig("rpcinfo") ) ); |
$proxy = mkObject('Data::Driver::Proxy', null, array( remote => 1, rpcinfo => $app->getConfig("rpcinfo") ) ); |