Page MenuHomePhorge
Diviner Tech Docs HeraldRuleReplyHandler

final class HeraldRuleReplyHandler
Phorge Technical Documentation (Herald)

This class is not documented.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

Read the value of a class constant.

This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

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

public function validateMailReceiver($mail_receiver)

This method is not documented.
Parameters
$mail_receiver
Return
wild

public function getPrivateReplyHandlerEmailAddress($user)
Inherited

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)
Inherited

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

public function getPublicReplyHandlerEmailAddress()
Inherited

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.

public function getObjectPrefix()

This method is not documented.
Return
wild

private function newEditor($mail)
Inherited

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

protected function newTransaction()
Inherited

This method is not documented.
Return
wild

protected function didReceiveMail($mail, $body)
Inherited

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

protected function shouldCreateCommentFromMailBody()
Inherited

This method is not documented.
Return
wild

private function processMailCommands($mail, $command_list)
Inherited

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