zoneminder/api/app/View/Zones/xml/index.ctp

3 lines
72 B
PHP

$xml = Xml::fromArray(array('response' => $zones));
echo $xml->asXML();