コード例 #1
0
ファイル: functions.php プロジェクト: CharlieHD/U-232-V3
function xmlconvert($source)
{
    $xml = new Xml2Array();
    $xml->setXml($source);
    $array = $xml->get_array();
    return $array;
}
コード例 #2
0
 public function parse($rawBody, $contentType)
 {
     $content = Xml2Array::go($rawBody);
     return array_shift($content);
 }