[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class PhrictionReplyHandler extends PhabricatorMailReplyHandler { 4 5 public function validateMailReceiver($mail_receiver) { 6 if (!($mail_receiver instanceof PhrictionDocument)) { 7 throw new Exception('Mail receiver is not a PhrictionDocument!'); 8 } 9 } 10 11 public function getPrivateReplyHandlerEmailAddress( 12 PhabricatorObjectHandle $handle) { 13 return $this->getDefaultPrivateReplyHandlerEmailAddress( 14 $handle, 15 PhrictionDocumentPHIDType::TYPECONST); 16 } 17 18 public function getPublicReplyHandlerEmailAddress() { 19 return $this->getDefaultPublicReplyHandlerEmailAddress( 20 PhrictionDocumentPHIDType::TYPECONST); 21 } 22 23 public function getReplyHandlerDomain() { 24 return PhabricatorEnv::getEnvConfig('metamta.reply-handler-domain'); 25 } 26 27 public function getReplyHandlerInstructions() { 28 if ($this->supportsReplies()) { 29 // TODO: Implement. 30 return null; 31 } else { 32 return null; 33 } 34 } 35 36 protected function receiveEmail(PhabricatorMetaMTAReceivedMail $mail) { 37 // TODO: Implement. 38 return null; 39 } 40 41 }
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 |