[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/fund/mail/ -> FundInitiativeReplyHandler.php (source)

   1  <?php
   2  
   3  final class FundInitiativeReplyHandler extends PhabricatorMailReplyHandler {
   4  
   5    public function validateMailReceiver($mail_receiver) {
   6      if (!($mail_receiver instanceof FundInitiative)) {
   7        throw new Exception('Mail receiver is not a FundInitiative!');
   8      }
   9    }
  10  
  11    public function getPrivateReplyHandlerEmailAddress(
  12      PhabricatorObjectHandle $handle) {
  13      return $this->getDefaultPrivateReplyHandlerEmailAddress($handle, 'I');
  14    }
  15  
  16    public function getPublicReplyHandlerEmailAddress() {
  17      return $this->getDefaultPublicReplyHandlerEmailAddress('I');
  18    }
  19  
  20    public function getReplyHandlerDomain() {
  21      return PhabricatorEnv::getEnvConfig('metamta.reply-handler-domain');
  22    }
  23  
  24    public function getReplyHandlerInstructions() {
  25      if ($this->supportsReplies()) {
  26        // TODO: Implement.
  27        return null;
  28      } else {
  29        return null;
  30      }
  31    }
  32  
  33    protected function receiveEmail(PhabricatorMetaMTAReceivedMail $mail) {
  34      // TODO: Implement.
  35      return null;
  36    }
  37  
  38  }


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