2 require_once("DataObjectBase.class.php");
3 require_once("xmlrpc.inc");
5 class ActionKeys
Extends DataObjectBase
{
7 function ActionKeys() {
8 $this->_addFunc("currentdate", array( "name" => "FreeB.FBGlobal.CurrentDate",
9 "sig" => array(XMLRPCSTRING
,XMLRPCINT
),
14 function currentdate($m) {
18 $procs = array(new xmlrpcval(144,"i4"),new xmlrpcval(233,"i4"));
20 // if we generated an error, create an error return response
22 return $this->_handleError($err);
25 // otherwise, we create the right response
26 // with the state name
27 return new xmlrpcresp(new xmlrpcval($procs,"array"));
32 //'FreeB.FBGlobal.CurrentDate' => \&FreeB_FBGlobal_CurrentDate,