本文整理匯總了PHP中Schedule::drop_down_menu_station_list方法的典型用法代碼示例。如果您正苦於以下問題:PHP Schedule::drop_down_menu_station_list方法的具體用法?PHP Schedule::drop_down_menu_station_list怎麽用?PHP Schedule::drop_down_menu_station_list使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Schedule
的用法示例。
在下文中一共展示了Schedule::drop_down_menu_station_list方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: popup_edit_position_scheduled_template
public function popup_edit_position_scheduled_template()
{
//Echo the EDIT POSITION POPUP
$edit_popup = '
<div data-role="popup" id="popupEditPosition" data-theme="a" class="ui-corner-all">
<form>
<div style="padding: 5px 10px;">
<h3 id="editPositionHeader">Edit Position:<label></label></h3>
<input type="hidden" id="hiddenPositionID" value="">
<label for="slider-fill">Quantity:</label>
<input type="range" name="slider-fill" id="slider-fill_editPosition" value="1" min="1" max="50" data-highlight="true">';
/*
<fieldset data-role="controlgroup" data-type="horizontal" >
<legend>Shift:</legend>
<input type="radio" name="radio-choice_editPosition" id="radio-choice-day_editPosition" value="0">
<label for="radio-choice-day_editPosition">Day</label>
<input type="radio" name="radio-choice_editPosition" id="radio-choice-night_editPosition" value="1">
<label for="radio-choice-night_editPosition">Night</label>
</fieldset>';*/
$mySchedule = new Schedule();
$menu_facility = $mySchedule->drop_down_menu_facility_list();
$edit_popup = $edit_popup . '<select name="select-choice-newFacility" id="select-choice-editFacility">';
$edit_popup = $edit_popup . $menu_facility;
$edit_popup = $edit_popup . '</select>';
$edit_popup = $edit_popup . '<select name="select-choice-newStation" id="select-choice-editStation">';
$menu_stations = $mySchedule->drop_down_menu_station_list();
$edit_popup = $edit_popup . $menu_stations;
$edit_popup = $edit_popup . '</select>';
$edit_popup = $edit_popup . '
</br><hr>
<a href="#settings_create_schedule_templates_page" data-role="button" data-icon="check" data-inline="true" onClick="update_settings_edit_template_position_save()">Save</a>
<a href="#settings_create_schedule_templates_page" data-role="button" data-icon="delete" data-inline="true" onClick="update_settings_edit_template_position_delete()">Remove</a>
<a href="#settings_create_schedule_templates_page" data-role="button" data-inline="true">Cancel</a>
</div>
</form>
</div>
';
return $edit_popup;
}
示例2: popup_edit_position_scheduled_template
public function popup_edit_position_scheduled_template()
{
//Echo the EDIT POSITION POPUP
$edit_popup = '
<div data-role="popup" id="popupEditPosition" data-theme="a" class="ui-corner-all">
<form>
<div style="padding: 5px 10px;">
<h3 id="editPositionHeader">Edit Position:<label></label></h3>
<input type="hidden" id="hiddenPositionID" value="">
<label for="slider-fill">Quantity:</label>
<input type="range" name="slider-fill" id="slider-fill_editPosition" value="1" min="1" max="50" data-highlight="true">';
$mySchedule = new Schedule();
$menu_facility = $mySchedule->drop_down_menu_facility_list();
$edit_popup = $edit_popup . '<select name="select-choice-newFacility" id="select-choice-editFacility">';
$edit_popup = $edit_popup . $menu_facility;
$edit_popup = $edit_popup . '</select>';
$edit_popup = $edit_popup . '<select name="select-choice-newStation" id="select-choice-editStation">';
$menu_stations = $mySchedule->drop_down_menu_station_list();
$edit_popup = $edit_popup . $menu_stations;
$edit_popup = $edit_popup . '</select>';
$edit_popup = $edit_popup . '
</br><hr>
<a href="#settings_create_schedule_templates_page" data-role="button" data-icon="check" data-inline="true" onClick="update_settings_edit_template_position_save()">Save</a>
<a href="#settings_create_schedule_templates_page" data-role="button" data-icon="delete" data-inline="true" onClick="update_settings_edit_template_position_delete()">Remove</a>
<a href="#settings_create_schedule_templates_page" data-role="button" data-icon="arrow-u" data-iconpos="notext" data-inline="true" class="show-page-loading-msg" data-textonly="true" data-textvisible="true" data-msgtext="Loading Positions..." onClick="update_settings_template_position_list_orderUP()"></a>
<a href="#settings_create_schedule_templates_page" data-role="button" data-icon="arrow-d" data-iconpos="notext" data-inline="true" class="show-page-loading-msg" data-textonly="true" data-textvisible="true" data-msgtext="Loading Positions..." onClick="update_settings_template_position_list_orderDOWN()"></a>
<a href="#settings_create_schedule_templates_page" data-role="button" data-inline="true">Cancel</a>
</div>
</form>
</div>
';
return $edit_popup;
}