1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
addresslinkcollection.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Location\Entity\Address;
4
5
use Bitrix\Main\ArgumentTypeException;
6
12
final
class
AddressLinkCollection
extends
\Bitrix\Location\Entity\Generic\Collection
13
{
15
protected
$items
= [];
16
22
public
function
addItem
($linkedEntity): int
23
{
24
if
(!($linkedEntity instanceof
IAddressLink
))
25
{
26
throw
new
ArgumentTypeException
(
'linkedEntity must implement IAddressLink'
);
27
}
28
29
return
parent::addItem($linkedEntity);
30
}
31
}
Bitrix\Location\Entity\Address\AddressLinkCollection
Определения
addresslinkcollection.php:13
Bitrix\Location\Entity\Address\AddressLinkCollection\addItem
addItem($linkedEntity)
Определения
addresslinkcollection.php:22
Bitrix\Location\Entity\Address\AddressLinkCollection\$items
$items
Определения
addresslinkcollection.php:15
Bitrix\Location\Entity\Generic\Collection
Определения
collection.php:12
Bitrix\Main\ArgumentTypeException
Определения
ArgumentTypeException.php:9
Bitrix\Location\Entity\Address\IAddressLink
Определения
iaddresslink.php:11
bitrix
modules
location
lib
entity
address
addresslinkcollection.php
Создано системой
1.14.0