5 |
* $Id$ |
* $Id$ |
6 |
* ------------------------------------------------------------------------- |
* ------------------------------------------------------------------------- |
7 |
* $Log$ |
* $Log$ |
8 |
|
* Revision 1.2 2003/03/05 12:14:02 joko |
9 |
|
* renamed method |
10 |
|
* constructor argument expansion |
11 |
|
* |
12 |
* Revision 1.1 2003/03/03 22:06:46 joko |
* Revision 1.1 2003/03/03 22:06:46 joko |
13 |
* refactored from Data::Driver::Proxy |
* refactored from Data::Driver::Proxy |
14 |
* |
* |
189 |
logp(get_class($this) . "->new()", PEAR_LOG_INFO); |
logp(get_class($this) . "->new()", PEAR_LOG_INFO); |
190 |
global $proxy; |
global $proxy; |
191 |
|
|
192 |
|
// 2003-03-05 - modified constructor |
193 |
|
// expand objectId |
194 |
|
if (is_array($objectId)) { |
195 |
|
$options = $objectId[1]; |
196 |
|
$objectId = $objectId[0]; |
197 |
|
} |
198 |
|
|
199 |
// trace |
// trace |
200 |
//print Dumper($objectId, $options); |
//print Dumper($objectId, $options); |
201 |
|
|
204 |
$this->_init_caching(); |
$this->_init_caching(); |
205 |
$this->_init_load(); |
$this->_init_load(); |
206 |
|
|
207 |
|
//print Dumper($this); |
208 |
|
|
209 |
} |
} |
210 |
|
|
211 |
function _init_meta_options( $objectId="", $options = array() ) { |
function _init_meta_options( $objectId="", $options = array() ) { |
230 |
|
|
231 |
if ($this->meta[remote]) { |
if ($this->meta[remote]) { |
232 |
//$this->backend = mkObject('Data::Driver::RPC::Remote', $this->meta[rpcinfo]); |
//$this->backend = mkObject('Data::Driver::RPC::Remote', $this->meta[rpcinfo]); |
233 |
$this->backend = mkObject('DataSource::Proxy::XMLRPC', $this->meta[rpcinfo]); |
$this->backend = php::mkComponent('DataSource::Proxy::XMLRPC', $this->meta[rpcinfo]); |
234 |
} |
} |
235 |
} |
} |
236 |
|
|
288 |
} |
} |
289 |
*/ |
*/ |
290 |
|
|
291 |
function getAttributes() { |
function getResult() { |
292 |
if (!$this->meta[decoded]) { |
if (!$this->meta[decoded]) { |
293 |
$this->_decode(); |
$this->_decode(); |
294 |
$this->_saveState(); |
$this->_saveState(); |