Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106627828
PhabricatorApplicationConpherence.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
Fri, Mar 28, 20:00
Size
1 KB
Mime Type
text/x-php
Expires
Sun, Mar 30, 21:00 (2 d)
Engine
blob
Format
Raw Data
Handle
25238266
Attached To
rPH Phabricator
PhabricatorApplicationConpherence.php
View Options
<?php
/**
* @group conpherence
*/
final
class
PhabricatorApplicationConpherence
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/conpherence/'
;
}
public
function
getShortDescription
()
{
return
pht
(
'Send Messages'
);
}
public
function
getIconName
()
{
return
'conpherence'
;
}
public
function
getTitleGlyph
()
{
return
"
\x
E2
\x
9C
\x
86"
;
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_COMMUNICATION
;
}
public
function
getEventListeners
()
{
return
array
(
new
ConpherenceActionMenuEventListener
(),
new
ConpherenceHovercardEventListener
(),
);
}
public
function
getRoutes
()
{
return
array
(
'/conpherence/'
=>
array
(
''
=>
'ConpherenceListController'
,
'thread/(?P<id>[1-9]
\d
*)/'
=>
'ConpherenceListController'
,
'(?P<id>[1-9]
\d
*)/'
=>
'ConpherenceViewController'
,
'new/'
=>
'ConpherenceNewController'
,
'panel/'
=>
'ConpherenceNotificationPanelController'
,
'widget/(?P<id>[1-9]
\d
*)/'
=>
'ConpherenceWidgetController'
,
'update/(?P<id>[1-9]
\d
*)/'
=>
'ConpherenceUpdateController'
,
),
);
}
public
function
getQuickCreateItems
(
PhabricatorUser
$viewer
)
{
$items
=
array
();
$item
=
id
(
new
PHUIListItemView
())
->
setName
(
pht
(
'Conpherence Thread'
))
->
setIcon
(
'fa-comments'
)
->
setWorkflow
(
true
)
->
setHref
(
$this
->
getBaseURI
().
'new/'
);
$items
[]
=
$item
;
return
$items
;
}
}
Event Timeline
Log In to Comment