method public final

ComponentController::getScope()

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

Сигнатура

public final getScope() : string

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

string

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

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

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

use Bitrix\Main\Engine\Component\ComponentController;

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

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

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

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

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