Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F540002
PhabricatorMacroApplication.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
PhabricatorMacroApplication.php
View Options
<?php
final
class
PhabricatorMacroApplication
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/macro/'
;
}
public
function
getName
()
{
return
pht
(
'Macro'
);
}
public
function
getShortDescription
()
{
return
pht
(
'Image Macros and Memes'
);
}
public
function
getIcon
()
{
return
'fa-file-image-o'
;
}
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'
,
$this
->
getEditRoutePattern
(
'edit/'
)
=>
'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
(
PhabricatorMacroManageCapability
::
CAPABILITY
=>
array
(
'caption'
=>
pht
(
'Allows creating and editing macros.'
),
),
);
}
public
function
getMailCommandObjects
()
{
return
array
(
'macro'
=>
array
(
'name'
=>
pht
(
'Email Commands: Macros'
),
'header'
=>
pht
(
'Interacting with Macros'
),
'object'
=>
new
PhabricatorFileImageMacro
(),
'summary'
=>
pht
(
'This page documents the commands you can use to interact with '
.
'image macros.'
),
),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 9:23 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
101426
Default Alt Text
PhabricatorMacroApplication.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment