Working with Resource Assignment Budgets in PHP

Aspose.Tasks - Assignment Budget

To get Assignment Budget using Aspose.Tasks Java for PHP, simply invoke AssignmentBudget module. Here you can see example code.

 1$project = new Project('test_tasks.mpp');
 2$resource_assignments = $project->getResourceAssignments()->toList();
 3$asn = new Asn();
 4$i = 0;
 5while ($i < sizeof($resource_assignments))
 6{
 7    $assignment = $resource_assignments->get($i);
 8    print "Budget Cost: " . (string)$assignment -> get($asn -> BUDGET_COST);
 9    print "\nBudget Work: " . (string)$assignment -> get($asn -> BUDGET_WORK);
10    print "\n--------------------------------------------------------";
11    $i += 1;
12}

Download Running Code

Download Assignment Budget (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.