Documentation

canEdit

boolean public
\Bitrix\Vote\Attachment\Attach::canEdit(
 integer $userId
);

Method checks user access permissions for updating current attached object. Non-static method.

Parameters

ParameterDescriptionVersion
$userIdUser ID.

Exceptions

  • \Bitrix\Main\SystemException

Example



© «Bitrix24», 2001-2024