DefaultConnector::canRead

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

Добавить комментарий