public function showAction() { $categoryId = $this->getParam('category_id'); $this->view->categoryId = $categoryId; $style = $this->getParam('style'); $this->view->style = $style; $limit = $this->getParam('limit', 10); $articles = Modules_News_Services_Article::getMostViewedArticle($categoryId, $limit); $this->view->articles = $articles; }