• Модуль: vote
  • Путь к файлу: ~/bitrix/modules/vote/lib/attachment/defaultconnector.php
  • Класс: BitrixVoteAttachmentDefaultConnector
  • Вызов: DefaultConnector::canEdit
public function canEdit($userId)
{
	if (!array_key_exists($userId, $this->canEdit) && $this->isStorable())
		$this->canEdit[$userId] = $this->getStorage()->canEditVote($userId);
	return (isset($this->canEdit[$userId]) ? $this->canEdit[$userId] : false);
}