2016-07-14 01:20:22 +02:00
|
|
|
<?php
|
|
|
|
|
2016-07-15 22:12:06 +02:00
|
|
|
class SessionCookie extends DataStore {
|
2016-07-16 03:16:22 +02:00
|
|
|
const TABLE = 'sessioncookie';
|
2016-07-14 01:20:22 +02:00
|
|
|
|
|
|
|
public static function getProps() {
|
|
|
|
return array (
|
|
|
|
'user',
|
|
|
|
'token',
|
|
|
|
'ip',
|
|
|
|
'creationDate',
|
|
|
|
'expirationDate'
|
|
|
|
);
|
|
|
|
}
|
2016-07-16 03:16:22 +02:00
|
|
|
}
|