1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
basefilter.php
См. документацию.
1<?php
3
4abstract class BaseFilter
5{
6 protected $options = [];
7
8 protected function __construct()
9 {
10 // You have to validate $options in a derived class constructor
11 }
12
13 abstract public function isAvailable(): bool;
14
19 abstract public function apply(array $items, Dialog $dialog): void;
20
21 public function getOptions(): array
22 {
23 return $this->options;
24 }
25
26 public function getOption(string $option, $defaultValue = null)
27 {
28 return array_key_exists($option, $this->options) ? $this->options[$option] : $defaultValue;
29 }
30}
if($_SERVER $defaultValue['REQUEST_METHOD']==="GET" &&!empty($RestoreDefaults) && $bizprocPerms==="W" &&check_bitrix_sessid())
Определения options.php:32
apply(array $items, Dialog $dialog)
getOption(string $option, $defaultValue=null)
Определения basefilter.php:26
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$items
Определения template.php:224
$option
Определения options.php:1711