/** * Akce pro zobrazení přehledu článků * @param int $category; */ public function renderList($category) { $this->template->category = $this->categoriesModel->find($category); $this->template->articles = $this->articlesModel->findAll($category); }