1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс ScopeAccess

Открытые члены

 __construct (string $moduleId=null, int $userId=null)
 canRead (int $scopeId)
 canAdd ()
 canUpdate (int $scopeId)
 canDelete ($scopeIds)
 isAdmin ()
 isAdminForEntityTypeId (string $entityTypeId)
 canAddByEntityTypeId (string $entityTypeId)

Открытые статические члены

static getInstance (string $moduleId, int $userId=null)

Поля данных

const SETTINGS_ENTITYFORM_SCOPE_KEY = 'entityFormScope'
const SETTINGS_ACCESS_CLASS_KEY = 'access'

Защищенные члены

 getDefaultUserId ()

Защищенные данные

 $userId
 $moduleId

Подробное описание

См. определение в файле scopeaccess.php строка 12

Конструктор(ы)

◆ __construct()

__construct ( string $moduleId = null,
int $userId = null )

См. определение в файле scopeaccess.php строка 20

Методы

◆ canAdd()

canAdd ( )

См. определение в файле scopeaccess.php строка 65

◆ canAddByEntityTypeId()

canAddByEntityTypeId ( string $entityTypeId)

См. определение в файле scopeaccess.php строка 90

◆ canDelete()

canDelete ( $scopeIds)

См. определение в файле scopeaccess.php строка 75

◆ canRead()

canRead ( int $scopeId)

См. определение в файле scopeaccess.php строка 60

◆ canUpdate()

canUpdate ( int $scopeId)

См. определение в файле scopeaccess.php строка 70

◆ getDefaultUserId()

getDefaultUserId ( )
protected

См. определение в файле scopeaccess.php строка 31

◆ getInstance()

getInstance ( string $moduleId,
int $userId = null )
static

См. определение в файле scopeaccess.php строка 42

◆ isAdmin()

isAdmin ( )

См. определение в файле scopeaccess.php строка 80

◆ isAdminForEntityTypeId()

isAdminForEntityTypeId ( string $entityTypeId)

См. определение в файле scopeaccess.php строка 85

Поля

◆ $moduleId

$moduleId
protected

См. определение в файле scopeaccess.php строка 18

◆ $userId

$userId
protected

См. определение в файле scopeaccess.php строка 17

◆ SETTINGS_ACCESS_CLASS_KEY

const SETTINGS_ACCESS_CLASS_KEY = 'access'

См. определение в файле scopeaccess.php строка 15

◆ SETTINGS_ENTITYFORM_SCOPE_KEY

const SETTINGS_ENTITYFORM_SCOPE_KEY = 'entityFormScope'

См. определение в файле scopeaccess.php строка 14


Объявления и описания членов класса находятся в файле: