Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
entityformconfigactable.php
1
<?php
2
3
namespace
Bitrix\Ui\EntityForm
;
4
5
use
Bitrix\Main\Entity
;
6
use
Bitrix\Main\UserAccessTable
;
7
24
class
EntityFormConfigAcTable
extends
Entity\DataManager
25
{
26
public
static
function
getTableName
()
27
{
28
return
'b_ui_entity_editor_config_ac'
;
29
}
30
31
public
static
function
getMap
()
32
{
33
return
[
34
new
Entity\IntegerField(
'ID'
, [
35
'autocomplete'
=>
true
,
36
'primary'
=>
true
37
]),
38
new
Entity\StringField(
'ACCESS_CODE'
, [
39
'required'
=>
true
,
40
'size'
=> 10
41
]),
42
new
Entity\ReferenceField(
43
'USER_ACCESS'
,
44
UserAccessTable::class,
45
array(
'=this.ACCESS_CODE'
=>
'ref.ACCESS_CODE'
)
46
),
47
new
Entity\IntegerField(
'CONFIG_ID'
, [
48
'required'
=>
true
,
49
'size'
=> 10
50
]),
51
new
Entity\ReferenceField(
52
'CONFIG'
,
53
EntityFormConfigTable::class,
54
array(
'=this.CONFIG_ID'
=>
'ref.ID'
)
55
),
56
];
57
}
58
}
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Main\UserAccessTable
Definition
useraccess.php:24
Bitrix\Ui\EntityForm\EntityFormConfigAcTable
Definition
entityformconfigactable.php:25
Bitrix\Ui\EntityForm\EntityFormConfigAcTable\getMap
static getMap()
Definition
entityformconfigactable.php:31
Bitrix\Ui\EntityForm\EntityFormConfigAcTable\getTableName
static getTableName()
Definition
entityformconfigactable.php:26
Bitrix\Ui\EntityForm
Definition
entityformconfigactable.php:3
modules
ui
lib
entityform
entityformconfigactable.php
Создано системой
1.10.0