14 import(
'lib.pkp.classes.controllers.grid.GridCellProvider');
15 import(
'lib.pkp.classes.linkAction.request.RedirectAction');
26 $depositPoint = $row->getData();
27 switch ($column->getId()) {
29 return array(
'label' => $depositPoint->getLocalizedName());
31 return array(
'label' => $depositPoint->getSwordUrl());
33 switch ($depositPoint->getType()) {
34 case SWORD_DEPOSIT_TYPE_AUTOMATIC:
35 return array(
'label' => __(
'plugins.generic.sword.depositPoints.type.automatic'));
36 case SWORD_DEPOSIT_TYPE_OPTIONAL_SELECTION:
37 return array(
'label' => __(
'plugins.generic.sword.depositPoints.type.optionalSelection'));
38 case SWORD_DEPOSIT_TYPE_OPTIONAL_FIXED:
39 return array(
'label' => __(
'plugins.generic.sword.depositPoints.type.optionalFixed'));
40 case SWORD_DEPOSIT_TYPE_MANAGER:
41 return array(
'label' => __(
'plugins.generic.sword.depositPoints.type.manager'));
46 return parent::getTemplateVarsFromRowColumn($row, $column);