Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
sectionsyncdatacollection.php
1
<?php
2
3
namespace
Bitrix\Calendar\Core\Section
;
4
5
use
Bitrix\Calendar\Core\Base\Collection
;
6
7
class
SectionSyncDataCollection
extends
Collection
8
{
14
public
function
getByName
($name): ?
SectionSyncData
15
{
16
foreach
($this->collection as $item)
17
{
18
if
($item->getConnectionType() === $name)
19
{
20
return
$item;
21
}
22
}
23
24
return
null
;
25
}
26
}
Bitrix\Calendar\Core\Base\Collection
Definition
collection.php:10
Bitrix\Calendar\Core\Section\SectionSyncDataCollection
Definition
sectionsyncdatacollection.php:8
Bitrix\Calendar\Core\Section\SectionSyncDataCollection\getByName
getByName($name)
Definition
sectionsyncdatacollection.php:14
Bitrix\Calendar\Core\Section\SectionSyncData
Definition
sectionsyncdata.php:8
Bitrix\Calendar\Core\Section
Definition
section.php:3
modules
calendar
lib
core
section
sectionsyncdatacollection.php
Создано системой
1.10.0