Minor formatting change

This commit is contained in:
Miles Lott 2001-12-04 13:49:56 +00:00
parent 1b2e39e90b
commit 10db3ad787

View File

@ -390,7 +390,8 @@ text is a string, it contains the body of the message.
function v1_manyTypes($m)
{
return CreateObject('phpgwapi.xmlrpcresp',CreateObject('phpgwapi.xmlrpcval',array(
return CreateObject('phpgwapi.xmlrpcresp',
CreateObject('phpgwapi.xmlrpcval',array(
$m->getParam(0),
$m->getParam(1),
$m->getParam(2),
@ -421,7 +422,8 @@ text is a string, it contains the body of the message.
{
$sno=$m->getParam(0);
$v=$sno->scalarval();
return CreateObject('phpgwapi.xmlrpcresp',CreateObject('phpgwapi.xmlrpcval',array(
return CreateObject('phpgwapi.xmlrpcresp',
CreateObject('phpgwapi.xmlrpcval',array(
'times10' => CreateObject('phpgwapi.xmlrpcval',$v*10, 'int'),
'times100' => CreateObject('phpgwapi.xmlrpcval',$v*100, 'int'),
'times1000' => CreateObject('phpgwapi.xmlrpcval',$v*1000, 'int')
@ -479,7 +481,8 @@ text is a string, it contains the body of the message.
break;
}
}
return CreateObject('phpgwapi.xmlrpcresp',CreateObject('phpgwapi.xmlrpcval',array(
return CreateObject('phpgwapi.xmlrpcresp',
CreateObject('phpgwapi.xmlrpcval',array(
'ctLeftAngleBrackets' => CreateObject('phpgwapi.xmlrpcval',$lt, 'int'),
'ctRightAngleBrackets' => CreateObject('phpgwapi.xmlrpcval',$gt, 'int'),
'ctAmpersands' => CreateObject('phpgwapi.xmlrpcval',$amp, 'int'),