2012-10-01 21:56:02 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
final class PhabricatorApplicationCountdown extends PhabricatorApplication {
|
|
|
|
|
|
|
|
public function getBaseURI() {
|
|
|
|
return '/countdown/';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getAutospriteName() {
|
|
|
|
return 'countdown';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getShortDescription() {
|
|
|
|
return 'Countdown Timers';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getTitleGlyph() {
|
|
|
|
return "\xE2\x9A\xB2";
|
|
|
|
}
|
|
|
|
|
2012-10-04 00:16:26 +02:00
|
|
|
public function getFlavorText() {
|
|
|
|
return pht('Utilize the full capabilities of your ALU.');
|
|
|
|
}
|
|
|
|
|
2012-10-04 00:46:19 +02:00
|
|
|
public function getApplicationGroup() {
|
|
|
|
return self::GROUP_UTILITIES;
|
|
|
|
}
|
|
|
|
|
2012-10-01 21:56:02 +02:00
|
|
|
public function getRoutes() {
|
|
|
|
return array(
|
|
|
|
'/countdown/' => array(
|
|
|
|
''
|
|
|
|
=> 'PhabricatorCountdownListController',
|
2012-10-06 01:06:16 +02:00
|
|
|
'(?P<id>[1-9]\d*)/'
|
2012-10-01 21:56:02 +02:00
|
|
|
=> 'PhabricatorCountdownViewController',
|
2012-10-06 01:06:16 +02:00
|
|
|
'edit/(?:(?P<id>[1-9]\d*)/)?'
|
2012-10-01 21:56:02 +02:00
|
|
|
=> 'PhabricatorCountdownEditController',
|
2012-10-06 01:06:16 +02:00
|
|
|
'delete/(?P<id>[1-9]\d*)/'
|
2012-10-01 21:56:02 +02:00
|
|
|
=> 'PhabricatorCountdownDeleteController'
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|