method public

InlineAction::__construct()

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

Сигнатура

public __construct(string $name, Controllerable $controllerable, Controller $controller[, array<string|int, mixed> $config = array() ]) : mixed

Описание

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

Параметры

$name string
$controllerable Controllerable
$controller Controller
$config array<string|int, mixed> = array()

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

mixed

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

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

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

use Bitrix\Main\Engine\Component\InlineAction;

$name = '';
$controllerable = null; // Controllerable
$controller = null; // Controller
$object = new InlineAction($name, $controllerable, $controller);

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

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

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

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