public function indexAction() { //get landing page text $mptext = new Application_Model_Mpr(); $this->view->row_text = $mptext->getText(); // for banner $banner = new Application_Model_Banner(); $this->view->banner = $banner->getMainBanner(); //for social links $links = new Application_Model_SocialLinks(); $this->view->links = $links->getSocialLinks(); //for strip banner $strip = new Application_Model_StripBanner(); $this->view->strip = $strip->getMainStripBanner(); //for videos $results = $this->video->getFeaturedVideos(); if (count($results) > 0) { $this->Paginator($results); } else { $this->view->empty_rec = true; } //for testimonial is featured $result = $this->testimonial->getFeaturedTestimonial(); $this->view->i = 1; $this->view->list = $result; }