Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98038812
PhabricatorCountdownApplication.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
Wed, Jan 8, 23:26
Size
1 KB
Mime Type
text/x-php
Expires
Fri, Jan 10, 23:26 (2 d)
Engine
blob
Format
Raw Data
Handle
23499971
Attached To
rPH Phabricator
PhabricatorCountdownApplication.php
View Options
<?php
final
class
PhabricatorCountdownApplication
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/countdown/'
;
}
public
function
getIconName
()
{
return
'countdown'
;
}
public
function
getName
()
{
return
pht
(
'Countdown'
);
}
public
function
getShortDescription
()
{
return
pht
(
'Countdown to Events'
);
}
public
function
getTitleGlyph
()
{
return
"
\x
E2
\x
9A
\x
B2"
;
}
public
function
getFlavorText
()
{
return
pht
(
'Utilize the full capabilities of your ALU.'
);
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_UTILITIES
;
}
public
function
getRemarkupRules
()
{
return
array
(
new
PhabricatorCountdownRemarkupRule
(),
);
}
public
function
getRoutes
()
{
return
array
(
'/countdown/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'PhabricatorCountdownListController'
,
'(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorCountdownViewController'
,
'edit/(?:(?P<id>[1-9]
\d
*)/)?'
=>
'PhabricatorCountdownEditController'
,
'delete/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorCountdownDeleteController'
),
);
}
public
function
getCustomCapabilities
()
{
return
array
(
PhabricatorCountdownCapabilityDefaultView
::
CAPABILITY
=>
array
(
'caption'
=>
pht
(
'Default view policy for new countdowns.'
),
),
);
}
}
Event Timeline
Log In to Comment