当前位置: 首页>>代码示例>>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;未经允许,请勿转载。