本文整理匯總了PHP中Department::single_department方法的典型用法代碼示例。如果您正苦於以下問題:PHP Department::single_department方法的具體用法?PHP Department::single_department怎麽用?PHP Department::single_department使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Department
的用法示例。
在下文中一共展示了Department::single_department方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: Department
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="rows">
<div class="col-md-8">
<label class="col-md-4 control-label" for="pschool">Department</label>
<div class="col-md-8">
<?php
$department_id = $list->department_id;
$department = new Department();
$listDepartment = $department->single_department($department_id);
?>
<input class="form-control input-sm" id="department_id" name="department_id" type="text" value="<?php
echo $listDepartment->name;
?>
" readonly>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="rows">
<div class="col-md-8">
示例2: Department
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="rows">
<div class="col-md-8">
<label class="col-md-4 control-label" for="pschool">Department</label>
<div class="col-md-8">
<?php
$consultant_department_id = $list->consultant_department_id;
$department = new Department();
$listDepartment = $department->single_department($consultant_department_id);
?>
<input class="form-control input-sm" id="department_id" name="department_id" type="text" value="<?php
echo $list->consultant_department_id;
?>
" readonly>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="rows">
<div class="col-md-8">
<label class="col-md-4 control-label" for="telephone">Telephone</label>
示例3:
<div class="container">
<div class="panel panel-primary">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3"><p align="left"><a href="<?php
echo WEB_ROOT;
?>
admin/index.php?page=2" class="btn btn-info btn-xsm"><span class="glyphicon glyphicon-home"></span> Home</a><p>
</div>
<div class="col-xs-9">
<div class="col-xs-8">
<p ><strong><h5 align="right">
<?php
echo $_SESSION['ACCOUNT_FNAME'] . " " . $_SESSION['ACCOUNT_LNAME'];
?>
</h5></strong></p>
</div>
<div class="col-xs-4">
<div class="col-xs-6">
<p align="left"><a href="<?php
echo WEB_ROOT;
?>
admin/modules/department/index.php" class="btn btn-info btn-xsm">
<span class="glyphicon glyphicon-step-backward"></span>Back
</a
</p>
</div>
<div class="col-xs-6">
<p align="right"><a href="<?php