Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
settings.php
1
<?php
2
namespace
Bitrix\Main\Filter
;
3
use
Bitrix\Main
;
4
5
class
Settings
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
}
Bitrix\Main\ArgumentException
Definition
exception.php:34
Bitrix\Main\Filter\Settings
Definition
settings.php:6
Bitrix\Main\Filter\Settings\getID
getID()
Definition
settings.php:18
Bitrix\Main\Filter\Settings\$ID
$ID
Definition
settings.php:8
Bitrix\Main\Filter\Settings\__construct
__construct(array $params)
Definition
settings.php:10
Bitrix\Main\Filter
Bitrix\Main
modules
main
lib
filter
settings.php
Создано системой
1.10.0