/** Setup the index display pages */ public function indexAction() { $search = new Searches(); $this->view->tops = $search->getTopSearch((int) $this->getIdentityForForms()); $this->view->quantity = $search->getTopSearchQuantity((int) $this->getIdentityForForms()); }