Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
eventresult.php
1
<?php
9
namespace
Bitrix\Main\Access\Event
;
10
11
12
class
EventResult
extends
\Bitrix\Main\EventResult
13
{
14
protected
$isAccess
=
null
;
15
16
public
function
allowAccess
(): self
17
{
18
$this->
isAccess
=
true
;
19
return
$this;
20
}
21
public
function
forbidAccess
(): self
22
{
23
$this->
isAccess
=
false
;
24
return
$this;
25
}
26
27
public
function
isAccess
(): ?bool
28
{
29
return
$this->isAccess
;
30
}
31
}
Bitrix\Main\Access\Event\EventResult
Definition
eventresult.php:13
Bitrix\Main\Access\Event\EventResult\$isAccess
$isAccess
Definition
eventresult.php:14
Bitrix\Main\Access\Event\EventResult\isAccess
isAccess()
Definition
eventresult.php:27
Bitrix\Main\Access\Event\EventResult\allowAccess
allowAccess()
Definition
eventresult.php:16
Bitrix\Main\Access\Event\EventResult\forbidAccess
forbidAccess()
Definition
eventresult.php:21
Bitrix\Main\EventResult
Definition
eventresult.php:5
Bitrix\Main\Access\Event
Definition
event.php:9
modules
main
lib
access
event
eventresult.php
Создано системой
1.10.0