- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/lib/engine/response/component.php
- Класс: Bitrix\Main\Engine\Response\Component
- Вызов: Component::__construct
public function __construct($componentName, $componentTemplate = '', array $componentParams = [], array $additionalResponseParams = [], $dataKeys = [])
{
$componentArea = new ContentArea\Component($componentName, $componentTemplate, $componentParams, $dataKeys);
parent::__construct($componentArea, self::STATUS_SUCCESS, null, $additionalResponseParams);
}