Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
fieldcollection.php
1
<?php
2
3
namespace
Bitrix\Location\Entity\Address
;
4
5
use
Bitrix\Main\ArgumentTypeException
;
6
12
final
class
FieldCollection
extends
\Bitrix\Location\Entity\Generic\FieldCollection
13
{
15
protected
$items
= [];
16
23
public
function
addItem
($field): int
24
{
25
if
(!($field instanceof
Field
))
26
{
27
throw
new
ArgumentTypeException
(
'field must be the instance of Field'
);
28
}
29
30
return
parent::addItem($field);
31
}
32
}
Bitrix\Location\Entity\Address\FieldCollection
Definition
fieldcollection.php:13
Bitrix\Location\Entity\Address\FieldCollection\addItem
addItem($field)
Definition
fieldcollection.php:23
Bitrix\Location\Entity\Address\FieldCollection\$items
$items
Definition
fieldcollection.php:15
Bitrix\Location\Entity\Address\Field
Definition
field.php:14
Bitrix\Location\Entity\Generic\FieldCollection
Definition
fieldcollection.php:13
Bitrix\Main\ArgumentTypeException
Definition
exception.php:114
Bitrix\Location\Entity\Address
Definition
addresscollection.php:3
modules
location
lib
entity
address
fieldcollection.php
Создано системой
1.10.0