";
$col.= "
".$colName." ";
$col.= "
";
switch($idCol){
case 'sprintBacklog':
$sotasks->sotasksKanban('sprintBacklog');
for($i=0;$itasksElements['tasks_id_owner']);$i++){
$tasks_id=$sotasks->tasksElements['tasks_id'][$i];
$tasks_priority=$sotasks->tasksElements['tasks_priority'][$i];
$tasks_title=$sotasks->tasksElements['tasks_title'][$i];
$tasks_description=$sotasks->tasksElements['tasks_description'][$i];
$tasks_estimate=$sotasks->tasksElements['tasks_estimate'][$i];
$col.= $this->task($list->uidnumber2cn($sotasks->tasksElements['tasks_id_owner'][$i]),$tasks_id,$tasks_priority,$tasks_title,$tasks_description,$tasks_estimate);
}
break;
case 'doing':
$sotasks->sotasksKanban('doing');
for($i=0;$itasksElements['tasks_id_owner']);$i++){
$tasks_id=$sotasks->tasksElements['tasks_id'][$i];
$tasks_priority=$sotasks->tasksElements['tasks_priority'][$i];
$tasks_title=$sotasks->tasksElements['tasks_title'][$i];
$tasks_description=$sotasks->tasksElements['tasks_description'][$i];
$tasks_estimate=$sotasks->tasksElements['tasks_estimate'][$i];
$col.= $this->task($list->uidnumber2cn($sotasks->tasksElements['tasks_id_owner'][$i]),$tasks_id,$tasks_priority,$tasks_title,$tasks_description,$tasks_estimate);
}
break;
case 'tests':
$sotasks->sotasksKanban('tests');
for($i=0;$itasksElements['tasks_id_owner']);$i++){
$tasks_id=$sotasks->tasksElements['tasks_id'][$i];
$tasks_priority=$sotasks->tasksElements['tasks_priority'][$i];
$tasks_title=$sotasks->tasksElements['tasks_title'][$i];
$tasks_description=$sotasks->tasksElements['tasks_description'][$i];
$tasks_estimate=$sotasks->tasksElements['tasks_estimate'][$i];
$col.= $this->task($list->uidnumber2cn($sotasks->tasksElements['tasks_id_owner'][$i]),$tasks_id,$tasks_priority,$tasks_title,$tasks_description,$tasks_estimate);
}
break;
case 'done':
$sotasks->sotasksKanban('done');
for($i=0;$itasksElements['tasks_id_owner']);$i++){
$tasks_id=$sotasks->tasksElements['tasks_id'][$i];
$tasks_priority=$sotasks->tasksElements['tasks_priority'][$i];
$tasks_title=$sotasks->tasksElements['tasks_title'][$i];
$tasks_description=$sotasks->tasksElements['tasks_description'][$i];
$tasks_estimate=$sotasks->tasksElements['tasks_estimate'][$i];
$col.= $this->task($list->uidnumber2cn($sotasks->tasksElements['tasks_id_owner'][$i]),$tasks_id,$tasks_priority,$tasks_title,$tasks_description,$tasks_estimate);
}
break;
}
$col.= "
";
$col.= "";
return($col);
}
function task($owner='',$tasks_id,$tasks_priority,$tasks_title='',$tasks_description='',$tasks_estimate){
if($tasks_priority == 't'){
$tasks_priority ="mark_red";
}
else{
$tasks_priority="mark_green";
}
$task.="
".$owner."
".$tasks_title."
+
".$tasks_description."
";
return($task);
}
}
?>