Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
runtimefilter.php
1<?php
9
10use Bitrix\Main\Entity\ExpressionField;
11
17{
19 protected $key;
20
22 protected $value;
23
25 protected $runtime = [];
26
34 public function setFilter($key, $value)
35 {
36 $this->key = $key;
37 $this->value = $value;
38 return $this;
39 }
40
47 public function addRuntime(array $field)
48 {
49 $this->runtime[] = $field;
50 return $this;
51 }
52
58 public function getRuntime()
59 {
60 return $this->runtime;
61 }
62
68 public function getKey()
69 {
70 return $this->key;
71 }
72
78 public function getValue()
79 {
80 return $this->value;
81 }
82}