当前位置: 首页>>代码示例>>PHP>>正文


PHP Dispatcher::main_get_pages_info方法代码示例

本文整理汇总了PHP中Dispatcher::main_get_pages_info方法的典型用法代码示例。如果您正苦于以下问题:PHP Dispatcher::main_get_pages_info方法的具体用法?PHP Dispatcher::main_get_pages_info怎么用?PHP Dispatcher::main_get_pages_info使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Dispatcher的用法示例。


在下文中一共展示了Dispatcher::main_get_pages_info方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

?>

            </div>

            <div class="text_menu">

                <div class="map-container">
                    <div id="map-canvas"></div>
                </div>
                <div id="map_main_wrapper">



                    <!-- <div class="main-view-upper-menu">
                    <?php 
$menu_array = Dispatcher::main_get_pages_info("nojson", $lang);
for ($i = 0; $i < count($menu_array); $i++) {
    ?>
                                                                                                                                                                    <button onclick="get_page_modal_text_info(<?php 
    echo $i;
    ?>
, '<?php 
    echo $menu_array[$i]['page_title_low'];
    ?>
');" 
                                                                                                                                                                            id="main_view_<?php 
    echo $menu_array[$i]['page_title_low'];
    ?>
" 
                                                                                                                                                                            data-toggle='modal' 
                                                                                                                                                                            class="main-view-menu-item"
开发者ID:buga1234,项目名称:buga_segforours,代码行数:31,代码来源:index.php

示例2:

    $reserve_type = $_POST['reserve_type'];
    $data_action = $_POST['data_action'];
    Dispatcher::booking_compare_hours($from, $to, $type, $during_type, $reserve_type, $data_action);
}
if ($action == 'booking_remove_instructor') {
    $id = $_POST['id'];
    Dispatcher::booking_remove_instructor($id);
}
if ($action == 'booking_create_reservation') {
    $post = $_POST;
    Dispatcher::booking_create_reservation($post);
}
if ($action == 'booking_change_instructor') {
    $post = $_POST;
    Dispatcher::booking_change_instructor($post);
}
if ($action == 'main_get_pages_info') {
    $response_type = $_POST['response_type'];
    Dispatcher::main_get_pages_info($response_type, $language);
}
if ($action == 'main_edit_page_popup') {
    $title = $_POST['title'];
    $subtitle = $_POST['subtitle'];
    $content = $_POST['content'];
    $text_id = $_POST['text_id'];
    Dispatcher::main_edit_page_popup($text_id, $title, $subtitle, $content, $language);
}
if ($action == 'booking_get_choosen_places') {
    $date = $_POST['date'];
    Dispatcher::booking_get_choosen_places($date);
}
开发者ID:buga1234,项目名称:buga_segforours,代码行数:31,代码来源:execute.php


注:本文中的Dispatcher::main_get_pages_info方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。