1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
ormsectionrepository.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Infrastructure\Persistence
;
4
5
use
Bitrix\Calendar\Internals\SectionTable
;
6
use
Bitrix\Calendar\Service\SectionRepository
;
7
8
class
OrmSectionRepository
implements
SectionRepository
9
{
10
public
function
getSectionById
(
int
$sectionId): ?
array
11
{
12
$section = SectionTable::getList([
13
'filter'
=> [
14
'=ACTIVE'
=>
'Y'
,
15
'=ID'
=> $sectionId
16
],
17
'select'
=> [
18
'ID'
,
19
'CAL_TYPE'
,
20
'OWNER_ID'
,
21
'NAME'
22
]
23
]
24
)->fetch();
25
26
return
$section
27
? $section
28
:
null
;
29
}
30
}
Bitrix\Calendar\Infrastructure\Persistence\OrmSectionRepository
Определения
ormsectionrepository.php:9
Bitrix\Calendar\Infrastructure\Persistence\OrmSectionRepository\getSectionById
getSectionById(int $sectionId)
Определения
ormsectionrepository.php:10
Bitrix\Calendar\Internals\SectionTable
Определения
sectiontable.php:63
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Calendar\Service\SectionRepository
Определения
sectionrepository.php:6
Bitrix\Calendar\Infrastructure\Persistence
Определения
ormsectionrepository.php:3
bitrix
modules
calendar
lib
infrastructure
persistence
ormsectionrepository.php
Создано системой
1.14.0