public function startup()
 {
     parent::startup();
     if ($this->model->getPkUser($this->user->id)) {
         $this->template->pkh = true;
     } else {
         $this->template->pkh = false;
     }
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
     $this->setTitle("Skupiny");
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct();
     $this->setTitle("Náměty prací");
 }
Esempio n. 4
0
 public function beforeRender()
 {
     parent::beforeRender();
     $this->template->_form = $this['formAddRole'];
 }
Esempio n. 5
0
 public function __construct()
 {
     parent::__construct();
     $this->setTitle("Uživatelé");
 }
 public function __construct()
 {
     parent::__construct();
     $this->setTitle("Zadání prací");
 }