/** Render funkcia pre vypisanie odkazu na clanok * @see Nette\Application\Control#render() */ public function render() { $this->template->setFile(__DIR__ . "/PrilohyClanok.latte"); $this->template->prilohy = $this->prilohy->getViditelnePrilohy($this->id_article); $this->template->texty = $this->texty; $this->template->avatar_path = $this->avatar_path; $this->template->render(); }