Change Progress of a Task in PHP

Aspose.Tasks - Change Progress of a Task

To Change Progress of a Task presentation using Aspose.Tasks Java for PHP, simply invoke ChangeProgressOfTask module. Here you can see example code.

PHP Code

1$project = new Project();
2print $project->getCalculationMode();
3$task = $project->getRootTask()->getChildren()->add("Task");
4$tsk = new Tsk();
5$task->set($tsk->DURATION, $project->getDuration(2));
6$task->set($tsk->PERCENT_COMPLETE, 50);
7print "Changed progress of task.";

Download Running Code

Download Change Progress of a Task (Aspose.Tasks) from any of the below mentioned social coding sites:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.