コード例 #1
0
ファイル: class.xptlib.php プロジェクト: hetznerZA/ipplan
 function createFile($info, $records, $ftype, $page)
 {
     if ($ftype == "csv") {
         $tempfile = exportForm::writeCSV($info, $records, $page);
     } elseif ($ftype == "plain") {
         $tempfile = exportForm::writePlain($info, $records, $page);
     } elseif ($ftype == "tab") {
         $tempfile = exportForm::writeTab($info, $records, $page);
     } elseif ($ftype == "xml") {
         $tempfile = exportForm::writeXML($info, $records, $page);
     }
     return $tempfile;
 }