diff options
Diffstat (limited to 'lib/models/UserOnline.php')
| -rw-r--r-- | lib/models/UserOnline.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/models/UserOnline.php b/lib/models/UserOnline.php new file mode 100644 index 0000000..c3efba2 --- /dev/null +++ b/lib/models/UserOnline.php @@ -0,0 +1,27 @@ +<?php + +/** + * UserOnline.php + * + * 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 David Siegfried <david.siegfried@uni-vechta.de> + * @copyright 206 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 int $last_lifesign database column + */ +class UserOnline extends SimpleORMap +{ + protected static function configure($config = []) + { + $config['db_table'] = 'user_online'; + parent::configure($config); + } +} |
