1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/app/models/conference/Conference.php
2016-03-15 16:28:38 +01:00

34 lines
799 B
PHP

<?php
namespace modl;
class Conference extends Model {
public $jid;
protected $conference;
protected $name;
protected $nick;
public $autojoin;
public $status;
public $connected = false;
public function __construct() {
$this->_struct = '
{
"jid" :
{"type":"string", "size":128, "key":true },
"conference" :
{"type":"string", "size":128, "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();
}
}