method public

Component::getSectionName()

Класс: \Bitrix\Main\Engine\Response\ContentArea\Component

Сигнатура

public getSectionName() : string

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

string

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

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

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

use Bitrix\Main\Engine\Response\ContentArea\Component;

/** @var Component $object */
$result = $object->getSectionName();
// $result: string

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

getSectionName() есть и у других классов модуля «Главный модуль»: DataSectionInterface.

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

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