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

33 lines
803 B
PHP
Raw Normal View History

<?php
namespace modl;
2015-09-10 15:41:45 +02:00
class Conference extends Model {
public $jid;
2015-09-10 15:41:45 +02:00
protected $conference;
protected $name;
protected $nick;
public $autojoin;
public $status;
2015-09-10 15:41:45 +02:00
public function __construct() {
$this->_struct = '
{
2015-09-10 15:41:45 +02:00
"jid" :
{"type":"string", "size":128, "mandatory":true, "key":true },
2015-09-10 15:41:45 +02:00
"conference" :
{"type":"string", "size":128, "mandatory":true, "key":true },
2015-09-10 15:41:45 +02:00
"name" :
{"type":"string", "size":128, "mandatory":true },
2015-09-10 15:41:45 +02:00
"nick" :
{"type":"string", "size":128 },
2015-09-10 15:41:45 +02:00
"autojoin" :
{"type":"int", "size":1 },
2015-09-10 15:41:45 +02:00
"status" :
{"type":"int", "size":1 }
}';
2015-09-10 15:41:45 +02:00
parent::__construct();
}
}