1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
booleanrule.php
См. документацию.
1
<?php
2
9
10
namespace
Bitrix\Main\Authentication\Policy
;
11
12
class
BooleanRule
extends
Rule
13
{
14
protected
$options
= [
15
'type'
=>
'checkbox'
,
16
];
17
24
public
function
__construct
(
$title
,
bool
$value
=
false
,
array
$options
=
null
)
25
{
26
parent::__construct(
$title
,
$value
,
$options
);
27
}
28
32
public
function
compare
(
$value
): bool
33
{
34
return
(
$value
&& !$this->value);
35
}
36
}
Bitrix\Main\Authentication\Policy\BooleanRule
Определения
booleanrule.php:13
Bitrix\Main\Authentication\Policy\BooleanRule\$options
$options
Определения
booleanrule.php:14
Bitrix\Main\Authentication\Policy\BooleanRule\__construct
__construct($title, bool $value=false, array $options=null)
Определения
booleanrule.php:24
Bitrix\Main\Authentication\Policy\BooleanRule\compare
compare($value)
Определения
booleanrule.php:32
Bitrix\Main\Authentication\Policy\Rule
Определения
rule.php:13
Bitrix\Main\Authentication\Policy\Rule\$value
$value
Определения
rule.php:15
Bitrix\Main\Authentication\Policy\Rule\$title
$title
Определения
rule.php:14
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\Authentication\Policy
Определения
booleanrule.php:10
bitrix
modules
main
lib
authentication
policy
booleanrule.php
Создано системой
1.14.0