Open Journal Systems  3.3.0
SelectableSubmissionFileListCategoryGridRow.inc.php
1 <?php
15 import('lib.pkp.classes.controllers.grid.GridCategoryRow');
16 
18 
19  //
20  // Overridden methods from GridCategoryRow
21  //
25  function getCategoryLabel() {
26  $stageId = $this->getData();
27  import('lib.pkp.classes.workflow.WorkflowStageDAO');
28  $stageTranslationKey = WorkflowStageDAO::getTranslationKeyFromId($stageId);
29 
30  return __($stageTranslationKey);
31  }
32 }
33 
34 
SelectableSubmissionFileListCategoryGridRow\getCategoryLabel
getCategoryLabel()
Definition: SelectableSubmissionFileListCategoryGridRow.inc.php:25
GridCategoryRow
Class defining basic operations for handling the category row in a grid.
Definition: GridCategoryRow.inc.php:19
WorkflowStageDAO\getTranslationKeyFromId
static getTranslationKeyFromId($stageId)
Definition: WorkflowStageDAO.inc.php:62
SelectableSubmissionFileListCategoryGridRow
Selectable submission file list category grid row definition.
Definition: SelectableSubmissionFileListCategoryGridRow.inc.php:17
GridRow\getData
& getData()
Definition: GridRow.inc.php:131