Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
RoleMap.php
1
<?php
9
namespace
Bitrix\Catalog\Access\Install
;
10
11
use
Bitrix\Catalog\Access\Role\RoleDictionary
;
12
13
class
RoleMap
14
{
18
public
static
function
getDefaultMap
(): array
19
{
20
return
[
21
RoleDictionary::ROLE_DIRECTOR => Role\Director::class,
22
RoleDictionary::ROLE_SALESMAN => Role\Salesman::class,
23
RoleDictionary::ROLE_STOCKMAN => Role\Stockman::class,
24
];
25
}
26
}
Bitrix\Catalog\Access\Install\RoleMap
Definition
RoleMap.php:14
Bitrix\Catalog\Access\Install\RoleMap\getDefaultMap
static getDefaultMap()
Definition
RoleMap.php:18
Bitrix\Catalog\Access\Role\RoleDictionary
Definition
RoleDictionary.php:12
Bitrix\Catalog\Access\Install
Definition
AccessInstaller.php:9
modules
catalog
lib
Access
Install
RoleMap.php
Создано системой
1.10.0