*
* @param $exportDaos array with DAO's for queries to be exported.
*/
- public abstract function makeExport($exportDaos);
+ abstract public function makeExport($exportDaos);
/**
* @return string
*
* @return string
*/
- public abstract function getFileExtension();
+ abstract public function getFileExtension();
/**
* @return object
* Depending on the output format might want to override this, e.g. for IIF tabs need to be escaped etc,
* but for CSV it doesn't make sense because php has built in csv output functions.
*/
+
/**
* @param $s
* @param string $type
ob_clean();
flush();
readfile($config->customFileUploadDir . CRM_Utils_File::cleanFileName(basename($zip)));
- unlink($zip); //delete the zip to avoid clutter.
+ //delete the zip to avoid clutter.
+ unlink($zip);
CRM_Utils_System::civiExit();
}
}