GnomePlanner
in package
implements
WriterInterface
GnomePlanner writer
Table of Contents
Interfaces
Properties
- $arrAllocations : array<string|int, array{id_res: int, id_task: int}>
- $phpProject : PhpProject
- PHPProject object
Methods
- __construct() : mixed
- Create a new GnomePlanner writer
- save() : void
- Save PHPProject to file
- writeAllocation() : void
- Write allocation of a resource for a task
- writeResource() : void
- writeTask() : void
Properties
$arrAllocations
protected
array<string|int, array{id_res: int, id_task: int}>
$arrAllocations
$phpProject
PHPProject object
protected
PhpProject
$phpProject
Methods
__construct()
Create a new GnomePlanner writer
public
__construct(PhpProject $phpProject) : mixed
Parameters
- $phpProject : PhpProject
save()
Save PHPProject to file
public
save(string $pFilename) : void
Parameters
- $pFilename : string
Tags
writeAllocation()
Write allocation of a resource for a task
protected
writeAllocation(XMLWriter $xml, int $idTask, int $idResource) : void
Parameters
- $xml : XMLWriter
- $idTask : int
- $idResource : int
writeResource()
protected
writeResource(XMLWriter $xml, resource $resource) : void
Parameters
- $xml : XMLWriter
- $resource : resource
writeTask()
protected
writeTask(XMLWriter $xml, Task $task) : void