本文整理汇总了PHP中Meeting::get_full_list方法的典型用法代码示例。如果您正苦于以下问题:PHP Meeting::get_full_list方法的具体用法?PHP Meeting::get_full_list怎么用?PHP Meeting::get_full_list使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Meeting
的用法示例。
在下文中一共展示了Meeting::get_full_list方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: elseif
$where .= ") ";
$where .= " AND meetings_users.user_id='{$current_user->id}' ";
$where .= " AND meetings_users.accept_status != 'decline'";
// allow for differences between MySQL and Oracle 9
if ($sugar_config["dbconfig"]["db_type"] == "mysql") {
$where .= " HAVING datetime <= '" . $laterWhere["date"] . " " . $laterWhere["time"] . "' ";
} elseif ($sugar_config["dbconfig"]["db_type"] == "oci8") {
} else {
if ($sugar_config["dbconfig"]["db_type"] == "mssql") {
$where .= " AND meetings.date_start + ' ' + meetings.time_start <= '" . $laterWhere["date"] . " " . $laterWhere["time"] . "' ";
} else {
$GLOBALS['log']->fatal("No database type identified.");
}
}
$meeting->disable_row_level_security = true;
$focus_meetings_list = $meeting->get_full_list("time_start", $where);
}
if (ACLController::checkAccess('Calls', 'list', true)) {
$call = new Call();
$where = '(';
$or = false;
foreach ($open_status as $status) {
if ($or) {
$where .= ' OR ';
}
$or = true;
$where .= " calls.status = '{$status}' ";
}
$where .= ") ";
$where .= " AND calls_users.user_id='{$current_user->id}' ";
$where .= " AND calls_users.accept_status != 'decline'";