Documentation

MSPDI
in package
implements WriterInterface

MSPDI (Microsoft Project Data Interchange) writer

Table of Contents

Interfaces

WriterInterface

Properties

$arrAllocations  : array<string|int, array{id_res: int, id_task: int}>
$phpProject  : PhpProject
PHPProject object

Methods

__construct()  : mixed
Create a new MSPDI writer
save()  : void
Save PHPProject to file
writeAssignment()  : void
Write an assignment of a resource to a task
writeResource()  : void
writeTask()  : void

Properties

$arrAllocations

protected array<string|int, array{id_res: int, id_task: int}> $arrAllocations

Methods

save()

Save PHPProject to file

public save(string $pFilename) : void
Parameters
$pFilename : string
Tags
throws
Exception

writeAssignment()

Write an assignment of a resource to a task

protected writeAssignment(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
On this page

Search results