Saving Project Data to CSV and Text Formats in PHP
Contents
[
Hide
]
Aspose.Tasks - Saving a Project as CSV
To Save a Project as CSV using Aspose.Tasks Java for PHP, call save_to_csv method of SaveProjectDataToOtherFormats module. Here you can see example code.
PHP Code
$project = new Project('test_tasks.mpp');
$saveFileFormat = new SaveFileFormat();
$project->save("Project.csv", $saveFileFormat->CSV);
print "Saved project data to CSV, please check the output file";
Aspose.Tasks - Saving a Project as Text
To Save a Project as Text using Aspose.Tasks Java for PHP, call save_to_text method of SaveProjectDataToOtherFormats module. Here you can see example code.
PHP Code
$project = new Project('test_tasks.mpp');
$saveFileFormat = new SaveFileFormat();
$project->save("Project.txt", $saveFileFormat->TXT);
print "Saved project data to Text, please check the output file";
Download Running Code
Download Saving Project Data to CSV and Text Formats (Aspose.Tasks) from any of the below mentioned social coding sites: