public function executeShowByStability($request) { $order = $this->getRequestParameter('order'); if (!$order) { $order = 'asc'; } $this->pager = ReportPeer::findByStability($request->getParameter('page', 1), 10, $order); $this->setTemplate('list'); }