16 import(
'lib.pkp.classes.controllers.grid.GridCategoryRow');
19 import(
'lib.pkp.classes.linkAction.request.AjaxModal');
20 import(
'lib.pkp.classes.linkAction.request.RemoteActionConfirmationModal');
38 function __construct($monograph, $publication, $readOnly =
false) {
39 $this->_monograph = $monograph;
40 $this->_publication = $publication;
41 $this->_readOnly = $readOnly;
42 parent::__construct();
51 function initialize($request, $template =
null) {
53 parent::initialize($request, $template);
59 $chapterId = $this->
getId();
60 if (!empty($chapterId) && is_numeric($chapterId)) {
62 $this->_chapter = $chapter;
66 $router = $request->getRouter();
68 'submissionId' => $monograph->getId(),
69 'publicationId' => $this->getPublication()->getId(),
70 'chapterId' => $chapterId
77 $request->getSession(),
78 __(
'common.confirmDelete'),
80 $router->url($request,
null,
null,
'deleteChapter',
null, $actionArgs),