示例#1
0
 /**
  * Converts Info Object into the array of  XML_RPC_Response structures
  *
  * @access public
  *
  * @param object $aInfoObjects
  *
  * @return XML_RPC_Response
  */
 function getArrayOfEntityResponse($aInfoObjects)
 {
     $cRecords = 0;
     foreach ($aInfoObjects as $oInfoObject) {
         $xmlValue[$cRecords] = XmlRpcUtils::getEntity($oInfoObject);
         $cRecords++;
     }
     $value = new XML_RPC_Value($xmlValue, $GLOBALS['XML_RPC_Array']);
     return new XML_RPC_Response($value);
 }