Page MenuHomePhabricator

final class PhabricatorUserEmail
Phabricator Technical Documentation (People)

This class is not documented.

Tasks

Configuring Storage

Domain Restrictions

Email About Email

  • public function sendVerificationEmail($user) — Send a verification email from $user to this address.
  • public function sendOldPrimaryEmail($user, $new) — Send a notification email from $user to this address, informing the recipient that this is no longer their account's primary address.
  • public function sendNewPrimaryEmail($user) — Send a notification email from $user to this address, informing the recipient that this is now their account's new primary email address.

Other Methods

Methods

public static function pushStorageNamespace($namespace)
Inherited

This method is not documented.
Parameters
$namespace
Return
wild

public static function popStorageNamespace()
Inherited

This method is not documented.
Return
wild

public static function getDefaultStorageNamespace()
Inherited

This method is not documented.
Return
wild

public static function getStorageNamespace()
Inherited

This method is not documented.
Return
wild

public function setForcedStorageNamespace($namespace)
Inherited

This method is not documented.
Parameters
$namespace
Return
wild

protected function establishLiveConnection($mode)
Inherited

This method is not documented.
Parameters
$mode
Return
wild

private function newClusterConnection($application, $database, $mode)
Inherited

This method is not documented.
Parameters
$application
$database
$mode
Return
wild

private function raiseImproperWrite($database)
Inherited

This method is not documented.
Parameters
$database
Return
wild

private function raiseImpossibleWrite($database)
Inherited

This method is not documented.
Parameters
$database
Return
wild

private function raiseUnconfigured($database)
Inherited

This method is not documented.
Parameters
$database
Return
wild

private function raiseUnreachable($database, $proxy)
Inherited

This method is not documented.
Parameters
$database
Exception$proxy
Return
wild

public function getTableName()
Inherited

This method is not documented.
Return
wild

public function getApplicationName()
Inherited

This method is not documented.
Return
wild

protected function getDatabaseName()
Inherited

This method is not documented.
Return
wild

public static function chunkSQL($fragments, $limit)
Inherited

PhabricatorLiskDAO

Break a list of escaped SQL statement fragments (e.g., VALUES lists for INSERT, previously built with qsprintf()) into chunks which will fit under the MySQL 'max_allowed_packet' limit.

If a statement is too large to fit within the limit, it is broken into its own chunk (but might fail when the query executes).

Parameters
array$fragments
$limit
Return
wild

protected function assertAttached($property)
Inherited

This method is not documented.
Parameters
$property
Return
wild

protected function assertAttachedKey($value, $key)
Inherited

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

protected function detectEncodingForStorage($string)
Inherited

This method is not documented.
Parameters
$string
Return
wild

protected function getUTF8StringFromStorage($string, $encoding)
Inherited

This method is not documented.
Parameters
$string
$encoding
Return
wild

protected function willReadData(&$data)
Inherited

This method is not documented.
Parameters
array&$data
Return
wild

protected function willWriteData(&$data)
Inherited

This method is not documented.
Parameters
array&$data
Return
wild

protected function getConfiguration()

This method is not documented.
Return
wild

public function getPHIDType()

This method is not documented.
Return
wild

public function getVerificationURI()

This method is not documented.
Return
wild

public function save()

This method is not documented.
Return
wild

public function attachUser($user)

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

public function getUser()

This method is not documented.
Return
wild

public static function isValidAddress($address)

This method is not documented.
Parameters
$address
Return
wild

public static function describeValidAddresses()

This method is not documented.
Return
wild

public static function isAllowedAddress($address)

This method is not documented.
Parameters
$address
Return
wild

public static function describeAllowedAddresses()

This method is not documented.
Return
wild

public static function isEmailVerificationRequired()

Check if this install requires email verification.

Return
boolTrue if email addresses must be verified.

public function sendVerificationEmail($user)

Send a verification email from $user to this address.

Parameters
PhabricatorUser$userThe user sending the verification.
Return
this

public function sendOldPrimaryEmail($user, $new)

Send a notification email from $user to this address, informing the recipient that this is no longer their account's primary address.

Parameters
PhabricatorUser$userThe user sending the notification.
PhabricatorUserEmail$newNew primary email address.
Return
this

public function sendNewPrimaryEmail($user)

Send a notification email from $user to this address, informing the recipient that this is now their account's new primary email address.

Parameters
PhabricatorUser$userThe user sending the verification.
Return
this

public function destroyObjectPermanently($engine)

This method is not documented.
Parameters
PhabricatorDestructionEngine$engine
Return
wild

public function getCapabilities()

This method is not documented.
Return
wild

public function getPolicy($capability)

This method is not documented.
Parameters
$capability
Return
wild

public function hasAutomaticCapability($capability, $viewer)

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