method
public
Component::getSectionName()
Сигнатура
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

