Documentation

resolveTemporaryMetadata

array|false public static
\Bitrix\Main\UrlPreview\UrlPreview::resolveTemporaryMetadata(
 integer $id,
 boolean $checkAccess = true
);

Static method returns and stores metadata for temporary entry, created by the method reserveIdForUrl. When metadata cannot be issued, entry is deleted.

Parameters

ParameterDescriptionVersion
$idMetadata entry ID
$checkAccessDefines to check or not for user access permissions to entity.

Example



© «Bitrix24», 2001-2022
Up