本文整理汇总了PHP中Utility::label方法的典型用法代码示例。如果您正苦于以下问题:PHP Utility::label方法的具体用法?PHP Utility::label怎么用?PHP Utility::label使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Utility
的用法示例。
在下文中一共展示了Utility::label方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?php
$highlight = 'notification';
include 'admin_student_menu.php';
?>
<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/email_notice.png">
<div class="content_description">Send Email Notification</div>
</div>
<div class="email_notification_new">
<table>
<tr>
<td>
<?php
Utility::label('to_type', 'Recepient Method');
?>
</td>
<td>
<?php
Utility::dropDownList('to_type', 'to_type', 'to_type');
?>
</td>
</tr>
</table>
<div class="to_address" id="to_address">
<?php
Utility::inputText('to', 'to', 'To Address Search');
Utility::inputText('address', 'address', 'To: Address');
?>
示例2:
<tr>
<td class="label">
<?php
Utility::label("section", "Section Code", "required");
?>
</td>
<td class="form_input">
<?php
Utility::dropDownList("section", "section", "section");
?>
</td>
</tr>
<tr>
<td class="label">
<?php
Utility::label("subject", "Subject", "required");
?>
</td>
<td class="form_input" id="subject_tab">
<?php
Utility::dropDownList("subject[]", "subject[]", "subject");
?>
</td>
</tr>
<tr><td>
</td>
<td>
<div class="add_another_btn" value="2" id="add_another_btn">
<?php
Utility::addAnother("add_another", "+ Add Another");
示例3:
}
}
?>
<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/attendance.png">
<div class="content_description">View Attendance</div>
</div>
<table class="attendance_search">
<form id="student_view" action="http://localhost/cloud/attendance/getstudent" method="POST">
<tr>
<td class="label">
<?php
Utility::label("search", "Search Student", "required");
?>
</td>
<td class="form_input">
<?php
Utility::inputText("search", "search", "Search Student");
?>
</td>
</tr>
</form>
</table>
<div id="attendance_search_view" class="attendance_search_view"></div>
<div class="paginate" id="paginate"></div>
示例4:
<td class="label">
<?php
Utility::label("mobile", "Mobile", "required");
?>
</td>
<td class="form_input">
<?php
Utility::inputText("mobile", "mobile", "Mobile");
?>
</td>
</tr>
<tr>
<td class="label">
<?php
Utility::label("email", "E-mail");
?>
</td>
<td class="form_input">
<?php
Utility::inputEmail("email", "email", "E-mail");
?>
</td>
</tr>
</table>
<!--End of Contact Details -->
<div class="submit_button">
<?php
Utility::submitButton("add_student", "add_student", "Enroll");
示例5: foreach
<img class="content_heading_image" src="http://localhost/cloud/images/examination.png">
<div class="content_description">Examination</div>
</div>
<div class="exam_subjects">
<form id="exam_subjects_form" action="http://localhost/cloud/examination/subjectssave" method="POST">
<table cellspacing="0" cellpadding="5" border="1" class="exam_subjects_table">
<tr>
<td style="background:#ABCDEF" colspan="2">
Examination Subjects
</td>
</tr>
<tr>
<td style="background:#ABCDEF">
<?php
Utility::label('exam', 'Select Examination', 'required');
?>
</td>
<td style="background:#ABCDEF">
<?php
Utility::dropDownList('exam_id', 'exam_id', 'exams');
?>
</td>
</tr>
<?php
foreach ($sections as $key => $value) {
echo '<tr>';
echo '<td>' . $value . '</td>';
echo '<td>';
echo '<table>';
foreach ($subjects[$key] as $k => $v) {
示例6:
<?php
$highlight = 'attendance';
include 'admin_student_menu.php';
?>
<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>
示例7:
$highlight = 'examination';
include 'admin_student_menu.php';
?>
<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/examination.png">
<div class="content_description">Examination Timetable</div>
</div>
<div class="exam_timetable">
<form id="exam_timetable_form" action="http://localhost/cloud/examination/savetimetable" method="POST">
<table cellspacing="0" cellpadding="5" border="1" class="exam_timetable">
<tr style="background:#ABCDEF">
<td>
<?php
Utility::label('exam_id', 'Select Examination');
?>
</td>
<td>
<?php
Utility::dropDownList('exam_id', 'exam_id', 'exams');
?>
</td>
</tr>
</table>
<div class="exam_timetable" id="exam_timetable">
</div>
<div style="padding:5px">
<?php
示例8:
<div class="student_menu">
<?php
$highlight = 'attendance';
include 'admin_student_menu.php';
?>
<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/employee_search_attendance.png">
<div class="content_description">Employee Attendance Report</div>
</div>
<div class="employee_report">
<?php
Utility::label('employee', 'Select Employee', 'required');
Utility::dropDownList('teacher', 'teacher', 'teacher');
?>
<div id="employee_report_view" class="employee_report_view"></div>
</div>
</div>
</div>
</div>
<?php
include 'footer.php';
?>
</body>
示例9:
<td class="label">
<?php
Utility::label("section", "Section Code", "required");
?>
</td>
<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>
示例10:
$highlight = 'time_table';
include 'admin_student_menu.php';
?>
<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/settings.png">
<div class="content_description">Time Table Settings</div>
</div>
<div class="timetable_settings">
<form id="timetable_settings" action="http://localhost/cloud/timetable/settingssave" method="POST">
<table style="margin:0px auto;text-align:center;">
<tr>
<td>
<?php
Utility::label('hours', 'Number of Slots Per Day', 'required');
?>
</td>
<td>
<?php
if ($set == true) {
Utility::dropDownListEditable(count($slots), 'hours', 'hours', 'numeric_level');
} else {
Utility::dropDownList('hours', 'hours', 'numeric_level');
}
?>
</td>
</tr>
</table>
<table id="timetable_slots">
<?php
示例11:
<td class="label">
<?php
Utility::label("parent_phone", "Phone");
?>
</td>
<td class="form_input">
<?php
Utility::inputTextEditable($parent->getPhone(), "parent_phone", "parent_phone", "Phone");
?>
</td>
</tr>
<tr>
<td class="label">
<?php
Utility::label("parent_mobile", "Emergency Contact Number");
?>
</td>
<td class="form_input">
<?php
Utility::inputTextEditable($parent->getMobile(), "parent_mobile", "parent_mobile", "Mobile");
?>
</td>
</tr>
</table>
<!--End of Parent Contact Details -->
<div class="submit_button">
示例12:
include 'admin_student_menu.php';
} else {
if ($role == 'teacher') {
include 'employee_menu.php';
}
}
?>
<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/section_report.png">
<div class="content_description">Section wise Attendance Report</div>
</div>
<div class="section_report">
<?php
Utility::label('section', 'Section', 'required');
Utility::dropDownList('section', 'section', 'section');
?>
<div id="section_report_view" class="section_report_view"></div>
</div>
</div>
</div>
</div>
<?php
include 'footer.php';
?>
</body>
示例13:
<?php
$highlight = 'notification';
include 'admin_student_menu.php';
?>
<div class="content_heading" style="width:200px;">
<img class="content_heading_image" style="width:80px;" src="http://localhost/cloud/images/events.png">
<div class="content_description">Create Event</div>
</div>
<div class="create_event">
<form class="create_event_form" id="create_event_form" action="http://localhost/cloud/notice/createevent" method="POST">
<div class="event_date">
<?php
Utility::label('date', 'Event Date', 'required');
Utility::datePickerEditable($date, 'date', 'date');
?>
</div>
<div class="event_name">
<?php
Utility::inputText('event_name', 'event_name', 'Event');
?>
</div>
<div class="event_description">
<?php
Utility::inputText('event_description', 'event_description', 'Event Description');
?>
</div>
示例14:
?>
</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>
<div style="padding:5px">
<?php
Utility::submitButton('create_exam', 'create_exam', 'Create Examination');
?>
</td>
</div>
示例15:
<?php
$highlight = 'time_table';
include 'admin_student_menu.php';
?>
<div class="content_heading">
<img class="content_heading_image" src="http://localhost/cloud/images/time_table.png">
<div class="content_description">Teacher Time Table</div>
</div>
<form id="time_table_form" name="time_table_form" method="POST" action="http://localhost/cloud/timetable/validate">
<table class="time_table_section">
<tr>
<td class="label">
<?php
Utility::label("teacher", "Teacher", "required");
?>
</td>
<td class="form_input">
<?php
Utility::dropDownList("teacher", "teacher", "teacher", NULL, 0);
?>
</td>
</table>
<div id="time_table_view"></div>
</form>
</div>