
Summary: Depends on D19826. Ref T13216. We have a fair number of options here; add some groups so the "Build" stuff can go in a little subcategory and such. Test Plan: {F6020896} Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13216 Differential Revision: https://secure.phabricator.com/D19827
22 lines
582 B
PHP
22 lines
582 B
PHP
<?php
|
|
|
|
abstract class DiffusionRepositoryManagementPanelGroup
|
|
extends Phobject {
|
|
|
|
final public function getManagementPanelGroupKey() {
|
|
return $this->getPhobjectClassConstant('PANELGROUPKEY');
|
|
}
|
|
|
|
abstract public function getManagementPanelGroupOrder();
|
|
abstract public function getManagementPanelGroupLabel();
|
|
|
|
public static function getAllPanelGroups() {
|
|
return id(new PhutilClassMapQuery())
|
|
->setAncestorClass(__CLASS__)
|
|
->setUniqueMethod('getManagementPanelGroupKey')
|
|
->setSortMethod('getManagementPanelGroupOrder')
|
|
->execute();
|
|
}
|
|
|
|
}
|