本文整理汇总了PHP中Unit::teacherList方法的典型用法代码示例。如果您正苦于以下问题:PHP Unit::teacherList方法的具体用法?PHP Unit::teacherList怎么用?PHP Unit::teacherList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Unit
的用法示例。
在下文中一共展示了Unit::teacherList方法的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';