Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
AuthorViewMetadataLinkAction.inc.php
1 <?php
15 import('lib.pkp.classes.linkAction.LinkAction');
16 
18 
24  function AuthorViewMetadataLinkAction($request, $submissionId) {
25  $dispatcher = $request->getDispatcher();
26  import('lib.pkp.classes.linkAction.request.AjaxModal');
27  parent::LinkAction(
28  'viewMetadata',
29  new AjaxModal(
30  $dispatcher->url($request, ROUTE_COMPONENT, null,
31  'modals.submissionMetadata.AuthorSubmissionMetadataHandler',
32  'fetch', null, array('submissionId' => $submissionId)
33  ),
34  __('submission.viewMetadata'),
35  'modal_information'
36  ),
37  __('submission.viewMetadata'),
38  'more_info'
39  );
40  }
41 }
42 
43 ?>
An action to open the submission meta-data modal.
AuthorViewMetadataLinkAction($request, $submissionId)
A modal that retrieves its content from via AJAX.
Base class defining an action that can be performed by the user in the user interface.