[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/config/option/ -> PhabricatorSendGridConfigOptions.php (source)

   1  <?php
   2  
   3  final class PhabricatorSendGridConfigOptions
   4    extends PhabricatorApplicationConfigOptions {
   5  
   6    public function getName() {
   7      return pht('Integration with SendGrid');
   8    }
   9  
  10    public function getDescription() {
  11      return pht('Configure SendGrid integration.');
  12    }
  13  
  14    public function getOptions() {
  15      return array(
  16        $this->newOption('sendgrid.api-user', 'string', null)
  17          ->setLocked(true)
  18          ->setDescription(pht('SendGrid API username.')),
  19        $this->newOption('sendgrid.api-key', 'string', null)
  20          ->setMasked(true)
  21          ->setDescription(pht('SendGrid API key.')),
  22      );
  23    }
  24  
  25  }


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