aboutsummaryrefslogtreecommitdiff
path: root/lib/models/LoginFaq.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/LoginFaq.php')
-rw-r--r--lib/models/LoginFaq.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/models/LoginFaq.php b/lib/models/LoginFaq.php
new file mode 100644
index 0000000..4c049ac
--- /dev/null
+++ b/lib/models/LoginFaq.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * LoginFaq.php
+ * model class for table login_faq
+ *
+ *
+ *
+ * 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 Michaela Brückner <brueckner@data-quest.de>
+ * @copyright 2023 data-quest
+ * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2
+ * @category Stud.IP
+ * @since 5.5
+*/
+class LoginFaq extends SimpleORMap
+{
+ /**
+ * @param array $config
+ */
+ protected static function configure($config = [])
+ {
+ $config['db_table'] = 'login_faq';
+
+ $config['i18n_fields']['title'] = true;
+ $config['i18n_fields']['description'] = true;
+
+ parent::configure($config);
+ }
+}