public function startup() { parent::startup(); if ($this->model->getPkUser($this->user->id)) { $this->template->pkh = true; } else { $this->template->pkh = false; } }
public function startup() { parent::startup(); if ($this->model->getPkUser($this->user->id)) { $this->template->pkh = true; } else { $this->template->pkh = false; } }