Reading Table Data from MPP files in PHP
Contents
[
Hide
Show
]Aspose.Tasks - Reading Table Data from MPP files
To read Table Data from MPP files using Aspose.Tasks Java for PHP, simply invoke ReadingTableData module. Here you can see example code.
PHP Code
1$project = new Project('test_tasks.mpp');
2$t1 = $project->getTables()->toList()->get(0);
3print "Table Fields Count" . (string)$t1->getTableFields()->size();
4$f = $t1->getTableFields()->get(0);
5print "Field width: " . (string)$f->getWidth();
6print "\nField Title: " . (string)$f->getTitle();
7print "\nField Title Alignment: " . (string)$f->getAlignTitle();
8print "\nField Align Data: " . $f->getAlignData();
9$f = $t1->getTableFields()->get(1);
10print "\nField width: " . (string)$f->getWidth();
11print "\nField Title: " . (string)$f->getTitle();
12print "\nField Title Alignment: " . (string)$f->getAlignTitle();
13print "\nField Align Data: " . (string)$f->getAlignData();
Download Running Code
Download Reading Table Data from MPP files (Aspose.Tasks) from any of the below mentioned social coding sites: