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


PHP Dispatcher::main_get_start_pins_info方法代码示例

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


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

示例1:

<?php

$start_pins_info_array = Dispatcher::main_get_start_pins_info("");
?>
<script src="js/modul_start_pins.js"></script>
<div class="modal fade" id="start-pins-modal" data-backdrop="false" tabindex="-1" role="dialog" aria-labelledby="add-direction-modal" aria-hidden="true">
    <div class="modal-dialog modal-lg add-direction-modal-dialog">
        <div class="modal-content add-direction-modal-content global-modal-content">
            <div class="modal-header global-modal-header">
                <button type="button" class="global-close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <div class="modal-title global-modal-title">START POINTS</div>
                <ul id="myTab" class="nav nav-tabs start-points-nav-tab" role="tablist">
                    <li class="active">
                        <a class="add-start-point" href="#add-start-point" 
                           role="presentation" 
                           aria-controls="add-start-point" role="tab" 
                           data-toggle="tab"
                           data-action="add-start-point">
                            <button id="add-start-point-btn" onclick="click_start_point('add');">
                                <i class="fa fa-plus"></i> Add point
                            </button>
                        </a>
                    </li>
                    <li>
                        <a class="add-start-point" href="#edit-start-point"
                           role="presentation" 
                           aria-controls="edit-start-point" role="tab" 
                           data-toggle="tab"
                           data-action="edit-start-point">
                            <button onclick="click_start_point('edit');">
                                <i class="fa fa-edit"></i> Edit point
开发者ID:buga1234,项目名称:buga_segforours,代码行数:31,代码来源:modul_start_pins.php

示例2:

    $dir_id = $_POST['dir_id'];
    Dispatcher::main_delete_direction($dir_id, $language);
}
if ($action == "main_edit_dir_info_text") {
    $text_id = $_POST['text_id'];
    $title = $_POST['title'];
    $subtitle = $_POST['subtitle'];
    $content = $_POST['content'];
    Dispatcher::main_edit_dir_info_text($text_id, $title, $subtitle, $content, $language);
}
if ($action == "get_map_center") {
    Dispatcher::main_get_map_center($language);
}
if ($action == "get_start_points") {
    $actionfor = $_POST['actionfor'];
    Dispatcher::main_get_start_pins_info($actionfor);
}
if ($action == "main_get_poly_info") {
    Dispatcher::main_get_poly_info($language);
}
if ($action == "main_editToursPopup_text") {
    Dispatcher::main_editToursPopup_text($language, 'tours');
}
if ($action == "main_editContactsPopup_text") {
    Dispatcher::editPopupInfo($language, "contacts");
}
if ($action == "main_editAboutSeglfiePopup_text") {
    Dispatcher::editPopupInfo($language, "about");
}
if ($action == "main_editTermsPopup_text") {
    Dispatcher::editPopupInfo($language, "terms");
开发者ID:buga1234,项目名称:buga_segforours,代码行数:31,代码来源:execute.php


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