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.
32 lines
816 B
32 lines
816 B
<?php
|
|
|
|
namespace modl;
|
|
|
|
class Conference extends Model {
|
|
public $jid;
|
|
public $conference;
|
|
public $name;
|
|
public $nick;
|
|
public $autojoin;
|
|
public $status;
|
|
|
|
public function __construct() {
|
|
$this->_struct = '
|
|
{
|
|
"jid" :
|
|
{"type":"string", "size":128, "mandatory":true, "key":true },
|
|
"conference" :
|
|
{"type":"string", "size":128, "mandatory":true, "key":true },
|
|
"name" :
|
|
{"type":"string", "size":128, "mandatory":true },
|
|
"nick" :
|
|
{"type":"string", "size":128 },
|
|
"autojoin" :
|
|
{"type":"int", "size":1 },
|
|
"status" :
|
|
{"type":"int", "size":1 }
|
|
}';
|
|
|
|
parent::__construct();
|
|
}
|
|
}
|