Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96943456
PhabricatorConpherenceApplication.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 1, 00:25
Size
1 KB
Mime Type
text/x-php
Expires
Fri, Jan 3, 00:25 (2 d)
Engine
blob
Format
Raw Data
Handle
23296234
Attached To
rPH Phabricator
PhabricatorConpherenceApplication.php
View Options
<?php
final
class
PhabricatorConpherenceApplication
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/conpherence/'
;
}
public
function
getName
()
{
return
pht
(
'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
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