Open Journal Systems
3.3.0
ViewCompetingInterestGuidelinesLinkAction.inc.php
1
<?php
2
16
import
(
'lib.pkp.classes.linkAction.LinkAction'
);
17
18
class
ViewCompetingInterestGuidelinesLinkAction
extends
LinkAction
{
19
24
function
__construct
($request) {
25
$context = $request->getContext();
26
// Instantiate the view competing interests modal.
27
import
(
'lib.pkp.classes.linkAction.request.ConfirmationModal'
);
28
$viewCompetingInterestsModal =
new
ConfirmationModal
(
29
$context->getLocalizedData(
'competingInterests'
),
30
__(
'reviewer.submission.competingInterests'
),
31
null
,
null
,
false
,
32
false
33
);
34
35
// Configure the link action.
36
parent::__construct(
'viewCompetingInterestGuidelines'
, $viewCompetingInterestsModal, __(
'reviewer.submission.competingInterests'
));
37
}
38
}
39
40
ConfirmationModal
Class defining a simple confirmation modal either with remote action or not.
Definition:
ConfirmationModal.inc.php:18
LinkAction
Base class defining an action that can be performed by the user in the user interface.
Definition:
LinkAction.inc.php:22
ViewCompetingInterestGuidelinesLinkAction\__construct
__construct($request)
Definition:
ViewCompetingInterestGuidelinesLinkAction.inc.php:24
ViewCompetingInterestGuidelinesLinkAction
An action to open the competing interests confirmation modal.
Definition:
ViewCompetingInterestGuidelinesLinkAction.inc.php:18
lib
pkp
controllers
confirmationModal
linkAction
ViewCompetingInterestGuidelinesLinkAction.inc.php
Generated on Fri Aug 28 2020 14:53:55 for Open Journal Systems by
1.8.17