# CMain::getCurrentIncludedComponent()

URL: https://chugunov.pro/api-bitrix/global/cmain/getcurrentincludedcomponent/
Проверено на 1С-Битрикс 25.x, обновлено 04.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс: [`\CMain`](https://chugunov.pro/api-bitrix/global/cmain/)
Модуль: Глобальные классы.
Свойства элемента: method, public.

## Сигнатура

```php
public getCurrentIncludedComponent() : bool|CBitrixComponent
```

## Описание

Returns false or instance of current component being executed.

## Возвращаемое значение

`bool|CBitrixComponent`

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/CMain.html
