Commit | Line | Data |
---|---|---|
11ade432 AE |
1 | <?php |
2 | namespace wcf\data\acp\session; | |
3 | use wcf\data\DatabaseObject; | |
11ade432 AE |
4 | |
5 | /** | |
6 | * Represents an ACP session. | |
7 | * | |
8 | * @author Alexander Ebert | |
ca4ba303 | 9 | * @copyright 2001-2014 WoltLab GmbH |
11ade432 AE |
10 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> |
11 | * @package com.woltlab.wcf | |
12 | * @subpackage data.acp.session | |
9f959ced | 13 | * @category Community Framework |
11ade432 AE |
14 | */ |
15 | class ACPSession extends DatabaseObject { | |
16 | /** | |
0ad90fc3 | 17 | * @see \wcf\data\DatabaseObject::$databaseTableName |
11ade432 AE |
18 | */ |
19 | protected static $databaseTableName = 'acp_session'; | |
20 | ||
21 | /** | |
0ad90fc3 | 22 | * @see \wcf\data\DatabaseObject::$databaseTableIndexIsIdentity |
11ade432 AE |
23 | */ |
24 | protected static $databaseTableIndexIsIdentity = false; | |
25 | ||
26 | /** | |
0ad90fc3 | 27 | * @see \wcf\data\DatabaseObject::$databaseTableIndexName |
11ade432 AE |
28 | */ |
29 | protected static $databaseTableIndexName = 'sessionID'; | |
ce9150c9 MW |
30 | |
31 | /** | |
28410a97 | 32 | * Returns true if this session type supports persistent logins. |
ce9150c9 MW |
33 | * |
34 | * @return boolean | |
35 | */ | |
36 | public static function supportsPersistentLogins() { | |
37 | return false; | |
38 | } | |
5a05fde9 AE |
39 | |
40 | /** | |
41 | * Returns true if this session type supports virtual sessions (sharing the same | |
42 | * session among multiple clients). | |
43 | * | |
44 | * @return boolean | |
45 | */ | |
46 | public static function supportsVirtualSessions() { | |
47 | return false; | |
48 | } | |
11ade432 | 49 | } |