]> andersk Git - sql-web.git/blob - lib/joe/rpcreply.lib.php
some XHTML/XML wrapper classes
[sql-web.git] / lib / joe / rpcreply.lib.php
1 <?php
2 require_once 'xml.lib.php';
3
4 class RPCReply extends XML {
5         function __construct() {
6                 parent::__construct('response');
7         }
8         function add_eval($data) {
9                 parent::add(new CDATA('eval',array(),$data));
10         }
11         function add_update($id,$data) {
12                 parent::add(new CDATA('update',array('id'=>$id),$data));
13         }
14 }
15 ?>
This page took 0.037549 seconds and 5 git commands to generate.