荣誉图册中荣誉信息表格下载
This commit is contained in:
1 parent
6d5ea9faa7
commit
dcfc04a197
9 files changed
+152
-113
No files matched your search
@@ -158,3 +158,26 @@ function schlist($low='班级',$high='其它级')
|
||||
}
|
||||
|
||||
|
||||
// 整理教师名
|
||||
function teacherNames($list = array())
|
||||
{
|
||||
if(count($list) == 0 )
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
$names = '';
|
||||
foreach ($list as $key => $value) {
|
||||
if($key == 0)
|
||||
{
|
||||
$names = $value['teacher']['xingming'];
|
||||
}else{
|
||||
$names = $names . '、'. $value['teacher']['xingming'];
|
||||
}
|
||||
}
|
||||
|
||||
return $names;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user