Creating Resource Assignments in PHP
Contents
[
Hide
Show
]Aspose.Tasks - Creating Resource Assignments
To create resource assignments using Aspose.Tasks Java for PHP, simply invoke CreateResourceAssignment module. Here you can see example code.
1$project = new Project('test_tasks.mpp');
2$task = $project->getRootTask()->getChildren()->add("Task");
3$rsc = $project->getResources()->add("Rsc");
4$assignment = $project->getResourceAssignments()->add($task, $rsc);
5print "Created resource assignment.";
Download Running Code
Download Creating Resource Assignments (Aspose.Tasks) from any of the below mentioned social coding sites: