showView
string public static \Bitrix\Main\UrlPreview\UrlPreview::showView( array $userField, array $userFieldParams, string $cacheTag, boolean $edit = false );
Non-static method returns HTMl code for rich links.
Parameters
Parameter | Description | Version |
---|---|---|
$userField | User field value. | |
$userFieldParams | User field parameters. | |
$cacheTag | Cache tag for internal rich link caching (without parameters). | |
$edit | Specifies method for link display. When false - returns HMTL code for showing rich link in preview mode. When true - returns HTML code for showing in edit mode. |
Example
© «Bitrix24», 2001-2023
Up