public function detailAction() { $os = $this->_getParam('os', NULL); $page = $this->_getParam('page', 1); $data = Application_Model_M_PackageMgt::fetchByPlatformPage($os, $page, 30); $this->view->data = $data; $this->view->page = $page; $this->view->os = $os; }