public function renderDefault($id) { parent::renderDefault($id); $this->template->current_category = $this->category->get($id); $this->template->title = 'Unread ' . $this->template->current_category->name; $this->template->articles = $this->article->category($id); }
public function renderDefault($id) { parent::renderDefault($id); $this->template->title = 'Unread'; $this->template->articles = $this->article->get_all(); }
public function renderDefault($id) { parent::renderDefault($id); $this->template->title = 'Unread ' . $this->feed->get($id)->name; $this->template->articles = $this->article->feed($id); }