Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / diffusion / management / DiffusionRepositoryManagementPanelGroup.php
blob61e3f19c3b8a301dd6a2aab2cd6b8c469fd59061
1 <?php
3 abstract class DiffusionRepositoryManagementPanelGroup
4 extends Phobject {
6 final public function getManagementPanelGroupKey() {
7 return $this->getPhobjectClassConstant('PANELGROUPKEY');
10 abstract public function getManagementPanelGroupOrder();
11 abstract public function getManagementPanelGroupLabel();
13 public static function getAllPanelGroups() {
14 return id(new PhutilClassMapQuery())
15 ->setAncestorClass(__CLASS__)
16 ->setUniqueMethod('getManagementPanelGroupKey')
17 ->setSortMethod('getManagementPanelGroupOrder')
18 ->execute();