dolibarr 21.0.0-beta
|
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. | |
Gantt diagram of a project.
Definition in file ganttchart.inc.php.
constructGanttLine | ( | $tarr, | |
$task, | |||
$task_dependencies, | |||
$level = 0, | |||
$project_id = null ) |
Add a gant chart line.
array<int,array{task_id:string,task_alternate_id:string,task_name:string,task_resources:string,task_start_date:string,task_end_date:string,task_is_group:int<0,1>,task_position:int,task_css:string,task_milestone:int,task_parent:int,task_parent_alternate_id:int}> | $tarr Array of all tasks | |
array{task_id:string,task_alternate_id:string,task_name:string,task_resources:string,task_start_date:string,task_end_date:string,task_is_group:int<0,1>,task_position:int,task_css:string,task_milestone:int,task_parent:int,task_parent_alternate_id:int} | $task Array with properties of one task | |
array<int[]> | $task_dependencies Task dependencies (array(array(0=>idtask,1=>idtasktofinishfisrt)) | |
int | $level | Level |
int | $project_id | Id of project |
Definition at line 178 of file ganttchart.inc.php.
References convertSecondToTime(), dol_concatdesc(), dol_escape_js(), and dol_print_date().
Referenced by findChildGanttLine().
findChildGanttLine | ( | $tarr, | |
$parent, | |||
$task_dependencies, | |||
$level ) |
Find child Gantt line.
array<int,array{task_id:string,task_alternate_id:string,task_name:string,task_resources:string,task_start_date:string,task_end_date:string,task_is_group:int<0,1>,task_position:int,task_css:string,task_milestone:int,task_parent:int,task_parent_alternate_id:int}> | $tarr tarr | |
string | $parent | Parent |
array<int[]> | $task_dependencies Task dependencies | |
int | $level | Level |
Definition at line 289 of file ganttchart.inc.php.
References constructGanttLine(), and findChildGanttLine().
Referenced by findChildGanttLine().