[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class PhabricatorConpherenceApplication extends PhabricatorApplication { 4 5 public function getBaseURI() { 6 return '/conpherence/'; 7 } 8 9 public function getName() { 10 return pht('Conpherence'); 11 } 12 13 public function getShortDescription() { 14 return pht('Send Messages'); 15 } 16 17 public function getIconName() { 18 return 'conpherence'; 19 } 20 21 public function getTitleGlyph() { 22 return "\xE2\x9C\x86"; 23 } 24 25 public function getEventListeners() { 26 return array( 27 new ConpherenceActionMenuEventListener(), 28 new ConpherenceHovercardEventListener(), 29 ); 30 } 31 32 public function getRoutes() { 33 return array( 34 '/conpherence/' => array( 35 '' => 'ConpherenceListController', 36 'thread/(?P<id>[1-9]\d*)/' => 'ConpherenceListController', 37 '(?P<id>[1-9]\d*)/' => 'ConpherenceViewController', 38 'new/' => 'ConpherenceNewController', 39 'panel/' => 'ConpherenceNotificationPanelController', 40 'widget/(?P<id>[1-9]\d*)/' => 'ConpherenceWidgetController', 41 'update/(?P<id>[1-9]\d*)/' => 'ConpherenceUpdateController', 42 ), 43 ); 44 } 45 46 public function getQuickCreateItems(PhabricatorUser $viewer) { 47 $items = array(); 48 49 $item = id(new PHUIListItemView()) 50 ->setName(pht('Conpherence Thread')) 51 ->setIcon('fa-comments') 52 ->setWorkflow(true) 53 ->setHref($this->getBaseURI().'new/'); 54 $items[] = $item; 55 56 return $items; 57 } 58 59 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |