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/LoginFaq.php | |
| parent | da0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff) | |
| parent | 97a188592c679890a25c37ab78463add76a52ff7 (diff) | |
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'lib/models/LoginFaq.php')
| -rw-r--r-- | lib/models/LoginFaq.php | 33 |
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); + } +} |
