Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96137457
PhabricatorNuanceApplication.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
Mon, Dec 23, 00:58
Size
2 KB
Mime Type
text/x-php
Expires
Wed, Dec 25, 00:58 (2 d)
Engine
blob
Format
Raw Data
Handle
23130419
Attached To
rPH Phabricator
PhabricatorNuanceApplication.php
View Options
<?php
final
class
PhabricatorNuanceApplication
extends
PhabricatorApplication
{
public
function
getName
()
{
return
pht
(
'Nuance'
);
}
public
function
getIcon
()
{
return
'fa-fax'
;
}
public
function
getTitleGlyph
()
{
return
"
\x
E2
\x
98
\x
8E"
;
}
public
function
isPrototype
()
{
return
true
;
}
public
function
isLaunchable
()
{
// Try to hide this even more for now.
return
false
;
}
public
function
canUninstall
()
{
return
true
;
}
public
function
getBaseURI
()
{
return
'/nuance/'
;
}
public
function
getShortDescription
()
{
return
pht
(
'High-Volume Task Queues'
);
}
public
function
getRoutes
()
{
return
array
(
'/nuance/'
=>
array
(
''
=>
'NuanceConsoleController'
,
'item/'
=>
array
(
'view/(?P<id>[1-9]
\d
*)/'
=>
'NuanceItemViewController'
,
'edit/(?P<id>[1-9]
\d
*)/'
=>
'NuanceItemEditController'
,
'new/'
=>
'NuanceItemEditController'
,
),
'source/'
=>
array
(
$this
->
getQueryRoutePattern
()
=>
'NuanceSourceListController'
,
'view/(?P<id>[1-9]
\d
*)/'
=>
'NuanceSourceViewController'
,
'edit/(?P<id>[1-9]
\d
*)/'
=>
'NuanceSourceEditController'
,
'new/(?P<type>[^/]+)/'
=>
'NuanceSourceEditController'
,
'create/'
=>
'NuanceSourceCreateController'
,
),
'queue/'
=>
array
(
$this
->
getQueryRoutePattern
()
=>
'NuanceQueueListController'
,
$this
->
getEditRoutePattern
(
'edit/'
)
=>
'NuanceQueueEditController'
,
'view/(?P<id>[1-9]
\d
*)/'
=>
'NuanceQueueViewController'
,
'new/'
=>
'NuanceQueueEditController'
,
),
'requestor/'
=>
array
(
'view/(?P<id>[1-9]
\d
*)/'
=>
'NuanceRequestorViewController'
,
'edit/(?P<id>[1-9]
\d
*)/'
=>
'NuanceRequestorEditController'
,
'new/'
=>
'NuanceRequestorEditController'
,
),
),
'/action/'
=>
array
(
'(?P<id>[1-9]
\d
*)/(?P<path>.*)'
=>
'NuanceSourceActionController'
,
),
);
}
protected
function
getCustomCapabilities
()
{
return
array
(
NuanceSourceDefaultViewCapability
::
CAPABILITY
=>
array
(
'caption'
=>
pht
(
'Default view policy for newly created sources.'
),
'template'
=>
NuanceSourcePHIDType
::
TYPECONST
,
'capability'
=>
PhabricatorPolicyCapability
::
CAN_VIEW
,
),
NuanceSourceDefaultEditCapability
::
CAPABILITY
=>
array
(
'caption'
=>
pht
(
'Default edit policy for newly created sources.'
),
'template'
=>
NuanceSourcePHIDType
::
TYPECONST
,
'capability'
=>
PhabricatorPolicyCapability
::
CAN_EDIT
,
),
NuanceSourceManageCapability
::
CAPABILITY
=>
array
(),
);
}
}
Event Timeline
Log In to Comment