Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F972106
PhabricatorApplicationHerald.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorApplicationHerald.php
View Options
<?php
final
class
PhabricatorApplicationHerald
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/herald/'
;
}
public
function
getIconName
()
{
return
'herald'
;
}
public
function
getShortDescription
()
{
return
pht
(
'Create Notification Rules'
);
}
public
function
getTitleGlyph
()
{
return
"
\x
E2
\x
98
\x
BF"
;
}
public
function
getHelpURI
()
{
return
PhabricatorEnv
::
getDoclink
(
'article/Herald_User_Guide.html'
);
}
public
function
getFlavorText
()
{
return
pht
(
'Watch for danger!'
);
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_ORGANIZATION
;
}
public
function
getRemarkupRules
()
{
return
array
(
new
HeraldRemarkupRule
(),
);
}
public
function
getRoutes
()
{
return
array
(
'/herald/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'HeraldRuleListController'
,
'new/'
=>
'HeraldNewController'
,
'rule/(?P<id>[1-9]
\d
*)/'
=>
'HeraldRuleViewController'
,
'edit/(?:(?P<id>[1-9]
\d
*)/)?'
=>
'HeraldRuleController'
,
'disable/(?P<id>[1-9]
\d
*)/(?P<action>
\w
+)/'
=>
'HeraldDisableController'
,
'history/(?:(?P<id>[1-9]
\d
*)/)?'
=>
'HeraldRuleEditHistoryController'
,
'test/'
=>
'HeraldTestConsoleController'
,
'transcript/'
=>
array
(
''
=>
'HeraldTranscriptListController'
,
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'HeraldTranscriptListController'
,
'(?P<id>[1-9]
\d
*)/(?:(?P<filter>
\w
+)/)?'
=>
'HeraldTranscriptController'
,
)
)
);
}
protected
function
getCustomCapabilities
()
{
return
array
(
HeraldCapabilityManageGlobalRules
::
CAPABILITY
=>
array
(
'caption'
=>
pht
(
'Global rules can bypass access controls.'
),
'default'
=>
PhabricatorPolicies
::
POLICY_ADMIN
,
),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Jun 18, 6:03 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
226230
Default Alt Text
PhabricatorApplicationHerald.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment