Manager::getCategoryList

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. Manager
  4. getCategoryList
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/rooms/categories/manager.php
  • Класс: BitrixCalendarRoomsCategoriesManager
  • Вызов: Manager::getCategoryList
static function getCategoryList()
{
	$categories = RoomCategoryTable::getList([
			'select' => [
				'ID',
				'NAME',
			]
		])
		->fetchAll()
	;

	foreach ($categories as &$category)
	{
		$category['NAME'] = Emoji::decode($category['NAME']);
	}

	return $categories;
}

Добавить комментарий