コード例 #1
0
ファイル: lounge.php プロジェクト: Noomnus/drrr-like-chat
 protected function _profile()
 {
     $user =& Dura::user();
     $icon = $user->getIcon();
     $icon = Dura_Class_Icon::getIconUrl($icon);
     $profile = array('icon' => $icon, 'name' => $user->getName());
     $this->output['profile'] = $profile;
 }
コード例 #2
0
ファイル: default.php プロジェクト: Noomnus/drrr-like-chat
 public function __construct()
 {
     parent::__construct();
     $this->icons = Dura_Class_Icon::getIcons();
     unset($this->icons['admin']);
 }