mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-28 17:52:43 +01:00
620aecb42e
Summary: Fixes T3155 Test Plan: saw conpherence on home page with beta mark Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T3155 Differential Revision: https://secure.phabricator.com/D6436
52 lines
1.2 KiB
PHP
52 lines
1.2 KiB
PHP
<?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;
|
|
}
|
|
|
|
public function getEventListeners() {
|
|
return array(
|
|
new ConpherencePeopleMenuEventListener(),
|
|
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',
|
|
'widget/(?P<id>[1-9]\d*)/' => 'ConpherenceWidgetController',
|
|
'update/(?P<id>[1-9]\d*)/' => 'ConpherenceUpdateController',
|
|
),
|
|
);
|
|
}
|
|
|
|
}
|