aboutsummaryrefslogtreecommitdiff
path: root/lib/models/UserOnline.class.php
blob: ec3c0cb6797554cc0e6c267700b6bc2d22a1f4fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

/**
 * UserOnline.class.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 user_id       database column
 * @property string id            alias column for user_id
 * @property string last_lifesign computed column read/write
 */
class UserOnline extends SimpleORMap
{
    protected static function configure($config = [])
    {
        $config['db_table'] = 'user_online';
        parent::configure($config);
    }
}