1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Resolver

Открытые статические члены

static getControllerAndAction ($vendor, $module, $action, $scope=Controller::SCOPE_AJAX)
static getDefaultNamespaceByModule ($module)
static getNameByController (Controller $controller)

Поля данных

const DEFAULT_VENDOR = 'bitrix'

Подробное описание

См. определение в файле resolver.php строка 9

Методы

◆ getControllerAndAction()

getControllerAndAction ( $vendor,
$module,
$action,
$scope = Controller::SCOPE_AJAX )
static

Returns list instance of controller and action in this controller.

Аргументы
string$vendor
string$module
string$action
string$scope
Возвращает
array|null

См. определение в файле resolver.php строка 23

◆ getDefaultNamespaceByModule()

getDefaultNamespaceByModule ( $module)
static

Returns default namespace by module.

Аргументы
string$moduleModule id.
Возвращает
null|string

См. определение в файле resolver.php строка 117

◆ getNameByController()

getNameByController ( Controller $controller)
static

Returns name of controller for using in routing. The name is built by rules: fully qualified name contains delimiters by dot. Example: vendor:module.controller.action.

Аргументы
Controller$controllerController.
Возвращает
string

См. определение в файле resolver.php строка 234

Поля

◆ DEFAULT_VENDOR

const DEFAULT_VENDOR = 'bitrix'

См. определение в файле resolver.php строка 11


Объявления и описания членов класса находятся в файле: