[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/conduit/application/ -> PhabricatorConduitApplication.php (source)

   1  <?php
   2  
   3  final class PhabricatorConduitApplication extends PhabricatorApplication {
   4  
   5    public function getBaseURI() {
   6      return '/conduit/';
   7    }
   8  
   9    public function getIconName() {
  10      return 'conduit';
  11    }
  12  
  13    public function canUninstall() {
  14      return false;
  15    }
  16  
  17    public function getHelpURI() {
  18      return PhabricatorEnv::getDoclink('Conduit Technical Documentation');
  19    }
  20  
  21    public function getName() {
  22      return pht('Conduit');
  23    }
  24  
  25    public function getShortDescription() {
  26      return pht('Developer API');
  27    }
  28  
  29    public function getTitleGlyph() {
  30      return "\xE2\x87\xB5";
  31    }
  32  
  33    public function getApplicationGroup() {
  34      return self::GROUP_DEVELOPER;
  35    }
  36  
  37    public function getApplicationOrder() {
  38      return 0.100;
  39    }
  40  
  41    public function getRoutes() {
  42      return array(
  43        '/conduit/' => array(
  44          '(?:query/(?P<queryKey>[^/]+)/)?' => 'PhabricatorConduitListController',
  45          'method/(?P<method>[^/]+)/' => 'PhabricatorConduitConsoleController',
  46          'log/' => 'PhabricatorConduitLogController',
  47          'log/view/(?P<view>[^/]+)/' => 'PhabricatorConduitLogController',
  48          'token/' => 'PhabricatorConduitTokenController',
  49        ),
  50        '/api/(?P<method>[^/]+)' => 'PhabricatorConduitAPIController',
  51      );
  52    }
  53  
  54  }


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