[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * Defines Phabricator's static resources. 5 */ 6 final class CelerityPhabricatorResources extends CelerityResourcesOnDisk { 7 8 public function getName() { 9 return 'phabricator'; 10 } 11 12 public function getPathToResources() { 13 return $this->getPhabricatorPath('webroot/'); 14 } 15 16 public function getPathToMap() { 17 return $this->getPhabricatorPath('resources/celerity/map.php'); 18 } 19 20 private function getPhabricatorPath($to_file) { 21 return dirname(phutil_get_library_root('phabricator')).'/'.$to_file; 22 } 23 24 public function getResourcePackages() { 25 return include $this->getPhabricatorPath('resources/celerity/packages.php'); 26 } 27 28 }
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 |