diff options
Diffstat (limited to 'lib/raumzeit')
| -rw-r--r-- | lib/raumzeit/CycleData.php (renamed from lib/raumzeit/CycleData.class.php) | 2 | ||||
| -rw-r--r-- | lib/raumzeit/CycleDataDB.php (renamed from lib/raumzeit/CycleDataDB.class.php) | 6 | ||||
| -rw-r--r-- | lib/raumzeit/Issue.php (renamed from lib/raumzeit/Issue.class.php) | 6 | ||||
| -rw-r--r-- | lib/raumzeit/IssueDB.php (renamed from lib/raumzeit/IssueDB.class.php) | 6 | ||||
| -rw-r--r-- | lib/raumzeit/MetaDate.php (renamed from lib/raumzeit/MetaDate.class.php) | 4 | ||||
| -rw-r--r-- | lib/raumzeit/MetaDateDB.php (renamed from lib/raumzeit/MetaDateDB.class.php) | 6 | ||||
| -rw-r--r-- | lib/raumzeit/SeminarDB.php (renamed from lib/raumzeit/SeminarDB.class.php) | 6 | ||||
| -rw-r--r-- | lib/raumzeit/SingleDate.php (renamed from lib/raumzeit/SingleDate.class.php) | 14 | ||||
| -rw-r--r-- | lib/raumzeit/SingleDateDB.php (renamed from lib/raumzeit/SingleDateDB.class.php) | 6 |
9 files changed, 28 insertions, 28 deletions
diff --git a/lib/raumzeit/CycleData.class.php b/lib/raumzeit/CycleData.php index 587e0bc..d89d8ae 100644 --- a/lib/raumzeit/CycleData.class.php +++ b/lib/raumzeit/CycleData.php @@ -5,7 +5,7 @@ # Lifter010: TODO // +--------------------------------------------------------------------------+ // This file is part of Stud.IP -// CycleData.class.php +// CycleData.php // // Repräsentiert ein Turnusdatum eines MetaDates // diff --git a/lib/raumzeit/CycleDataDB.class.php b/lib/raumzeit/CycleDataDB.php index eb586b4..715df0b 100644 --- a/lib/raumzeit/CycleDataDB.class.php +++ b/lib/raumzeit/CycleDataDB.php @@ -5,9 +5,9 @@ # Lifter010: TODO // +--------------------------------------------------------------------------+ // This file is part of Stud.IP -// CycleDataDB.class.php +// CycleDataDB.php // -// Datenbank-Abfragen für CycleData.class.php +// Datenbank-Abfragen für CycleData.php // // +--------------------------------------------------------------------------+ // This program is free software; you can redistribute it and/or @@ -26,7 +26,7 @@ /** - * CycleDataDB.class.php + * CycleDataDB.php * * * @author Till Glöggler <tgloeggl@uos.de> diff --git a/lib/raumzeit/Issue.class.php b/lib/raumzeit/Issue.php index 939aaee..eeb38b3 100644 --- a/lib/raumzeit/Issue.class.php +++ b/lib/raumzeit/Issue.php @@ -5,7 +5,7 @@ # Lifter010: TODO // +--------------------------------------------------------------------------+ // This file is part of Stud.IP -// Issue.class.php +// Issue.php // // Repräsentiert ein einzelnes Thema einer Veranstaltung // @@ -26,7 +26,7 @@ /** - * Issue.class.php + * Issue.php * * * @author Till Glöggler <tgloeggl@uos.de> @@ -156,7 +156,7 @@ class Issue { function restore() { /* * To avoid inconsistency, the restore function has been removed. - * The only way to load an Issue is via the Seminar.class.php, with the function fillValuesFromArray + * The only way to load an Issue is via the Seminar.php, with the function fillValuesFromArray */ $this->fillValuesFromArray(IssueDB::restoreIssue($this->issue_id)); } diff --git a/lib/raumzeit/IssueDB.class.php b/lib/raumzeit/IssueDB.php index d6c0ba3..17d8b95 100644 --- a/lib/raumzeit/IssueDB.class.php +++ b/lib/raumzeit/IssueDB.php @@ -5,9 +5,9 @@ # Lifter010: TODO // +--------------------------------------------------------------------------+ // This file is part of Stud.IP -// IssueDB.class.php +// IssueDB.php // -// Datenbank-Abfragen für Issue.class.php +// Datenbank-Abfragen für Issue.php // // +--------------------------------------------------------------------------+ // This program is free software; you can redistribute it and/or @@ -26,7 +26,7 @@ /** - * IssueDB.class.php + * IssueDB.php * * * @author Till Glöggler <tgloeggl@uos.de> diff --git a/lib/raumzeit/MetaDate.class.php b/lib/raumzeit/MetaDate.php index 0af632d..1348222 100644 --- a/lib/raumzeit/MetaDate.class.php +++ b/lib/raumzeit/MetaDate.php @@ -5,7 +5,7 @@ # Lifter010: TODO // +--------------------------------------------------------------------------+ // This file is part of Stud.IP -// MetaDate.class.php +// MetaDate.php // // Repräsentiert die Zeit- und Turnusdaten einer Veranstaltung // @@ -26,7 +26,7 @@ /** - * MetaDate.class.php + * MetaDate.php * * * @author Till Glöggler <tgloeggl@uos.de> diff --git a/lib/raumzeit/MetaDateDB.class.php b/lib/raumzeit/MetaDateDB.php index 5f5e1df..29af00e 100644 --- a/lib/raumzeit/MetaDateDB.class.php +++ b/lib/raumzeit/MetaDateDB.php @@ -6,9 +6,9 @@ // +--------------------------------------------------------------------------+ // This file is part of Stud.IP -// MetaDateDB.class.php +// MetaDateDB.php // -// Datenbank-Abfragen für MetaDate.class.php +// Datenbank-Abfragen für MetaDate.php // // +--------------------------------------------------------------------------+ // This program is free software; you can redistribute it and/or @@ -27,7 +27,7 @@ /** - * MetaDateDB.class.php + * MetaDateDB.php * * * @author Till Glöggler <tgloeggl@uos.de> diff --git a/lib/raumzeit/SeminarDB.class.php b/lib/raumzeit/SeminarDB.php index 63241fe..600510b 100644 --- a/lib/raumzeit/SeminarDB.class.php +++ b/lib/raumzeit/SeminarDB.php @@ -5,9 +5,9 @@ # Lifter010: DONE // +--------------------------------------------------------------------------+ // This file is part of Stud.IP -// SeminarDB.class.php +// SeminarDB.php // -// Datenbank-Abfragen für Seminar.class.php +// Datenbank-Abfragen für Seminar // // +--------------------------------------------------------------------------+ // This program is free software; you can redistribute it and/or @@ -26,7 +26,7 @@ /** - * SeminarDB.class.php + * SeminarDB.php * * * @author Till Glöggler <tgloeggl@uos.de> diff --git a/lib/raumzeit/SingleDate.class.php b/lib/raumzeit/SingleDate.php index 82a89db..06cb9a2 100644 --- a/lib/raumzeit/SingleDate.class.php +++ b/lib/raumzeit/SingleDate.php @@ -4,7 +4,7 @@ # Lifter003: TODO # Lifter010: TODO /** - * SingelDate.class.php - Ein (Ex-)Termin + * SingelDate.php - Ein (Ex-)Termin * * Diese Klasse stellt einen einzelnen Eintrag in der Tabelle termine, bzw. ex_termine dar. * @@ -75,7 +75,7 @@ class SingleDate if ($data instanceOf CourseDate || $data instanceof CourseExDate) { $single_date_data = $data->toArray(); $single_date_data['ex_termin'] = $data instanceOf CourseDate ? 0 : 1; - $single_date_data['resource_id'] = $data->room_booking->resource_id ?: ''; + $single_date_data['resource_id'] = $data->room_booking->resource_id ?? ''; if ($data instanceOf CourseDate) { $single_date_data['related_persons'] = $data->dozenten->pluck('user_id'); $single_date_data['related_groups'] = $data->statusgruppen->pluck('statusgruppe_id'); @@ -147,9 +147,9 @@ class SingleDate $after = $this->toString(); // logging if ($before) { - StudipLog::log('SINGLEDATE_CHANGE_TIME', $this->range_id, $this->id, $before . ' -> ' . $after); + StudipLog::log('SINGLEDATE_CHANGE_TIME', $this->range_id, $this->termin_id, $before . ' -> ' . $after); } else { - StudipLog::log('SEM_ADD_SINGLEDATE', $this->range_id, $this->id, $after); + StudipLog::log('SEM_ADD_SINGLEDATE', $this->range_id, $this->termin_id, $after); } return true; @@ -292,7 +292,7 @@ class SingleDate function delete() { - $cache = StudipCacheFactory::getCache(); + $cache = \Studip\Cache\Factory::getCache(); $cache->expire('course/undecorated_data/' . $this->range_id); $this->chdate = time(); @@ -304,7 +304,7 @@ class SingleDate function store() { - $cache = StudipCacheFactory::getCache(); + $cache = \Studip\Cache\Factory::getCache(); $cache->expire('course/undecorated_data/' . $this->range_id); $this->chdate = time(); @@ -861,7 +861,7 @@ class SingleDate */ function getDatesTemplate($template) { - if (!$template instanceof Flexi_Template && is_string($template)) { + if (!$template instanceof Flexi\Template && is_string($template)) { $template = $GLOBALS['template_factory']->open($template); } diff --git a/lib/raumzeit/SingleDateDB.class.php b/lib/raumzeit/SingleDateDB.php index e50d6cf..04144a6 100644 --- a/lib/raumzeit/SingleDateDB.class.php +++ b/lib/raumzeit/SingleDateDB.php @@ -4,9 +4,9 @@ # Lifter010: DONE // +--------------------------------------------------------------------------+ // This file is part of Stud.IP -// SingleDateDB.class.php +// SingleDateDB.php // -// Datenbank-Abfragen für SingleDate.class.php +// Datenbank-Abfragen für SingleDate.php // // +--------------------------------------------------------------------------+ // This program is free software; you can redistribute it and/or @@ -25,7 +25,7 @@ /** - * SingleDateDB.class.php + * SingleDateDB.php * * * @author Till Glöggler <tgloeggl@uos.de> |
