Documentation

HtmlDocument constructor

 public
\Bitrix\Main\UrlPreview\HtmlDocument::__construct(
 string $html,
 \Bitrix\Main\Web\Uri $uri
);

Non-static method is called when creating class instance and allows perform specific actions within it when creating an object.

Parameters

ParameterDescriptionVersion
$htmlDocument HTML code.
$uriDocument URL.

Example



© «Bitrix24», 2001-2022
Up