uawdijnntqw1x1x1
IP : 18.224.212.19
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
/
main
/
lib
/
engine
/
currentuser.php
/
/
<?php namespace Bitrix\Main\Engine; use CUser; final class CurrentUser { /** @var CUser */ private $cuser; /** * CurrentUser constructor. * In future when we create User in D7 we can make refactoring and make public the constructor. */ protected function __construct() { } /** * Returns the fully qualified name of this class. * @return string */ public static function className() { return get_called_class(); } /** * Returns current user by global $USER. * @return static */ public static function get() { global $USER; $self = new static(); $self->cuser = $USER; return $self; } /** * @return null */ public function getId() { return $this->cuser->getId(); } /** * @return mixed */ public function getLogin() { return $this->cuser->getLogin(); } /** * @return mixed */ public function getEmail() { return $this->cuser->getEmail(); } /** * @return mixed */ public function getFullName() { return $this->cuser->getFullName(); } /** * @return mixed */ public function getFirstName() { return $this->cuser->getFirstName(); } /** * @return mixed */ public function getLastName() { return $this->cuser->getLastName(); } /** * @return mixed */ public function getSecondName() { return $this->cuser->getSecondName(); } /** * @return array */ public function getUserGroups() { return $this->cuser->getUserGroupArray(); } /** * @return string */ public function getFormattedName() { return $this->cuser->getFormattedName(false, false); } /** * @param string $operationName * @return boolean */ public function canDoOperation($operationName) { return $this->cuser->canDoOperation($operationName); } /** * @return boolean */ public function isAdmin() { return $this->cuser->isAdmin(); } }
/var/www/axolotl/data/www/yar.axolotls.ru/bitrix/modules/main/lib/engine/currentuser.php