Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/herald/action/HeraldActionGroup.php
12256 views
1
<?php
2
3
abstract class HeraldActionGroup extends HeraldGroup {
4
5
final public function getGroupKey() {
6
return $this->getPhobjectClassConstant('ACTIONGROUPKEY');
7
}
8
9
final public static function getAllActionGroups() {
10
return id(new PhutilClassMapQuery())
11
->setAncestorClass(__CLASS__)
12
->setUniqueMethod('getGroupKey')
13
->setSortMethod('getSortKey')
14
->execute();
15
}
16
}
17
18