本文整理汇总了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