This commit is contained in:
Gerald Raab
2007-06-22 10:06:46 +00:00
parent 0a4c11e8c3
commit 8c0c8e146b
+7 -2
View File
@@ -105,16 +105,21 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$obj = new zeugnisnote($conn, null, null, null, true);
$obj->getZeugnisnoten($lehrveranstaltung_id=null, $uid_arr[$i], $studiensemester_kurzbz);
foreach ($obj->result as $row)
{
if ($row->note)
$note = $note_arr[$row->note];
else
$note = "";
$xml .= " <unterrichtsfach>";
$xml .= " <bezeichnung>".$row->lehrveranstaltung_bezeichnung."</bezeichnung>";
$xml .= " <note>".$note_arr[$row->note]."</note>";
$xml .= " <note>".$note."</note>";
$xml .= " <sws>".$row->semesterstunden."</sws>";
$xml .= " <ects>".$row->ects."</ects>";
$xml .= " </unterrichtsfach>";
}
$xml .= " </zeugnis>";
}
$xml .= "</zeugnisse>";