Differential D19827 Diff 47387 src/applications/diffusion/management/DiffusionRepositorySymbolsManagementPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/management/DiffusionRepositorySymbolsManagementPanel.php
<?php | <?php | ||||
final class DiffusionRepositorySymbolsManagementPanel | final class DiffusionRepositorySymbolsManagementPanel | ||||
extends DiffusionRepositoryManagementPanel { | extends DiffusionRepositoryManagementPanel { | ||||
const PANELKEY = 'symbols'; | const PANELKEY = 'symbols'; | ||||
public function getManagementPanelLabel() { | public function getManagementPanelLabel() { | ||||
return pht('Symbols'); | return pht('Symbols'); | ||||
} | } | ||||
public function getManagementPanelOrder() { | public function getManagementPanelOrder() { | ||||
return 900; | return 900; | ||||
} | } | ||||
public function getManagementPanelGroupKey() { | |||||
return DiffusionRepositoryManagementIntegrationsPanelGroup::PANELGROUPKEY; | |||||
} | |||||
public function getManagementPanelIcon() { | public function getManagementPanelIcon() { | ||||
$repository = $this->getRepository(); | $repository = $this->getRepository(); | ||||
$has_any = | $has_any = | ||||
$repository->getSymbolLanguages() || | $repository->getSymbolLanguages() || | ||||
$repository->getSymbolSources(); | $repository->getSymbolSources(); | ||||
if ($has_any) { | if ($has_any) { | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |