Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
conference.php
1
<?php
2
namespace
Bitrix\Im\Model
;
3
4
use
Bitrix\Main
,
5
Bitrix\Main\Entity
;
6
23
class
ConferenceTable
extends
Main\Entity\DataManager
24
{
25
public
static
function
getTableName
(): string
26
{
27
return
'b_im_conference'
;
28
}
29
30
public
static
function
getMap
(): array
31
{
32
return
array(
33
new
Entity
\
IntegerField
(
'ID'
, array(
34
'primary'
=>
true
,
35
'autocomplete'
=>
true
36
)),
37
new
Entity
\
IntegerField
(
'ALIAS_ID'
, array(
38
'required'
=>
true
39
)),
40
new
\
Bitrix
\Main\
Entity
\
CryptoField
(
'PASSWORD'
, array(
41
'crypto_enabled'
=> static::cryptoEnabled(
"PASSWORD"
),
42
)),
43
new
Entity
\
TextField
(
'INVITATION'
),
44
new
Entity
\
DatetimeField
(
'CONFERENCE_START'
),
45
new
Entity
\
DatetimeField
(
'CONFERENCE_END'
),
46
new
Entity
\
StringField
(
'IS_BROADCAST'
, array(
47
'default_value'
=>
'N'
48
)),
49
new
Entity
\ReferenceField(
50
'ALIAS'
,
51
'Bitrix\Im\Model\AliasTable'
,
52
array(
'=this.ALIAS_ID'
=>
'ref.ID'
)
53
)
54
);
55
}
56
}
Bitrix\Im\Model\ConferenceTable
Definition
conference.php:24
Bitrix\Im\Model\ConferenceTable\getMap
static getMap()
Definition
conference.php:30
Bitrix\Im\Model\ConferenceTable\getTableName
static getTableName()
Definition
conference.php:25
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Main\ORM\Fields\CryptoField
Definition
cryptofield.php:14
Bitrix\Main\ORM\Fields\DatetimeField
Definition
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\ORM\Fields\StringField
Definition
stringfield.php:20
Bitrix\Main\ORM\Fields\TextField
Definition
textfield.php:20
Bitrix\Im\V2\Sync\Entity
Definition
Entity.php:6
Bitrix\Im\Model
Definition
alias.php:2
Bitrix\Main
Bitrix
modules
im
lib
model
conference.php
Создано системой
1.10.0