[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/meta/application/ -> PhabricatorApplicationsApplication.php (source)

   1  <?php
   2  
   3  final class PhabricatorApplicationsApplication extends PhabricatorApplication {
   4  
   5    public function getName() {
   6      return pht('Applications');
   7    }
   8  
   9    public function canUninstall() {
  10      return false;
  11    }
  12  
  13    public function isLaunchable() {
  14      // This application is launchable in the traditional sense, but showing it
  15      // on the application launch list is confusing.
  16      return false;
  17    }
  18  
  19    public function getBaseURI() {
  20      return '/applications/';
  21    }
  22  
  23    public function getShortDescription() {
  24      return pht('Explore More Applications');
  25    }
  26  
  27    public function getIconName() {
  28      return 'application';
  29    }
  30  
  31    public function getTitleGlyph() {
  32      return "\xE0\xBC\x84";
  33    }
  34  
  35    public function getRoutes() {
  36      return array(
  37        '/applications/' => array(
  38          '(?:query/(?P<queryKey>[^/]+)/)?'
  39            => 'PhabricatorApplicationsListController',
  40          'view/(?P<application>\w+)/'
  41            => 'PhabricatorApplicationDetailViewController',
  42          'edit/(?P<application>\w+)/'
  43            => 'PhabricatorApplicationEditController',
  44          '(?P<application>\w+)/(?P<action>install|uninstall)/'
  45            => 'PhabricatorApplicationUninstallController',
  46        ),
  47      );
  48    }
  49  
  50  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1