getBaseURI().'new/'; } public function getShortDescription() { return pht('Messaging'); } public function getIconName() { return 'conpherence'; } public function getTitleGlyph() { return "\xE2\x9C\x86"; } 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[1-9]\d*)/' => 'ConpherenceListController', '(?P[1-9]\d*)/' => 'ConpherenceViewController', 'new/' => 'ConpherenceNewController', 'panel/' => 'ConpherenceNotificationPanelController', 'widget/(?P[1-9]\d*)/' => 'ConpherenceWidgetController', 'update/(?P[1-9]\d*)/' => 'ConpherenceUpdateController', ), ); } public function getQuickCreateItems(PhabricatorUser $viewer) { $items = array(); $item = id(new PHUIListItemView()) ->setName(pht('New Conpherence Thread')) ->setIcon('new') ->setWorkflow(true) ->setHref($this->getBaseURI().'new/'); $items[] = $item; return $items; } }