diff options
| author | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
|---|---|---|
| committer | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
| commit | 4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch) | |
| tree | 5c07151ae61276d334e88f6309c30d439a85c12e /lib/models/SemesterCourse.class.php | |
| parent | da0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff) | |
| parent | 97a188592c679890a25c37ab78463add76a52ff7 (diff) | |
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'lib/models/SemesterCourse.class.php')
| -rw-r--r-- | lib/models/SemesterCourse.class.php | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/lib/models/SemesterCourse.class.php b/lib/models/SemesterCourse.class.php deleted file mode 100644 index 04590e3..0000000 --- a/lib/models/SemesterCourse.class.php +++ /dev/null @@ -1,45 +0,0 @@ -<?php -/** - * SemesterCourse.class.php - * Contains the SemesterCourse model. - * - * This class represents entries in the mapping table - * seminare_semester. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * @author Moritz Strohm <strohm@data-quest.de> - * @copyright 2019 - * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 - * @category Stud.IP - * - * @property array $id alias for pk - * @property string $semester_id database column - * @property string $course_id database column - * @property int $mkdate database column - * @property int $chdate database column - * @property Semester $semester belongs_to Semester - * @property Course $course belongs_to Course - */ -class SemesterCourse extends SimpleORMap -{ - public static function configure($config = []) - { - $config['db_table'] = 'semester_courses'; - - $config['belongs_to']['semester'] = [ - 'class_name' => Semester::class, - 'foreign_key' => 'semester_id', - ]; - - $config['belongs_to']['course'] = [ - 'class_name' => Course::class, - 'foreign_key' => 'course_id', - ]; - - parent::configure($config); - } -} |
