1 |
<? |
<? |
2 |
|
/** |
3 |
|
* This file contains the Application::AbstractBackend class. |
4 |
|
* |
5 |
|
* @author Andreas Motl <andreas.motl@ilo.de> |
6 |
|
* @package org.netfrag.glib |
7 |
|
* @name Application::AbstractBackend |
8 |
|
* |
9 |
|
*/ |
10 |
|
|
11 |
|
|
12 |
// --------------------------------------------------------------------------- |
// --------------------------------------------------------------------------- |
13 |
// $Id$ |
// $Id$ |
14 |
// --------------------------------------------------------------------------- |
// --------------------------------------------------------------------------- |
15 |
// $Log$ |
// $Log$ |
16 |
|
// Revision 1.7 2003/03/10 22:58:48 joko |
17 |
|
// + fixed metadata for phpDocumentor |
18 |
|
// |
19 |
|
// Revision 1.6 2003/03/05 11:59:34 joko |
20 |
|
// renamed method |
21 |
|
// |
22 |
// Revision 1.5 2003/03/03 21:11:01 joko |
// Revision 1.5 2003/03/03 21:11:01 joko |
23 |
// mungled the namespaces |
// mungled the namespaces |
24 |
// |
// |
37 |
// --------------------------------------------------------------------------- |
// --------------------------------------------------------------------------- |
38 |
|
|
39 |
|
|
40 |
|
/** |
41 |
|
* --- Application::AbstractBackend |
42 |
|
* |
43 |
|
* @author Andreas Motl <andreas.motl@ilo.de> |
44 |
|
* @package org.netfrag.glib |
45 |
|
* @subpackage Application |
46 |
|
* @name Application::AbstractBackend |
47 |
|
* |
48 |
|
*/ |
49 |
class Application_AbstractBackend { |
class Application_AbstractBackend { |
50 |
|
|
51 |
var $rpcinfo; |
var $rpcinfo; |
71 |
$rpcinfo = $this->rpcinfo; |
$rpcinfo = $this->rpcinfo; |
72 |
//$rpcinfo[to_latin] = 1; // FIXME! implement this into Data::Driver::RPC::Remote! |
//$rpcinfo[to_latin] = 1; // FIXME! implement this into Data::Driver::RPC::Remote! |
73 |
$resultHandle = mkObject('DesignPattern::RemoteProxy', $cache_key, array( key => 1, command => $command, query => $query, remote => 1, rpcinfo => $rpcinfo, cache => array( db => 0, session => 1 ) ) ); |
$resultHandle = mkObject('DesignPattern::RemoteProxy', $cache_key, array( key => 1, command => $command, query => $query, remote => 1, rpcinfo => $rpcinfo, cache => array( db => 0, session => 1 ) ) ); |
74 |
$result = $resultHandle->getAttributes(); |
$result = $resultHandle->getResult(); |
75 |
|
//print Dumper($result); exit; |
76 |
return $result; |
return $result; |
77 |
// -------------------- clone this & modify ---------- |
// -------------------- clone this & modify ---------- |
78 |
|
|