本文整理汇总了PHP中DBConnect::markDatesCoordAsViewed_db方法的典型用法代码示例。如果您正苦于以下问题:PHP DBConnect::markDatesCoordAsViewed_db方法的具体用法?PHP DBConnect::markDatesCoordAsViewed_db怎么用?PHP DBConnect::markDatesCoordAsViewed_db使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DBConnect
的用法示例。
在下文中一共展示了DBConnect::markDatesCoordAsViewed_db方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: isset
die;
}
require 'nav_elements.php';
require '/scripts/php/termin_planen_get.php';
$userid = $_SESSION['userid'];
$tid = isset($_GET['id']) ? $_GET['id'] : null;
$_SESSION['tid'] = $tid;
$participants = '';
$datesCoord = null;
if ($tid != null) {
$datesCoord = loadDatesCoordination($tid);
$editRights = determineEditRights($datesCoord);
$_SESSION['editRights'] = $editRights;
$participants = implode(",", $datesCoord->getParticipants());
$dbc = new DBConnect();
$dbc->markDatesCoordAsViewed_db($userid, $tid);
}
$tableBody = getTableBody($tid, $datesCoord);
$title = isset($datesCoord) ? $datesCoord->getTitle() : '';
$description = isset($datesCoord) ? $datesCoord->getDescription() : '';
$place = isset($datesCoord) ? $datesCoord->getPlace() : '';
$deadline = isset($datesCoord) ? $datesCoord->getDeadline() : '';
?>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Dashboard">
<meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">