dolibarr  19.0.0-dev
Functions
ganttchart.inc.php File Reference

Gantt diagram of a project. More...

Go to the source code of this file.

Functions

 constructGanttLine ($tarr, $task, $task_dependencies, $level=0, $project_id=null)
 Add a gant chart line. More...
 
 findChildGanttLine ($tarr, $parent, $task_dependencies, $level)
 Find child Gantt line. More...
 

Detailed Description

Gantt diagram of a project.

Definition in file ganttchart.inc.php.

Function Documentation

◆ constructGanttLine()

constructGanttLine (   $tarr,
  $task,
  $task_dependencies,
  $level = 0,
  $project_id = null 
)

Add a gant chart line.

Parameters
array$tarrArray of all tasks
array$taskArray with properties of one task
array$task_dependenciesTask dependencies (array(array(0=>idtask,1=>idtasktofinishfisrt))
int$levelLevel
int$project_idId of project
Returns
void

Definition at line 173 of file ganttchart.inc.php.

◆ findChildGanttLine()

findChildGanttLine (   $tarr,
  $parent,
  $task_dependencies,
  $level 
)

Find child Gantt line.

Parameters
array$tarrtarr
int$parentParent
array$task_dependenciesTask dependencies
int$levelLevel
Returns
void

Definition at line 284 of file ganttchart.inc.php.