Bitrix-D7 22.6
 
Загрузка...
Поиск...
Не найдено
Интерфейс AccessibleController
+ Граф наследования:AccessibleController:

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

 __construct (int $userId)
 
 getUser ()
 
 getEntityFilter (string $action, string $entityName, $params=null)
 
 checkByItemId (string $action, int $itemId=null, $params=null)
 
 check (string $action, AccessibleItem $item=null, $params=null)
 
 batchCheck (array $request, AccessibleItem $item)
 

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

static can ($userId, string $action, $itemId=null, $params=null)
 

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

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

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

◆ __construct()

__construct ( int  $userId)

Замещается в AccessController и BaseAccessController.

Методы

◆ batchCheck()

batchCheck ( array  $request,
AccessibleItem  $item 
)

Замещается в BaseAccessController.

◆ can()

static can (   $userId,
string  $action,
  $itemId = null,
  $params = null 
)
static

Замещается в BaseAccessController.

◆ check()

check ( string  $action,
AccessibleItem  $item = null,
  $params = null 
)

◆ checkByItemId()

checkByItemId ( string  $action,
int  $itemId = null,
  $params = null 
)

Замещается в BaseAccessController.

◆ getEntityFilter()

getEntityFilter ( string  $action,
string  $entityName,
  $params = null 
)

Get filter for entity.

The filter contains conditions that allow the user to see only what is available to him according to the granted rights.

Аргументы
string$action
string$entityNamerecommended to use the name of the tablet class.
mixed$params
Возвращает
array|null is filter not available - return null.

Замещается в BaseAccessController.

◆ getUser()

getUser ( )

Замещается в BaseAccessController.