Changeset View
Changeset View
Standalone View
Standalone View
src/applications/ponder/editor/PonderQuestionEditor.php
Show First 20 Lines • Show All 206 Lines • ▼ Show 20 Lines | final class PonderQuestionEditor | ||||
} | } | ||||
protected function shouldSendMail( | protected function shouldSendMail( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
array $xactions) { | array $xactions) { | ||||
return true; | return true; | ||||
} | } | ||||
public function getMailTagsMap() { | |||||
return array( | |||||
PonderQuestionTransaction::MAILTAG_DETAILS => | |||||
pht('Someone changes the questions details.'), | |||||
PonderQuestionTransaction::MAILTAG_ANSWERS => | |||||
pht('Someone adds a new answer.'), | |||||
PonderQuestionTransaction::MAILTAG_COMMENT => | |||||
pht('Someone comments on the question.'), | |||||
PonderQuestionTransaction::MAILTAG_OTHER => | |||||
pht('Other question activity not listed above occurs.'), | |||||
); | |||||
} | |||||
protected function buildReplyHandler(PhabricatorLiskDAO $object) { | protected function buildReplyHandler(PhabricatorLiskDAO $object) { | ||||
return id(new PonderQuestionReplyHandler()) | return id(new PonderQuestionReplyHandler()) | ||||
->setMailReceiver($object); | ->setMailReceiver($object); | ||||
} | } | ||||
protected function buildMailBody( | protected function buildMailBody( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
array $xactions) { | array $xactions) { | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |