[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/phragment/capability/ -> PhragmentCanCreateCapability.php (source)

   1  <?php
   2  
   3  final class PhragmentCanCreateCapability extends PhabricatorPolicyCapability {
   4  
   5    const CAPABILITY = 'phragment.create';
   6  
   7    public function getCapabilityName() {
   8      return pht('Can Create Fragments');
   9    }
  10  
  11    public function describeCapabilityRejection() {
  12      return pht('You do not have permission to create fragments.');
  13    }
  14  
  15  }


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