當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Schedule::drop_down_menu_facility_list方法代碼示例

本文整理匯總了PHP中Schedule::drop_down_menu_facility_list方法的典型用法代碼示例。如果您正苦於以下問題:PHP Schedule::drop_down_menu_facility_list方法的具體用法?PHP Schedule::drop_down_menu_facility_list怎麽用?PHP Schedule::drop_down_menu_facility_list使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Schedule的用法示例。


在下文中一共展示了Schedule::drop_down_menu_facility_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;
    }
開發者ID:alanzanotto,項目名稱:UnionScheduler,代碼行數:40,代碼來源:myClasses.php

示例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;
    }
開發者ID:alanzanotto,項目名稱:bctree_schedule,代碼行數:34,代碼來源:myClasses.php


注:本文中的Schedule::drop_down_menu_facility_list方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。