File tree 6 files changed +10
-15
lines changed
classes/components/listPanels 6 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ class ListPanel
41
41
/** @var string Title (expects a translation key) */
42
42
public $ title = '' ;
43
43
44
+ /** @var array|object Query params when getting suggestions. */
45
+ public $ getParams = [];
46
+
44
47
/**
45
48
* Initialize the form with config parameters
46
49
*
Original file line number Diff line number Diff line change @@ -26,9 +26,6 @@ class PKPAnnouncementsListPanel extends ListPanel
26
26
/** @param \PKP\components\forms\announcement\PKPAnnouncementForm Form for adding or editing an email template */
27
27
public $ form = null ;
28
28
29
- /** @var array Query parameters to pass if this list executes GET requests */
30
- public $ getParams = [];
31
-
32
29
/** @var int Max number of items available to display in this list panel */
33
30
public $ itemsMax = 0 ;
34
31
Original file line number Diff line number Diff line change @@ -30,9 +30,6 @@ abstract class PKPDoiListPanel extends ListPanel
30
30
/** @var int How many items to display on one page in this list */
31
31
public $ count = 30 ;
32
32
33
- /** @var array Query parameters to pass if this list executes GET requests */
34
- public $ getParams = [];
35
-
36
33
/** @var int Max number of items available to display in this list panel */
37
34
public $ itemsMax = 0 ;
38
35
Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ class PKPInstitutionsListPanel extends ListPanel
28
28
/** Form for adding or editing an institution */
29
29
public ?PKPInstitutionForm $ form = null ;
30
30
31
- /**Query parameters to pass if this list executes GET requests */
32
- public array $ getParams = [];
33
-
34
31
/** Max number of items available to display in this list panel */
35
32
public int $ itemsMax = 0 ;
36
33
Original file line number Diff line number Diff line change @@ -33,9 +33,6 @@ class PKPSelectReviewerListPanel extends ListPanel
33
33
/** @var array List of user IDs already assigned as a reviewer to this review round */
34
34
public $ currentlyAssigned = [];
35
35
36
- /** @var array Query parameters to pass if this list executes GET requests */
37
- public $ getParams = [];
38
-
39
36
/** @var int Count of total items available for list */
40
37
public $ itemsMax = 0 ;
41
38
Original file line number Diff line number Diff line change @@ -33,9 +33,6 @@ abstract class PKPSubmissionsListPanel extends ListPanel
33
33
/** @var int Number of items to show at one time */
34
34
public $ count = 30 ;
35
35
36
- /** @var array Query parameters to pass if this list executes GET requests */
37
- public $ getParams = [];
38
-
39
36
/** @var bool Should items be loaded after the component is mounted? */
40
37
public $ lazyLoad = false ;
41
38
@@ -260,4 +257,11 @@ public function getCategoryFilters($categories = [])
260
257
261
258
return [];
262
259
}
260
+
261
+ /**
262
+ * Get an array of workflow stages supported by the current app
263
+ *
264
+ * @return array
265
+ */
266
+ abstract public function getWorkflowStages ();
263
267
}
You can’t perform that action at this time.
0 commit comments