mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
745 B
29 lines
745 B
<?php
|
|
|
|
namespace modl;
|
|
|
|
class Session extends ModlModel {
|
|
public $name;
|
|
public $value;
|
|
public $session;
|
|
public $container;
|
|
public $timestamp;
|
|
|
|
public function __construct() {
|
|
$this->_struct = '
|
|
{
|
|
"name" :
|
|
{"type":"string", "size":32, "mandatory":true, "key":true },
|
|
"value" :
|
|
{"type":"text", "mandatory":true },
|
|
"session" :
|
|
{"type":"string", "size":128, "mandatory":true, "key":true },
|
|
"container" :
|
|
{"type":"string", "size":16, "mandatory":true, "key":true },
|
|
"timestamp" :
|
|
{"type":"date" }
|
|
}';
|
|
|
|
parent::__construct();
|
|
}
|
|
}
|