Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93221807
PhabricatorApplicationMacro.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, Nov 27, 03:28
Size
1 KB
Mime Type
text/x-php
Expires
Fri, Nov 29, 03:28 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22595881
Attached To
rPH Phabricator
PhabricatorApplicationMacro.php
View Options
<?php
final
class
PhabricatorApplicationMacro
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/macro/'
;
}
public
function
getShortDescription
()
{
return
pht
(
'Image Macros and Memes'
);
}
public
function
getIconName
()
{
return
'macro'
;
}
public
function
getTitleGlyph
()
{
return
"
\x
E2
\x
9A
\x
98"
;
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_UTILITIES
;
}
public
function
getRoutes
()
{
return
array
(
'/macro/'
=>
array
(
'(query/(?P<key>[^/]+)/)?'
=>
'PhabricatorMacroListController'
,
'create/'
=>
'PhabricatorMacroEditController'
,
'view/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorMacroViewController'
,
'comment/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorMacroCommentController'
,
'edit/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorMacroEditController'
,
'audio/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorMacroAudioController'
,
'disable/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorMacroDisableController'
,
'meme/'
=>
'PhabricatorMacroMemeController'
,
'meme/create/'
=>
'PhabricatorMacroMemeDialogController'
,
),
);
}
protected
function
getCustomCapabilities
()
{
return
array
(
PhabricatorMacroCapabilityManage
::
CAPABILITY
=>
array
(
'caption'
=>
pht
(
'Allows creating and editing macros.'
)
),
);
}
}
Event Timeline
Log In to Comment