public function showAction() { $limit = $this->getParam('limit', 5); $articles = Modules_News_Services_Article::getPhotoArticles($limit); if (count($articles) > 0) { $this->view->topArticle = $articles[0]; } $this->view->articles = $articles; }