2013-01-25 02:23:05 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @group conpherence
|
|
|
|
*/
|
|
|
|
final class PhabricatorApplicationConpherence extends PhabricatorApplication {
|
|
|
|
|
|
|
|
public function getBaseURI() {
|
|
|
|
return '/conpherence/';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getQuickCreateURI() {
|
|
|
|
return $this->getBaseURI().'new/';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getShortDescription() {
|
|
|
|
return pht('Messaging');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getIconName() {
|
|
|
|
return 'conpherence';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getTitleGlyph() {
|
|
|
|
return "\xE2\x98\x8E";
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getApplicationGroup() {
|
|
|
|
return self::GROUP_COMMUNICATION;
|
|
|
|
}
|
|
|
|
|
2013-02-05 22:46:02 +01:00
|
|
|
public function getEventListeners() {
|
|
|
|
return array(
|
|
|
|
new ConpherencePeopleMenuEventListener(),
|
2013-04-06 02:01:54 +02:00
|
|
|
new ConpherenceHovercardEventListener(),
|
2013-02-05 22:46:02 +01:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2013-01-25 02:23:05 +01:00
|
|
|
public function getRoutes() {
|
|
|
|
return array(
|
|
|
|
'/conpherence/' => array(
|
|
|
|
'' => 'ConpherenceListController',
|
2013-04-01 03:28:15 +02:00
|
|
|
'thread/(?P<id>[1-9]\d*)/' => 'ConpherenceListController',
|
|
|
|
'(?P<id>[1-9]\d*)/' => 'ConpherenceViewController',
|
2013-01-25 02:23:05 +01:00
|
|
|
'new/' => 'ConpherenceNewController',
|
2013-08-08 22:43:33 +02:00
|
|
|
'panel/' => 'ConpherenceNotificationPanelController',
|
2013-02-15 23:01:27 +01:00
|
|
|
'widget/(?P<id>[1-9]\d*)/' => 'ConpherenceWidgetController',
|
2013-01-25 02:23:05 +01:00
|
|
|
'update/(?P<id>[1-9]\d*)/' => 'ConpherenceUpdateController',
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|