2016-07-14 01:20:22 +02:00
|
|
|
<?php
|
|
|
|
|
2016-07-14 08:34:13 +02:00
|
|
|
class sessioncookie extends DataStore {
|
2016-07-14 01:20:22 +02:00
|
|
|
const TABLE = 'session';
|
|
|
|
|
|
|
|
public static function getProps() {
|
|
|
|
return array (
|
|
|
|
'user',
|
|
|
|
'token',
|
|
|
|
'ip',
|
|
|
|
'creationDate',
|
|
|
|
'expirationDate'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
protected function getDefaultProps() {
|
|
|
|
return array();
|
|
|
|
}
|
|
|
|
}
|