method public

ComponentController::__construct()

Класс: \Bitrix\Main\Engine\Component\ComponentController

Сигнатура

public __construct(Controllerable $component) : mixed

Описание

Конструктор ComponentController.

Параметры

$component Controllerable

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

mixed

Как применяется в ComponentController

ComponentController::__construct() — метод класса \Bitrix\Main\Engine\Component\ComponentController модуля «Главный модуль».

Конструктор: создаёт экземпляр ComponentController — обязательные аргументы перечислены в разделе «Параметры».

use Bitrix\Main\Engine\Component\ComponentController;

$component = null; // Controllerable
$object = new ComponentController($component);

Другие методы ComponentController

__construct() есть и у других классов модуля «Главный модуль»: AbstractAccessFilter, AbstractRule, AccessAuthProvider, AccessCode, AccessFilter, AccessibleController, Action, AddedData.

Исходный файл: source/main/lib/engine/component/componentcontroller.php:24

Что будем искать? Например,Продвижение