本文整理汇总了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;
}