Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
norelationpermissiondisk.php
1
<?php
2
namespace
Bitrix\Im\Model
;
3
4
use \Bitrix\Main\Type\DateTime,
5
\Bitrix\Main\Entity\DataManager,
6
\Bitrix\Main\Entity\IntegerField,
7
\Bitrix\Main\Entity\DatetimeField;
8
35
class
NoRelationPermissionDiskTable
extends
DataManager
36
{
42
public
static
function
getTableName
()
43
{
44
return
'b_im_no_relation_permission_disk'
;
45
}
46
52
public
static
function
getMap
()
53
{
54
return
array(
55
new
IntegerField
(
'ID'
, array(
56
'primary'
=>
true
,
57
'autocomplete'
=>
true
,
58
//'title' => Loc::getMessage('NO_RELATION_PERMISSION_DISK_ENTITY_ID_FIELD'),
59
)),
60
new
IntegerField
(
'CHAT_ID'
, array(
61
'required'
=>
true
,
62
//'title' => Loc::getMessage('NO_RELATION_PERMISSION_DISK_ENTITY_CHAT_ID_FIELD'),
63
)),
64
new
IntegerField
(
'USER_ID'
, array(
65
'required'
=>
true
,
66
//'title' => Loc::getMessage('NO_RELATION_PERMISSION_DISK_ENTITY_USER_ID_FIELD'),
67
)),
68
new
DatetimeField
(
'ACTIVE_TO'
, array(
69
'required'
=>
true
,
70
'default_value'
=>
new
DateTime
,
71
//'title' => Loc::getMessage('NO_RELATION_PERMISSION_DISK_ENTITY_ACTIVE_TO_FIELD'),
72
)),
73
);
74
}
75
}
Bitrix\Im\Model\NoRelationPermissionDiskTable
Definition
norelationpermissiondisk.php:36
Bitrix\Im\Model\NoRelationPermissionDiskTable\getMap
static getMap()
Definition
norelationpermissiondisk.php:52
Bitrix\Im\Model\NoRelationPermissionDiskTable\getTableName
static getTableName()
Definition
norelationpermissiondisk.php:42
Bitrix\Main\ORM\Data\DataManager
Definition
datamanager.php:33
Bitrix\Main\ORM\Fields\DatetimeField
Definition
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\Type\DateTime
Definition
datetime.php:9
Bitrix\Im\Model
Definition
alias.php:2
modules
im
lib
model
norelationpermissiondisk.php
Создано системой
1.10.0