public function render() { $this->template->ucastnici = $this->oznam_ucast->findBy(["id_oznam" => $this->id_oznam]); $this->template->allowed_delete_ucast = $this->allowed_delete_ucast; $this->template->setFile(__DIR__ . '/Potvrd_ucast.latte'); $this->template->render(); }
/** Render */ public function render() { $this->template->volby = $this->oznam_volba->volby(); $this->template->ucast = $this->oznam_ucast->mojaUcast($this->id_oznam, $this->id_user_profiles); $this->template->ucastnici = $this->oznam_ucast->findBy(["id_oznam" => $this->id_oznam]); $this->template->texty_pu = $this->texty_pu; $this->template->setFile(__DIR__ . '/Potvrd_ucast.latte'); $this->template->render(); }