本文整理匯總了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 {