Setting Resource Properties in PHP
Contents
[
Hide
Show
]Aspose.Tasks - Setting Resource Properties
To set resource properties using Aspose.Tasks Java for PHP, simply invoke SetResourceProperties module. Here you can see example code.
PHP Code
1$project = new Project();
2$rsc = $project->getResources()->add("Rsc");
3$resource = new Rsc();
4$bigDecimal = new BigDecimal();
5$rsc->set($resource->STANDARD_RATE, $bigDecimal->valueOf(15));
6$rsc->set($resource->OVERTIME_RATE, $bigDecimal->valueOf(20));
7print "Set resource properties";
Download Running Code
Download Setting Resource Properties (Aspose.Tasks) from any of the below mentioned social coding sites: