1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
EventOptionRepository.php
См. документацию.
1<?php
2
3namespace Bitrix\Calendar\EventOption;
4
5use Bitrix\Calendar\OpenEvents\Internals\OpenEventOptionTable;
6
8{
9 public static function getIdsByCategoryId(int $categoryId): array
10 {
11 $query = OpenEventOptionTable::query();
12 $query->where('CATEGORY_ID', $categoryId);
13 $query->addSelect('ID');
14 //TODO: possible too many items, memory usage?
15 $eventOptions = $query->fetchAll();
16
17 return array_column($eventOptions, 'ID');
18 }
19}
static getIdsByCategoryId(int $categoryId)
Определения EventOptionRepository.php:9
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$query
Определения get_search.php:11