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

3 lines
75 B
PHP

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