dolibarr 19.0.3
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.
 
 findChildGanttLine ($tarr, $parent, $task_dependencies, $level)
 Find child Gantt line.
 

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.

References convertSecondToTime(), dol_concatdesc(), dol_escape_js(), and dol_print_date().

Referenced by findChildGanttLine().

◆ 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.

References constructGanttLine(), and findChildGanttLine().

Referenced by findChildGanttLine().