uawdijnntqw1x1x1
IP : 18.119.102.106
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
yar.axolotls.ru
/
bitrix
/
modules
/
vote
/
lib
/
attachment
/
defaultconnector.php
/
/
<? namespace Bitrix\Vote\Attachment; use Bitrix\Main\Loader; use Bitrix\Main\Localization\Loc; use Bitrix\Vote\Channel; Loc::loadMessages(__FILE__); class DefaultConnector extends Connector implements Storable { private $storage = null; private $canRead = array(); private $canEdit = array(); /** * @param integer $userId UserID. * @return bool */ 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); } /** * @param integer $userId UserID. * @return bool */ 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); } /** * @param Channel $channel Group of votes. * @return $this */ public function setStorage(Channel $channel) { $this->storage = $channel; return $this; } /** * @return Channel|null */ public function getStorage() { return $this->storage; } /** * @return bool */ public function isStorable() { return ($this->storage !== null); } }
/var/www/axolotl/data/www/yar.axolotls.ru/bitrix/modules/vote/lib/attachment/defaultconnector.php