本文整理汇总了PHP中Dispatcher::get_days_info方法的典型用法代码示例。如果您正苦于以下问题:PHP Dispatcher::get_days_info方法的具体用法?PHP Dispatcher::get_days_info怎么用?PHP Dispatcher::get_days_info使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Dispatcher
的用法示例。
在下文中一共展示了Dispatcher::get_days_info方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: get_language
<?php
require_once "../../core/core.inc";
require_once "../../core/view.php";
$lang = get_language();
$days_array = Dispatcher::get_days_info();
$morning_tours_array = HoursController::getHours("morning", "Weekday", "get_timetable");
$evening_tours_array = HoursController::getHours("evening", "Weekday", "get_timetable");
$vouchers_info_array = Dispatcher::booking_get_booking_info("slevomat", "");
$booking_info_array = Dispatcher::booking_get_booking_info("tourists", "");
$directions_info = MainController::getDirInfo();
$json_morning_tours_array = json_encode($morning_tours_array);
$json_evening_tours_array = json_encode($evening_tours_array);
?>
<div class="modal-dialog">
<div class="modal-content timetable-modal-content">
<div class="modal-header timetable-modal-header">
<button type="button" class="global-close" data-dismiss="modal" aria-hidden="true">×</button>
<!--<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>-->
<div class="modal-title" id="set-timetable-label">Set timetable</div>
</div>
<div class="modal-body timetable-modal-body">
<div id="days-wrapper">
<div class="days-title-label">Days</div>
<table class="days-table" border = 0>
<tr>
<!-- <td onclick="switchDaysClick(0, 'default', this, 0);" id="weekday-all" class="days_td days-td-active">
<div class="weekday-btn-wrapper">
示例2:
<?php
require_once "../sysadmin3000/core/core.inc";
//require_once("detect_language.inc");
// Header
if (isset($_COOKIE['version'])) {
$version = $_COOKIE['version'];
} else {
$version = 1;
}
$language = "en";
$main_array = Dispatcher::main_getMain_map($language);
$map_center = $main_array['map_center'];
$_POST['language'] = $language;
$directions_info = MainController::getDirInfo();
$days = Dispatcher::get_days_info();
?>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>