1 |
<? |
<? |
2 |
|
/** |
3 |
|
* This file contains the Application::AbstractBackend class. |
4 |
|
* |
5 |
|
* It's another (the final) code wrapper around the RPC-XML |
6 |
|
* transport-part. (DataSource::Generic, DesignPattern::RemoteProxy |
7 |
|
* and DataSource::Handler::RPCXML). |
8 |
|
* The php core remote methods are vivified here. |
9 |
|
* |
10 |
|
* @author Andreas Motl <andreas.motl@ilo.de> |
11 |
|
* @package org.netfrag.glib |
12 |
|
* @name Application::AbstractBackend |
13 |
|
* |
14 |
|
*/ |
15 |
|
|
16 |
|
|
17 |
// --------------------------------------------------------------------------- |
// --------------------------------------------------------------------------- |
18 |
// $Id$ |
// $Id$ |
19 |
// --------------------------------------------------------------------------- |
// --------------------------------------------------------------------------- |
20 |
// $Log$ |
// $Log$ |
21 |
|
// Revision 1.8 2003/04/04 21:17:27 joko |
22 |
|
// added comments |
23 |
|
// + dummy method 'function getTopics' (prepared) |
24 |
|
// |
25 |
|
// Revision 1.7 2003/03/10 22:58:48 joko |
26 |
|
// + fixed metadata for phpDocumentor |
27 |
|
// |
28 |
// Revision 1.6 2003/03/05 11:59:34 joko |
// Revision 1.6 2003/03/05 11:59:34 joko |
29 |
// renamed method |
// renamed method |
30 |
// |
// |
46 |
// --------------------------------------------------------------------------- |
// --------------------------------------------------------------------------- |
47 |
|
|
48 |
|
|
49 |
|
/** |
50 |
|
* --- Application::AbstractBackend |
51 |
|
* |
52 |
|
* @author Andreas Motl <andreas.motl@ilo.de> |
53 |
|
* @package org.netfrag.glib |
54 |
|
* @subpackage Application |
55 |
|
* @name Application::AbstractBackend |
56 |
|
* |
57 |
|
*/ |
58 |
class Application_AbstractBackend { |
class Application_AbstractBackend { |
59 |
|
|
60 |
var $rpcinfo; |
var $rpcinfo; |
103 |
$status_yesno = $status_bool ? 'yes' : 'no'; |
$status_yesno = $status_bool ? 'yes' : 'no'; |
104 |
return $status_yesno; |
return $status_yesno; |
105 |
} |
} |
106 |
|
|
107 |
|
// TODO: |
108 |
|
function getTopics($arg1) { |
109 |
|
return $this->_remote_method('getTopics', $arg1); |
110 |
|
} |
111 |
|
|
112 |
} |
} |
113 |
|
|
114 |
?> |
?> |