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