setTitle('editor.issues.futureIssues'); parent::initialize($request, $args); // Add Create Issue action $router = $request->getRouter(); import('lib.pkp.classes.linkAction.request.AjaxModal'); $this->addAction( new LinkAction( 'addIssue', new AjaxModal( $router->url($request, null, null, 'addIssue', null, array('gridId' => $this->getId())), __('grid.action.addIssue'), 'modal_manage' ), __('grid.action.addIssue'), 'add_category' ) ); } /** * @copydoc GridHandler::loadData() */ protected function loadData($request, $filter) { $journal = $request->getJournal(); $issueDao = DAORegistry::getDAO('IssueDAO'); return $issueDao->getUnpublishedIssues($journal->getId()); } /** * Get the js handler for this component. * @return string */ public function getJSHandler() { return '$.pkp.controllers.grid.issues.FutureIssueGridHandler'; } } ?>