Page MenuHomePhorge
Diviner Tech Docs PhabricatorMacroMailReceiver

final class PhabricatorMacroMailReceiver
Phorge Technical Documentation (Macro)

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 setViewer($viewer)
Inherited

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

final public function getViewer()
Inherited

This method is not documented.
Return
wild

final public function setSender($sender)
Inherited

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

final public function getSender()
Inherited

This method is not documented.
Return
wild

public function isEnabled()

This method is not documented.
Return
wild

final public function canAcceptMail($mail, $target)
Inherited

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

final protected function processReceivedMail($mail, $target)
Inherited

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

final public function receiveMail($mail, $target)
Inherited

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

protected function getObjectPattern()

PhabricatorObjectMailReceiver

Return a regular expression fragment which matches the name of an object which can receive mail. For example, Differential uses:

D[1-9]\d*

...to match D123, etc., identifying Differential Revisions.

PhabricatorMacroMailReceiver
This method is not documented.
Return
stringRegular expression fragment.

protected function loadObject($pattern, $viewer)

PhabricatorObjectMailReceiver

Load the object receiving mail, based on an identifying pattern. Normally this pattern is some sort of object ID.

PhabricatorMacroMailReceiver
This method is not documented.
Parameters
string$patternA string matched by @{method:getObjectPattern} fragment.
PhabricatorUser$viewerThe viewing user.
Return
void

protected function processReceivedObjectMail($mail, $object, $sender)
Inherited

This method is not documented.
Parameters
PhabricatorMetaMTAReceivedMail$mail
PhabricatorLiskDAO$object
PhabricatorUser$sender
Return
wild

protected function getTransactionReplyHandler()

This method is not documented.
Return
wild

public function loadMailReceiverObject($pattern, $viewer)
Inherited

This method is not documented.
Parameters
$pattern
PhabricatorUser$viewer
Return
wild

private function matchObjectAddress($address)
Inherited

This method is not documented.
Parameters
PhutilEmailAddress$address
Return
wild

private function getAddressRegexp()
Inherited

This method is not documented.
Return
wild

public static function computeMailHash($mail_key, $phid)
Inherited

This method is not documented.
Parameters
$mail_key
$phid
Return
wild