diff options
Diffstat (limited to 'lib/models/UserInfo.class.php')
| -rw-r--r-- | lib/models/UserInfo.class.php | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/lib/models/UserInfo.class.php b/lib/models/UserInfo.class.php deleted file mode 100644 index 28808a2..0000000 --- a/lib/models/UserInfo.class.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/** - * UserInfo.class.php - * model class for table user_info - * - * 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 André Noack <noack@data-quest.de> - * @copyright 2010 Stud.IP Core-Group - * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 - * @category Stud.IP - * - * @property string $id alias column for user_id - * @property string $user_id database column - * @property I18NString $hobby database column - * @property I18NString $lebenslauf database column - * @property I18NString $publi database column - * @property I18NString $schwerp database column - * @property string $home database column - * @property string $privatnr database column - * @property string $privatcell database column - * @property string $privadr database column - * @property int $score database column - * @property int $geschlecht database column - * @property int $mkdate database column - * @property int $chdate database column - * @property string $title_front database column - * @property string $title_rear database column - * @property string|null $preferred_language database column - * @property int $smsforward_copy database column - * @property string $smsforward_rec database column - * @property int $email_forward database column - * @property string $motto database column - * @property string $lock_rule database column - * @property string|null $oercampus_description database column - */ - -class UserInfo extends SimpleORMap -{ - /** - * Constants for column geschlecht - */ - const GENDER_UNKNOWN = 0; - const GENDER_MALE = 1; - const GENDER_FEMALE = 2; - const GENDER_DIVERSE = 3; - - protected static function configure($config = []) - { - $config['db_table'] = 'user_info'; - $config['i18n_fields']['hobby'] = true; - $config['i18n_fields']['lebenslauf'] = true; - $config['i18n_fields']['schwerp'] = true; - $config['i18n_fields']['publi'] = true; - parent::configure($config); - } -} |
