1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/tokens/application/PhabricatorTokensApplication.php
Chad Little 8b06804394 Remove getIconName from all applications
Summary: Not used anymore

Test Plan: grep for 'getIconName'

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: hach-que, Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11582
2015-01-30 12:11:21 -08:00

46 lines
952 B
PHP

<?php
final class PhabricatorTokensApplication extends PhabricatorApplication {
public function getName() {
return pht('Tokens');
}
public function getBaseURI() {
return '/token/';
}
public function getFontIcon() {
return 'fa-trophy';
}
public function getTitleGlyph() {
return "\xE2\x99\xA6";
}
public function getShortDescription() {
return pht('Award and Acquire Trinkets');
}
public function getApplicationGroup() {
return self::GROUP_UTILITIES;
}
public function getRoutes() {
return array(
'/token/' => array(
'' => 'PhabricatorTokenGivenController',
'given/' => 'PhabricatorTokenGivenController',
'give/(?<phid>[^/]+)/' => 'PhabricatorTokenGiveController',
'leaders/' => 'PhabricatorTokenLeaderController',
),
);
}
public function getEventListeners() {
return array(
new PhabricatorTokenUIEventListener(),
);
}
}