Пример #1
0
 /**
  * Formatted user
  * @return int
  */
 public function getUserName()
 {
     return $this->user ? Module::getInstance()->getUserName($this->user, 'id') : $this->user_id;
 }