2012-10-31 17:57:57 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
final class PhabricatorApplicationDrydock extends PhabricatorApplication {
|
|
|
|
|
|
|
|
public function getBaseURI() {
|
|
|
|
return '/drydock/';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getShortDescription() {
|
|
|
|
return 'Allocate Software Resources';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getAutospriteName() {
|
|
|
|
return 'drydock';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getTitleGlyph() {
|
|
|
|
return "\xE2\x98\x82";
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getFlavorText() {
|
|
|
|
return pht('A nautical adventure.');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getApplicationGroup() {
|
|
|
|
return self::GROUP_UTILITIES;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getRoutes() {
|
|
|
|
return array(
|
|
|
|
'/drydock/' => array(
|
|
|
|
'' => 'DrydockResourceListController',
|
2012-11-20 22:25:22 +01:00
|
|
|
'resource/' => array(
|
|
|
|
'' => 'DrydockResourceListController',
|
|
|
|
'(?P<id>[1-9]\d*)/' => 'DrydockResourceViewController',
|
2012-11-27 21:48:03 +01:00
|
|
|
'(?P<id>[1-9]\d*)/close/' => 'DrydockResourceCloseController',
|
2012-11-20 22:25:22 +01:00
|
|
|
),
|
2012-11-07 00:28:33 +01:00
|
|
|
'lease/' => array(
|
|
|
|
'' => 'DrydockLeaseListController',
|
|
|
|
'(?P<id>[1-9]\d*)/' => 'DrydockLeaseViewController',
|
|
|
|
),
|
2012-10-31 17:57:57 +01:00
|
|
|
'log/' => 'DrydockLogController',
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|