Documentation

GanttProject
in package
implements ReaderInterface

GanttProject

Tags
category

PHPProject

copyright

Copyright (c) 2012 - 2012 PHPProject (https://github.com/PHPOffice/PHPProject)

Table of Contents

Interfaces

ReaderInterface

Properties

$phpProject  : PhpProject
PHPProject object

Methods

__construct()  : mixed
Create a new GanttProject
canRead()  : bool
Can the current ReaderInterface read the file?
load()  : PHPProject
Loads PHPProject from file
readNodeAllocation()  : void
Node "Allocation"
readNodeAllocations()  : void
Node "Allocations"
readNodeDescription()  : void
Node "Description"
readNodeResource()  : void
Node "Resource"
readNodeResources()  : void
Node "Resources"
readNodeTask()  : void
Node "Task"
readNodeTasks()  : void
Node "Tasks"

Properties

Methods

__construct()

Create a new GanttProject

public __construct() : mixed

canRead()

Can the current ReaderInterface read the file?

public canRead(string $pFilename) : bool
Parameters
$pFilename : string
Return values
bool

load()

Loads PHPProject from file

public load(string $pFilename) : PHPProject
Parameters
$pFilename : string
Tags
throws
Exception
Return values
PHPProject

readNodeAllocation()

Node "Allocation"

private readNodeAllocation(DOMElement $domNode) : void
Parameters
$domNode : DOMElement

readNodeAllocations()

Node "Allocations"

private readNodeAllocations(XMLReader $oXML, DOMElement $domNode) : void
Parameters
$oXML : XMLReader
$domNode : DOMElement

readNodeDescription()

Node "Description"

private readNodeDescription(DOMElement $domNode) : void
Parameters
$domNode : DOMElement

readNodeResource()

Node "Resource"

private readNodeResource(DOMElement $domNode, resource $oResource) : void
Parameters
$domNode : DOMElement
$oResource : resource

readNodeResources()

Node "Resources"

private readNodeResources(XMLReader $oXML, DOMElement $domNode) : void
Parameters
$oXML : XMLReader
$domNode : DOMElement

readNodeTasks()

Node "Tasks"

private readNodeTasks(XMLReader $oXML, DOMElement $domNode) : void
Parameters
$oXML : XMLReader
$domNode : DOMElement
On this page

Search results