當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Dispatcher::get_days_info方法代碼示例

本文整理匯總了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">&times;</button>
            <!--<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</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">
開發者ID:buga1234,項目名稱:buga_segforours,代碼行數:31,代碼來源:modul_timetable_ajax.php

示例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>
開發者ID:buga1234,項目名稱:buga_segforours,代碼行數:30,代碼來源:index.php


注:本文中的Dispatcher::get_days_info方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。