[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/diviner/application/ -> PhabricatorDivinerApplication.php (source)

   1  <?php
   2  
   3  final class PhabricatorDivinerApplication extends PhabricatorApplication {
   4  
   5    public function getBaseURI() {
   6      return '/diviner/';
   7    }
   8  
   9    public function getIconName() {
  10      return 'diviner';
  11    }
  12  
  13    public function getName() {
  14      return pht('Diviner');
  15    }
  16  
  17    public function getShortDescription() {
  18      return pht('Documentation');
  19    }
  20  
  21    public function getTitleGlyph() {
  22      return "\xE2\x97\x89";
  23    }
  24  
  25    public function getRoutes() {
  26      return array(
  27        '/diviner/' => array(
  28          '' => 'DivinerMainController',
  29          'query/((?<key>[^/]+)/)?' => 'DivinerAtomListController',
  30          'find/' => 'DivinerFindController',
  31        ),
  32        '/book/(?P<book>[^/]+)/' => 'DivinerBookController',
  33        '/book/'.
  34          '(?P<book>[^/]+)/'.
  35          '(?P<type>[^/]+)/'.
  36          '(?:(?P<context>[^/]+)/)?'.
  37          '(?P<name>[^/]+)/'.
  38          '(?:(?P<index>\d+)/)?' => 'DivinerAtomController',
  39      );
  40    }
  41  
  42    public function getApplicationGroup() {
  43      return self::GROUP_UTILITIES;
  44    }
  45  
  46    public function getRemarkupRules() {
  47      return array(
  48        new DivinerSymbolRemarkupRule(),
  49      );
  50    }
  51  
  52  }


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