function customfilter_xml_export in Custom filter 5
1 string reference to 'customfilter_xml_export'
- customfilter_menu in ./
customfilter.module - Implements hook_menu().
File
- ./
customfilter.module, line 1062
Code
function customfilter_xml_export($sets) {
$sids = explode('.', $sets);
$xml = customfilter_xml_create($sids);
header('Content-Type: application/octet-stream');
header('Content-Length: ' . strlen($xml));
header("Content-Disposition: attachment; filename=customfilter.xml");
echo $xml;
}