method public final

JsonController::generateActionMethodName()

Класс: \Bitrix\Main\Engine\JsonController

Сигнатура

public final generateActionMethodName(mixed $action) : string

Параметры

$action mixed

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

string

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

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

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

use Bitrix\Main\Engine\JsonController;

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

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

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

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

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