method
public
ContentAreaInterface::getHtml()
Класс: \Bitrix\Main\Engine\Response\ContentArea\ContentAreaInterface
Сигнатура
public getHtml() : string
Возвращаемое значение
string
Как применяется в ContentAreaInterface
ContentAreaInterface::getHtml() — метод интерфейса \Bitrix\Main\Engine\Response\ContentArea\ContentAreaInterface модуля «Главный модуль».
Метод объекта: сначала нужен объект, реализующий ContentAreaInterface.
use Bitrix\Main\Engine\Response\ContentArea\ContentAreaInterface;
/** @var ContentAreaInterface $object */
$result = $object->getHtml();
// $result: stringgetHtml() есть и у других классов модуля «Главный модуль»: Agreement, Component, HtmlDocument.
Исходный файл: source/main/lib/engine/response/contentarea/contentareainterface.php:9

