本文整理匯總了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">×</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
示例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");