Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
settings.php
1<?php
2namespace Bitrix\Main\Filter;
4
6{
8 protected $ID = '';
9
10 function __construct(array $params)
11 {
12 $this->ID = $params['ID'] ?? '';
13 if($this->ID === '')
14 {
15 throw new Main\ArgumentException('Collection does not contain value for ID.', 'params');
16 }
17 }
18 public function getID()
19 {
20 return $this->ID;
21 }
22}
__construct(array $params)
Definition settings.php:10