[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/phpast/application/ -> PhabricatorPHPASTApplication.php (source)

   1  <?php
   2  
   3  final class PhabricatorPHPASTApplication extends PhabricatorApplication {
   4  
   5    public function getName() {
   6      return pht('PHPAST');
   7    }
   8  
   9    public function getBaseURI() {
  10      return '/xhpast/';
  11    }
  12  
  13    public function getIconName() {
  14      return 'phpast';
  15    }
  16  
  17    public function getShortDescription() {
  18      return 'Visual PHP Parser';
  19    }
  20  
  21    public function getTitleGlyph() {
  22      return "\xE2\x96\xA0";
  23    }
  24  
  25    public function getApplicationGroup() {
  26      return self::GROUP_DEVELOPER;
  27    }
  28  
  29    public function getRoutes() {
  30      return array(
  31        '/xhpast/' => array(
  32          '' => 'PhabricatorXHPASTViewRunController',
  33          'view/(?P<id>[1-9]\d*)/'
  34            => 'PhabricatorXHPASTViewFrameController',
  35          'frameset/(?P<id>[1-9]\d*)/'
  36            => 'PhabricatorXHPASTViewFramesetController',
  37          'input/(?P<id>[1-9]\d*)/'
  38            => 'PhabricatorXHPASTViewInputController',
  39          'tree/(?P<id>[1-9]\d*)/'
  40            => 'PhabricatorXHPASTViewTreeController',
  41          'stream/(?P<id>[1-9]\d*)/'
  42            => 'PhabricatorXHPASTViewStreamController',
  43        ),
  44      );
  45    }
  46  
  47  }


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