public function renderPrilohy() { if (!isset($this->template->prilohy)) { $this->template->prilohy = $this->redakce->seznamPriloh($this->id_clanku, TRUE); } $this->template->clanek = $this->redakce->findClanekById($this->id_clanku); $this->template->max_rozmery_obrazku = $this->redakce->max_rozmery_obrazku; }