荣誉图册中荣誉信息表格下载

This commit is contained in:
小松树 committed 2019-03-11 14:38:03 +08:00
1 parent 6d5ea9faa7
commit dcfc04a197
9 files changed
+152 -113

No files matched your search

+23
View File
@@ -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;
}