本文整理匯總了PHP中Utility::datePicker方法的典型用法代碼示例。如果您正苦於以下問題:PHP Utility::datePicker方法的具體用法?PHP Utility::datePicker怎麽用?PHP Utility::datePicker使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Utility
的用法示例。
在下文中一共展示了Utility::datePicker方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
<div class="content_heading" style="width:200px;">
<img class="content_heading_image" style="width:80px;" src="http://localhost/cloud/images/attendance.png">
<div class="content_description">Employee Attendance</div>
</div>
<div class="employee_att_view">
<table class="employee_att_view">
<tr>
<td><?php
Utility::label('date', 'Date', 'Required');
?>
</td>
<td><?php
Utility::datePicker('date', 'date');
?>
</td>
</tr>
</table>
<div id="employee_view" class="employee_view">
</div>
</div>
</div>
</div>
示例2:
<td class="form_input">
<?php
Utility::dropDownList("section", "section", "section");
?>
</td>
</tr>
<tr>
<td class="label">
<?php
Utility::label("date", "Date", "required");
?>
</td>
<td class="form_input">
<?php
Utility::datePicker("date", "date");
?>
</td>
</tr>
</table>
<div id="attendance_view" class="attendance_view"></div>
</div>
</div>
</div>
示例3:
<td class="form_input">
<?php
Utility::dropDownList("class_level", "class_level", "numeric_level");
?>
</td>
</tr>
<tr>
<td class="label">
<?php
Utility::label("date_of_birth", "Date of Birth", "required");
?>
</td>
<td class="form_input">
<?php
Utility::datePicker("date_of_birth", "date_of_birth");
?>
</tr>
<tr>
<td class="label">
<?php
Utility::label("gender", "Gender", "required");
?>
</td>
<td class="form_input">
<?php
Utility::radioButton("gender", "gender", "gender");
?>
</td>
</tr>
示例4:
<td><?php
Utility::label('start_date', 'Start Date', 'required');
?>
</td>
<td><?php
Utility::datePicker('start_date', 'start_date');
?>
</td>
</tr>
<tr>
<td><?php
Utility::label('end_date', 'End Date', 'required');
?>
</td>
<td><?php
Utility::datePicker('end_date', 'end_date');
?>
</td>
</tr>
<tr>
<td><?php
Utility::label('fn_an', 'Sessions', 'required');
?>
</td>
<td><?php
Utility::dropDownList('fn_an', 'fn_an', 'fn_an');
?>
</td>
</tr>
</table>