Merge branch '2.0'
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / acp / session / ACPSession.class.php
1 <?php
2 namespace wcf\data\acp\session;
3 use wcf\data\DatabaseObject;
4
5 /**
6 * Represents an ACP session.
7 *
8 * @author Alexander Ebert
9 * @copyright 2001-2014 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package com.woltlab.wcf
12 * @subpackage data.acp.session
13 * @category Community Framework
14 */
15 class ACPSession extends DatabaseObject {
16 /**
17 * @see \wcf\data\DatabaseObject::$databaseTableName
18 */
19 protected static $databaseTableName = 'acp_session';
20
21 /**
22 * @see \wcf\data\DatabaseObject::$databaseTableIndexIsIdentity
23 */
24 protected static $databaseTableIndexIsIdentity = false;
25
26 /**
27 * @see \wcf\data\DatabaseObject::$databaseTableIndexName
28 */
29 protected static $databaseTableIndexName = 'sessionID';
30
31 /**
32 * Returns true if this session type supports persistent logins.
33 *
34 * @return boolean
35 */
36 public static function supportsPersistentLogins() {
37 return false;
38 }
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 }
49 }