Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
optionusertable.php
1
<?php
2
3
namespace
Bitrix\Im\Model
;
4
5
use
Bitrix\Main\ORM\Data\DataManager
,
6
Bitrix\Main\ORM\Fields\IntegerField
,
7
Bitrix\Main\SystemException
,
8
Bitrix\Main\ORM\Data
;
9
10
11
24
class
OptionUserTable
extends
DataManager
25
{
26
use Data\Internal\MergeTrait;
32
public
static
function
getTableName
(): string
33
{
34
return
'b_im_option_user'
;
35
}
36
43
public
static
function
getMap
(): array
44
{
45
return
[
46
'USER_ID'
=> (
new
IntegerField
(
'USER_ID'
, [
47
'primary'
=>
true
,
48
])),
49
'NOTIFY_GROUP_ID'
=> (
new
IntegerField
(
'NOTIFY_GROUP_ID'
, [])),
50
'GENERAL_GROUP_ID'
=> (
new
IntegerField
(
'GENERAL_GROUP_ID'
, [])),
51
];
52
}
53
}
Bitrix\Im\Model\OptionUserTable
Definition
optionusertable.php:25
Bitrix\Im\Model\OptionUserTable\getMap
static getMap()
Definition
optionusertable.php:43
Bitrix\Im\Model\OptionUserTable\getTableName
static getTableName()
Definition
optionusertable.php:32
Bitrix\Main\ORM\Data\DataManager
Definition
datamanager.php:33
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\SystemException
Definition
exception.php:8
Bitrix\Im\Model
Definition
alias.php:2
Bitrix\Main\ORM\Data
Definition
addresult.php:9
modules
im
lib
model
optionusertable.php
Создано системой
1.10.0