2013-01-25 02:23:05 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @group conpherence
|
|
|
|
*/
|
|
|
|
final class PhabricatorApplicationConpherence extends PhabricatorApplication {
|
|
|
|
|
|
|
|
public function isBeta() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
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-01-25 02:23:05 +01:00
|
|
|
public function getRoutes() {
|
|
|
|
return array(
|
|
|
|
'/conpherence/' => array(
|
|
|
|
'' => 'ConpherenceListController',
|
|
|
|
'new/' => 'ConpherenceNewController',
|
|
|
|
'view/(?P<id>[1-9]\d*)/' => 'ConpherenceViewController',
|
|
|
|
'update/(?P<id>[1-9]\d*)/' => 'ConpherenceUpdateController',
|
|
|
|
'(?P<id>[1-9]\d*)/' => 'ConpherenceListController',
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|