Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $this->icons = Dura_Class_Icon::getIcons();
     unset($this->icons['admin']);
 }