method public final

ComponentController::generateActionMethodName()

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

Сигнатура

public final generateActionMethodName(mixed $action) : string

Параметры

$action mixed

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

string

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

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

Метод объекта: сначала нужен экземпляр ComponentController.

use Bitrix\Main\Engine\Component\ComponentController;

/** @var ComponentController $object */
$action = null;
$result = $object->generateActionMethodName($action);
// $result: string

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

generateActionMethodName() есть и у других классов модуля «Главный модуль»: Controller, DefaultController, JsonController.

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

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