/** * @copydoc GridHandler::initialize() */ function initialize($request) { $this->assocId = (int) $request->getRouter()->getContext($request)->getId(); $this->assocType = ASSOC_TYPE_PRESS; parent::initialize($request); import('controllers.modals.submissionMetadata.linkAction.MonographlessCatalogEntryLinkAction'); $catalogEntryAction = new MonographlessCatalogEntryLinkAction($request); $this->addAction($catalogEntryAction); }
/** * @copydoc GridHandler::getFilterSelectionData() */ function getFilterSelectionData($request) { $filterData = parent::getFilterSelectionData($request); $filterData['categoryId'] = $this->assocId; return $filterData; }