Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorApplicationTransactionReplyHandler

abstract class PhabricatorApplicationTransactionReplyHandler
Phorge Technical Documentation (Transactions)

This class is not documented.

Methods

final public function setMailReceiver($mail_receiver)
Inherited

This method is not documented.
Parameters
$mail_receiver
Return
wild

final public function getMailReceiver()
Inherited

This method is not documented.
Return
wild

public function setApplicationEmail($email)
Inherited

This method is not documented.
Parameters
PhabricatorMetaMTAApplicationEmail$email
Return
wild

public function getApplicationEmail()
Inherited

This method is not documented.
Return
wild

final public function setActor($actor)
Inherited

This method is not documented.
Parameters
PhabricatorUser$actor
Return
wild

final public function getActor()
Inherited

This method is not documented.
Return
wild

final public function setExcludeMailRecipientPHIDs($exclude)
Inherited

This method is not documented.
Parameters
array$exclude
Return
wild

final public function getExcludeMailRecipientPHIDs()
Inherited

This method is not documented.
Return
wild

public function setUnexpandablePHIDs($phids)
Inherited

This method is not documented.
Parameters
array$phids
Return
wild

public function getUnexpandablePHIDs()
Inherited

This method is not documented.
Return
wild

abstract public function validateMailReceiver($mail_receiver)
Inherited

This method is not documented.
Parameters
$mail_receiver
Return
wild

public function getPrivateReplyHandlerEmailAddress($user)

This method is not documented.
Parameters
PhabricatorUser$user
Return
wild

public function getReplyHandlerDomain()
Inherited

This method is not documented.
Return
wild

final protected function receiveEmail($mail)

This method is not documented.
Parameters
PhabricatorMetaMTAReceivedMail$mail
Return
wild

public function processEmail($mail)
Inherited

This method is not documented.
Parameters
PhabricatorMetaMTAReceivedMail$mail
Return
wild

public function supportsPrivateReplies()
Inherited

This method is not documented.
Return
wild

public function supportsPublicReplies()
Inherited

This method is not documented.
Return
wild

final public function supportsReplies()
Inherited

This method is not documented.
Return
wild
This method is not documented.
Return
wild

protected function getDefaultPublicReplyHandlerEmailAddress($prefix)
Inherited

This method is not documented.
Parameters
$prefix
Return
wild

protected function getSingleReplyHandlerPrefix($address)
Inherited

This method is not documented.
Parameters
$address
Return
wild

protected function getDefaultPrivateReplyHandlerEmailAddress($user, $prefix)
Inherited

This method is not documented.
Parameters
PhabricatorUser$user
$prefix
Return
wild

final protected function enhanceBodyWithAttachments($body, $attachments)
Inherited

This method is not documented.
Parameters
$body
array$attachments
Return
wild

final public function getMailTargets($raw_to, $raw_cc)
Inherited

PhabricatorMailReplyHandler

Produce a list of mail targets for a given to/cc list.

Each target should be sent a separate email, and contains the information required to generate it with appropriate permissions and configuration.

Parameters
list<phid>$raw_toList of "To" PHIDs.
list<phid>$raw_ccList of "CC" PHIDs.
Return
list<PhabricatorMailTarget>List of targets.

private function expandRecipientPHIDs($to, $cc)
Inherited

PhabricatorMailReplyHandler

Expand lists of recipient PHIDs.

This takes any compound recipients (like projects) and looks up all their members.

Parameters
list<phid>$toList of To PHIDs.
list<phid>$ccList of CC PHIDs.
Return
pair<list<phid>, list<phid>>Expanded PHID lists.

private function loadRecipientUsers($to, $cc)
Inherited

PhabricatorMailReplyHandler

Load PhabricatorUser objects for each recipient.

Invalid recipients are dropped from the results.

Parameters
list<phid>$toList of To PHIDs.
list<phid>$ccList of CC PHIDs.
Return
pair<wild, wild>Maps from PHIDs to users.

private function filterRecipientUsers($to, $cc)
Inherited

PhabricatorMailReplyHandler

Remove recipients who do not have permission to view the mail receiver.

Parameters
map<string,$toPhabricatorUser> Map of "To" users.
map<string,$ccPhabricatorUser> Map of "CC" users.
Return
pair<wild, wild>Filtered user maps.

abstract public function getObjectPrefix()

This method is not documented.
Return
wild

private function newEditor($mail)

This method is not documented.
Parameters
PhabricatorMetaMTAReceivedMail$mail
Return
wild

protected function newTransaction()

This method is not documented.
Return
wild

protected function didReceiveMail($mail, $body)

This method is not documented.
Parameters
PhabricatorMetaMTAReceivedMail$mail
$body
Return
wild

protected function shouldCreateCommentFromMailBody()

This method is not documented.
Return
wild

private function processMailCommands($mail, $command_list)

This method is not documented.
Parameters
PhabricatorMetaMTAReceivedMail$mail
array$command_list
Return
wild