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
Parameter | Description | Version |
---|---|---|
$html | Document HTML code. | |
$uri | Document URL. |
Example
© «Bitrix24», 2001-2025
Up