Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
zoommeeting.php
1
<?php
2
namespace
Bitrix\Socialservices
;
3
4
use
Bitrix\Main
,
5
Bitrix\Main\ORM\Fields
;
6
26
class
ZoomMeetingTable
extends
Main\Entity\DataManager
27
{
33
public
static
function
getTableName
(): string
34
{
35
return
'b_socialservices_zoom_meeting'
;
36
}
37
44
public
static
function
getMap
(): array
45
{
46
return
[
47
new
Fields\IntegerField(
'ID'
, [
48
'primary'
=>
true
,
49
'autocomplete'
=>
true
50
]),
51
new
Fields\StringField(
'ENTITY_TYPE_ID'
, [
52
'required'
=>
true
,
53
'size'
=> 10,
54
]),
55
new
Fields\IntegerField(
'ENTITY_ID'
, [
56
'required'
=>
true
57
]),
58
new
Fields\StringField(
'CONFERENCE_URL'
, [
59
'required'
=>
true
,
60
'size'
=> 255,
61
]),
62
new
Fields\IntegerField(
'CONFERENCE_EXTERNAL_ID'
, [
63
'required'
=>
true
,
64
]),
65
new
Fields\CryptoField(
'CONFERENCE_PASSWORD'
, [
66
'crypto_enabled'
=> static::cryptoEnabled(
'CONFERENCE_PASSWORD'
),
67
]),
68
new
Fields\BooleanField(
'JOINED'
, [
69
'values'
=> [
'N'
,
'Y'
]
70
]),
71
new
Fields\DatetimeField(
'CONFERENCE_CREATED'
,[
72
'required'
=>
true
,
73
]),
74
new
Fields\DatetimeField(
'CONFERENCE_STARTED'
),
75
new
Fields\DatetimeField(
'CONFERENCE_ENDED'
),
76
new
Fields\BooleanField(
'HAS_RECORDING'
, [
77
'values'
=> [
'N'
,
'Y'
]
78
]),
79
new
Fields\IntegerField(
'DURATION'
, [
80
'required'
=>
true
,
81
]),
82
new
Fields\TextField(
'TITLE'
, [
83
'required'
=>
true
,
84
]),
85
new
Fields\StringField(
'SHORT_LINK'
, [
86
'required'
=>
true
,
87
'size'
=> 255,
88
])
89
];
90
}
91
92
public
static
function
getRowByExternalId
($externalId)
93
{
94
return
static::getRow([
95
'select'
=> [
'*'
],
96
'filter'
=> [
'=CONFERENCE_EXTERNAL_ID'
=> $externalId]
97
]);
98
}
99
}
Bitrix\Socialservices\ZoomMeetingTable
Definition
zoommeeting.php:27
Bitrix\Socialservices\ZoomMeetingTable\getMap
static getMap()
Definition
zoommeeting.php:44
Bitrix\Socialservices\ZoomMeetingTable\getRowByExternalId
static getRowByExternalId($externalId)
Definition
zoommeeting.php:92
Bitrix\Socialservices\ZoomMeetingTable\getTableName
static getTableName()
Definition
zoommeeting.php:33
Bitrix\Main\ORM\Fields
Definition
arrayfield.php:9
Bitrix\Main
Bitrix\Socialservices
Definition
ap.php:2
modules
socialservices
lib
zoommeeting.php
Создано системой
1.10.0