Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
accessrolerelationtable.php
1
<?php
9
namespace
Bitrix\Main\Access\Role
;
10
11
use
Bitrix\Main\Entity
;
12
use
Bitrix\Main\Access\Entity\DataManager
;
13
14
abstract
class
AccessRoleRelationTable
extends
DataManager
15
{
16
public
static
function
getMap
()
17
{
18
return
[
19
new
Entity\IntegerField(
'ID'
, [
20
'autocomplete'
=>
true
,
21
'primary'
=>
true
22
]),
23
new
Entity\IntegerField(
'ROLE_ID'
, [
24
'required'
=>
true
25
]),
26
new
Entity\StringField(
'RELATION'
, [
27
'required'
=>
true
28
])
29
];
30
}
31
}
Bitrix\Main\Access\Entity\DataManager
Definition
datamanager.php:15
Bitrix\Main\Access\Role\AccessRoleRelationTable
Definition
accessrolerelationtable.php:15
Bitrix\Main\Access\Role\AccessRoleRelationTable\getMap
static getMap()
Definition
accessrolerelationtable.php:16
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Main\Access\Role
Definition
accessibleroledictionary.php:9
modules
main
lib
access
role
accessrolerelationtable.php
Создано системой
1.10.0