1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
EventOptionRepository.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\EventOption;
4
5
use Bitrix\Calendar\OpenEvents\Internals\OpenEventOptionTable;
6
7
final
class
EventOptionRepository
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
}
Bitrix\Calendar\EventOption\EventOptionRepository
Определения
EventOptionRepository.php:8
Bitrix\Calendar\EventOption\EventOptionRepository\getIdsByCategoryId
static getIdsByCategoryId(int $categoryId)
Определения
EventOptionRepository.php:9
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$query
$query
Определения
get_search.php:11
bitrix
modules
calendar
lib
EventOption
EventOptionRepository.php
Создано системой
1.14.0