Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92694331
PhabricatorDrydockApplication.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 22, 20:37
Size
2 KB
Mime Type
text/x-php
Expires
Sun, Nov 24, 20:37 (2 d)
Engine
blob
Format
Raw Data
Handle
22488601
Attached To
rPH Phabricator
PhabricatorDrydockApplication.php
View Options
<?php
final
class
PhabricatorDrydockApplication
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/drydock/'
;
}
public
function
getName
()
{
return
pht
(
'Drydock'
);
}
public
function
getShortDescription
()
{
return
pht
(
'Allocate Software Resources'
);
}
public
function
getIconName
()
{
return
'drydock'
;
}
public
function
getTitleGlyph
()
{
return
"
\x
E2
\x
98
\x
82"
;
}
public
function
getFlavorText
()
{
return
pht
(
'A nautical adventure.'
);
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_UTILITIES
;
}
public
function
isBeta
()
{
return
true
;
}
public
function
getHelpURI
()
{
return
PhabricatorEnv
::
getDoclink
(
'Drydock User Guide'
);
}
public
function
getRoutes
()
{
return
array
(
'/drydock/'
=>
array
(
''
=>
'DrydockConsoleController'
,
'blueprint/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'DrydockBlueprintListController'
,
'(?P<id>[1-9]
\d
*)/'
=>
'DrydockBlueprintViewController'
,
'create/'
=>
'DrydockBlueprintCreateController'
,
'edit/(?:(?P<id>[1-9]
\d
*)/)?'
=>
'DrydockBlueprintEditController'
,
),
'resource/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'DrydockResourceListController'
,
'(?P<id>[1-9]
\d
*)/'
=>
'DrydockResourceViewController'
,
'(?P<id>[1-9]
\d
*)/close/'
=>
'DrydockResourceCloseController'
,
),
'lease/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'DrydockLeaseListController'
,
'(?P<id>[1-9]
\d
*)/'
=>
'DrydockLeaseViewController'
,
'(?P<id>[1-9]
\d
*)/release/'
=>
'DrydockLeaseReleaseController'
,
),
'log/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'DrydockLogListController'
,
),
),
);
}
protected
function
getCustomCapabilities
()
{
return
array
(
DrydockDefaultViewCapability
::
CAPABILITY
=>
array
(),
DrydockDefaultEditCapability
::
CAPABILITY
=>
array
(
'default'
=>
PhabricatorPolicies
::
POLICY_ADMIN
,
),
DrydockCreateBlueprintsCapability
::
CAPABILITY
=>
array
(
'default'
=>
PhabricatorPolicies
::
POLICY_ADMIN
,
),
);
}
}
Event Timeline
Log In to Comment