Documentation

buildPreview

string public static
\Bitrix\Socialnetwork\Ui\Preview\Post::buildPreview(
 array $params
);

Method returns HTML code for blog post preview. Static method.

Parameters

ParameterDescriptionVersion
$paramsExpected keys: postId, userId.

Example



© «Bitrix24», 2001-2024
Up