Метод getAllowableOperations
Сигнатура метода
public static function getAllowableOperations($userId, $arGroups, $arStates, $appendExtendedGroups = false)
Описание
Method returns allowable operations for specified user in specified states. If specified states are not relevant to state machine returns null. If user has no access returns array(). Else returns operations array(operation, ...).
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
—
|
—
|
—
|
$arGroups
|
—
|
—
|
—
|
$arStates
|
—
|
—
|
—
|
$appendExtendedGroups
|
—
|
false
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/classes/general/document.php
Расположение метода в файле
Строки
279–314