本文整理匯總了PHP中Unit::studentList方法的典型用法代碼示例。如果您正苦於以下問題:PHP Unit::studentList方法的具體用法?PHP Unit::studentList怎麽用?PHP Unit::studentList使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Unit
的用法示例。
在下文中一共展示了Unit::studentList方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: Teachers
0 => 5,
1 => 10,
2 => 4);
$teacher2 = new Teachers('Second Teacher', '00-00-002', 'education2', 3, $sub_name, $num_hours, $num_marks);
//$mark, $subject, $student_id
$teacher2->evaluate(4, 'History', 1);
$teacher2->evaluate(6, 'Math', 2);
$teacher2->evaluate(4, 'English', 2);
/*$teacher2->InfoTeacher();
$teacher2->works(6);*/
//$st_id, $people_name, $people_phone_number
$student1 = new Student(3, "First Student", "00-00-00");
//$student1->gpa(1);
$student1->StudentInfo(3);
echo "<hr>";
/*$student2 = new Student(2, "Second Student", "88-88-88");
//$student1->gpa(1);
$student2->StudentInfo(2);*/
$unit1 = new Unit('My School', '5A');
$unit1->teacherList('5A');
echo "<hr>";
$unit1->studentList('5A');
?>
</p>
</div>
</main>
<?php
require_once 'includes/footer.php';