diff options
author | Dirk Riestere | 2017-03-29 18:14:08 +0200 |
---|---|---|
committer | Dirk Riestere | 2017-03-29 18:14:08 +0200 |
commit | 37d25660bc606e7ee1dbc21ffbe3cac71d3ef57c (patch) | |
tree | 26133afe57bd89e6d50112e556fd6e13bdab85aa /modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php | |
parent | added frontend documentation (diff) | |
download | slx-admin-37d25660bc606e7ee1dbc21ffbe3cac71d3ef57c.tar.gz slx-admin-37d25660bc606e7ee1dbc21ffbe3cac71d3ef57c.tar.xz slx-admin-37d25660bc606e7ee1dbc21ffbe3cac71d3ef57c.zip |
Dummy Klasse kommentiert und HisInOne erlaubt zwei Semester abzufragen falls in dem Monat das Semester wechsel
Diffstat (limited to 'modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php')
-rw-r--r-- | modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php index 4333f0a8..783fde13 100644 --- a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php @@ -79,8 +79,10 @@ class CourseBackend_HisInOne extends CourseBackend $body->appendChild($findUnit); $termYearN = $doc->createElement('termYear', $termYear); $findUnit->appendChild($termYearN); - $termTypeValueId = $doc->createElement('termTypeValueId', $termType); - $findUnit->appendChild($termTypeValueId); + if($termType1 !=3 && $termType1 != 10){ + $termTypeValueId = $doc->createElement('termTypeValueId', $termType); + $findUnit->appendChild($termTypeValueId); + } $roomIdN = $doc->createElement('ns1:roomId', $roomID); $findUnit->appendChild($roomIdN); @@ -289,6 +291,7 @@ class CourseBackend_HisInOne extends CourseBackend } } } + error_log(json_encode($timetable)); $tTables[$room] = $timetable; } return $tTables; |