Documentation

getDynamicPreview

string|false public static
\Bitrix\Main\UrlPreview\UrlPreview::getDynamicPreview(
 string $url,
 boolean $checkAccess = true
);

Static method returns HTML code for dynamic rich link (internal URL).

Parameters

ParameterDescriptionVersion
$urlInternal document URL.
$checkAccessDefines if method must check user access permissions to an entity.

Example



© «Bitrix24», 2001-2022
Up