uawdijnntqw1x1x1
IP : 216.73.216.207
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) 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
/
tiskom
/
data
/
www
/
tiskom.xhost.intravision.ru
/
.
/
.
/
bitrix
/
modules
/
forum
/
lib
/
comments
/
user.php
/
/
<?php namespace Bitrix\Forum\Comments; use \Bitrix\Forum; class User { protected $id = 0; protected $groups = [2]; protected $forumUser = null; public function __construct($id) { global $USER; if (is_object($USER) && $id == $USER->getId()) { $this->id = $USER->getId(); $this->groups = $USER->GetUserGroupArray(); } else if ($id > 0) { $this->id = $id; $this->groups = \Bitrix\Main\UserTable::getUserGroupIds($id); } $this->forumUser = Forum\User::getById($this->id); } public function getId() { return $this->id; } public function getGroups() { return implode(",", $this->groups); } public function getUserGroupArray() { return $this->groups; } public function isAuthorized() { return true; } public function getParam(string $key) { if ($this->forumUser instanceof Forum\User) { return $this->forumUser[$key]; } return null; } public function isAdmin() { return false; } public function getUserGroup() { return $this->groups; } public function getFirstName() { return ''; } public function getLastName() { return ''; } public function getSecondName() { return ''; } public function getLogin() { return ''; } public function getFullName() { return ''; } public function getUnreadMessageId($topicId = 0) { if ($this->forumUser instanceof Forum\User) { return $this->forumUser->getUnreadMessageId($topicId); } return null; } public function readTopic($topicId = 0) { if ($this->forumUser instanceof Forum\User) { $this->forumUser->readTopic($topicId); $this->forumUser->setLastVisit(); } } public function setLocation(int $forumId = 0, int $topicId = 0) { if ($this->forumUser instanceof Forum\User) { $this->forumUser->setLocation($forumId, $topicId); } } }
/var/www/tiskom/data/www/tiskom.xhost.intravision.ru/././bitrix/modules/forum/lib/comments/user.php