1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
booleanrule.php
См. документацию.
1<?php
2
9
11
12class 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}
__construct($title, bool $value=false, array $options=null)
Определения booleanrule.php:24
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804