本文整理汇总了PHP中notification::taskNotification方法的典型用法代码示例。如果您正苦于以下问题:PHP notification::taskNotification方法的具体用法?PHP notification::taskNotification怎么用?PHP notification::taskNotification使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类notification
的用法示例。
在下文中一共展示了notification::taskNotification方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: VALUES
}
if ($at != "0" && $sameAssign != "true" && $assignUpdate == "true") {
$tmpquery2 = "INSERT INTO " . $tableCollab["assignments"] . "(task,owner,assigned_to,comments,assigned) VALUES('" . $listTasks->tas_id[$i] . "','" . $listTasks->tas_owner[$i] . "','{$at}','{$acomm}','{$dateheure}')";
connectSql("{$tmpquery2}");
// echo $tmpquery2."<br>";
$tmpquery = "WHERE tea.project = '{$project}' AND tea.member = '{$at}'";
$testinTeam = new request();
$testinTeam->openTeams($tmpquery);
$comptTestinTeam = count($testinTeam->tea_id);
if ($comptTestinTeam == "0") {
$tmpquery3 = "INSERT INTO " . $tableCollab["teams"] . "(project,member,published,authorized) VALUES('{$project}','{$at}','1','0')";
connectSql("{$tmpquery3}");
}
if ($notifications == "true") {
$taskassignment = new notification();
$taskassignment->taskNotification($at, $listTasks->tas_id[$i], 'taskassignment');
}
}
}
}
header("Location: ../tasks/listtasks.php?project={$project}&msg=update&PHPSESSID={$PHPSESSID}");
exit;
}
//--- header ---
if ($report != "") {
$tmpquery = "WHERE id = '{$report}'";
$reportDetail = new request();
$reportDetail->openReports($tmpquery);
$breadcrumbs[] = buildLink("../reports/createreport.php?", $strings["reports"], LINK_INSIDE);
$breadcrumbs[] = buildLink("../reports/resultsreport.php?id=" . $reportDetail->rep_id[0], $reportDetail->rep_name[0], LINK_INSIDE);
} else {