Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
abstractaccessfilter.php
1
<?php
2
3
namespace
Bitrix\Main\Access\Filter
;
4
5
use
Bitrix\Main\Access\AccessibleController
;
6
use
Bitrix\Main\Access\User\AccessibleUser
;
7
8
abstract
class
AbstractAccessFilter
implements
AccessFilter
9
{
10
protected
AccessibleController
$controller
;
11
protected
AccessibleUser
$user
;
12
16
public
function
__construct
(
AccessibleController
$controller
)
17
{
18
$this->controller =
$controller
;
19
$this->user =
$controller
->
getUser
();
20
}
21
25
abstract
public
function
getFilter
(
string
$entity, array $params = []): array;
26
}
Bitrix\Main\Access\Filter\AbstractAccessFilter
Definition
abstractaccessfilter.php:9
Bitrix\Main\Access\Filter\AbstractAccessFilter\$user
AccessibleUser $user
Definition
abstractaccessfilter.php:11
Bitrix\Main\Access\Filter\AbstractAccessFilter\$controller
AccessibleController $controller
Definition
abstractaccessfilter.php:10
Bitrix\Main\Access\Filter\AbstractAccessFilter\__construct
__construct(AccessibleController $controller)
Definition
abstractaccessfilter.php:16
Bitrix\Main\Access\Filter\AbstractAccessFilter\getFilter
getFilter(string $entity, array $params=[])
Bitrix\Main\Access\AccessibleController
Definition
accessiblecontroller.php:15
Bitrix\Main\Access\AccessibleController\getUser
getUser()
Bitrix\Main\Access\Filter\AccessFilter
Definition
accessfilter.php:11
Bitrix\Main\Access\User\AccessibleUser
Definition
accessibleuser.php:13
Bitrix\Main\Access\Filter
Definition
abstractaccessfilter.php:3
modules
main
lib
access
filter
abstractaccessfilter.php
Создано системой
1.10.0