本文整理汇总了PHP中Department::getInfo方法的典型用法代码示例。如果您正苦于以下问题:PHP Department::getInfo方法的具体用法?PHP Department::getInfo怎么用?PHP Department::getInfo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Department
的用法示例。
在下文中一共展示了Department::getInfo方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Course
<option value="" >Select your Course</option>
<?php
$i = 0;
$c = new Course();
$courses = $c->getAppointed(Session::get('teacher_id'));
while (!empty($courses) && ($course = $courses->fetch_object())) {
?>
<option value="<?php
echo $course->course_code . ',' . $course->course_dep;
?>
"> <?php
echo $course->course_code;
?>
in <?php
$d = new Department();
$d->getInfo($course->course_dep);
echo $d->getDepName();
?>
</option>
<br />
<?php
}
?>
</select>
</div>
<div class="form-group">
<label for="examtype">Choose exam type</label>
<select name="examtype" class="form-control">
<option value="">Choose Type</option>
<option value="ct1">Class Test-1</option>
示例2: strtoupper
?>
">
<td><?php
echo $teacher->name;
?>
</td>
<td><?php
echo strtoupper($teacher->privilege);
if ($teacher->privilege == 'dean') {
echo ' ACADEMICS';
}
?>
</td>
<td><?php
$d = new Department();
$di = $d->getInfo($teacher->dept_id);
echo $d->getDepName();
?>
</td>
<td><?php
echo $teacher->email;
?>
</td>
<td><?php
echo $teacher->mobile;
?>
</td>
<td><?php
echo $teacher->approved ? 'Approved' : 'Not Approved';
?>
</td>
示例3: Department
?>
<tr id="<?php
echo "course_row_id" . $i;
?>
">
<td><?php
echo $course->course_id;
?>
</td>
<td><?php
echo $course->course_name;
?>
</td>
<td><?php
$d = new Department();
$d->getInfo($course->course_department);
echo $d->getDepName();
?>
</td>
<td><?php
echo $course->course_credit;
?>
</td>
<td><button class="btn btn-default" onClick="edit_course_feild(<?php
echo $i . ',\'' . $course->course_id . '\'';
?>
);" > Edit </button>
<button class="btn btn-danger" onClick="delete_course(<?php
echo $i . ',\'' . $course->course_id . '\'';
?>
);" >Delete</button>
示例4: Department
</td>
</tr>
<tr>
<th>Department</th>
<td>
<input type="hidden" name="id" value="<?php
echo Input::get('id');
?>
">
<input type="hidden" name="department" value="<?php
echo Input::get('did');
?>
">
<?php
$dd = new Department();
$dd->getInfo(Input::get('did'));
echo $dd->getDepName();
?>
</td>
</tr>
<tr>
<th>Semester</th>
<td><input type="hidden" name="semester" value="<?php
echo Input::get('cs');
?>
"><?php
echo Input::get('cs');
?>
</td>
</tr>
<tr>
示例5: Department
?>
<tr id="<?php
echo "student_row_id" . $i;
?>
">
<td><?php
echo $student->scholar_no;
?>
</td>
<td><?php
echo $student->name;
?>
</td>
<td><?php
$d = new Department();
$di = $d->getInfo($student->department);
echo $d->getDepName();
?>
</td>
<td><?php
echo $student->semester;
?>
</td>
<td><?php
echo $student->mobile;
?>
</td>
<td><?php
echo $student->parents_mobile;
?>
</td>
示例6: Department
}
$s->getInfo(Session::get('sn'));
?>
<div class="col-md-2">
</div>
<div class="col-md-8">
<div class="box box-primary">
<div class="box-header">
<div class="box-title pull-left">
<h3><?php
echo $s->getName();
?>
</h3>
<h4><?php
$d = new Department();
$d->getInfo($s->getDep());
echo $d->getDepName();
unset($d);
?>
</h4>
<h4><i><?php
echo $s->getEmail();
?>
</i></h4>
<h4><i><?php
$username = explode('@', $s->getEmail())[0];
echo "http://nits.ac.in/s/{$username}";
$name1 = strtolower(preg_replace('/\\s+/', '', $s->getName()));
$id = $s->getID();
$filename = $name1 . $id;
?>
示例7: Department
<?php
require_once 'core/init.php';
if (!loggedIn()) {
die;
}
if (!Input::exists('get')) {
die;
} else {
$dep = new Department();
$departments = $dep->getInfo(Input::get('did'));
?>
<script type="text/javascript" src="js/jquery.form.js"></script>
<script type="text/javascript" src="js/edit_department.js"></script>
<form id="edit_department" method="post">
<legend>Edit Details</legend>
<table class="table table-bordered table-striped">
<tbody>
<tr>
<th>Department ID</th>
<td><input type='hidden' name='id' value='<?php
echo Input::get('did');
?>
'><?php
echo Input::get('did');
?>
</td>
</tr>
<tr>
<th>Name</th>
<td><input type="text" placeholder="Name of Department" value="<?php