MediaWiki REL1_37
MediaWiki\Mail\UserEmailContact Interface Reference
Inheritance diagram for MediaWiki\Mail\UserEmailContact:

Public Member Functions

 getEmail ()
 Get user email address an empty string if unknown.
 
 getRealName ()
 Get user real name or an empty string if unknown.
 
 getUser ()
 Get the identity of the user this contact belongs to.
 
 isEmailConfirmed ()
 Whether user email was confirmed.
 

Detailed Description

Definition at line 11 of file UserEmailContact.php.

Member Function Documentation

◆ getEmail()

MediaWiki\Mail\UserEmailContact::getEmail ( )

Get user email address an empty string if unknown.

Returns
string

Implemented in User.

Referenced by MailAddress\newFromUser().

◆ getRealName()

MediaWiki\Mail\UserEmailContact::getRealName ( )

Get user real name or an empty string if unknown.

Returns
string

Implemented in User.

Referenced by MailAddress\newFromUser(), and EmailNotification\sendPersonalised().

◆ getUser()

MediaWiki\Mail\UserEmailContact::getUser ( )

Get the identity of the user this contact belongs to.

Returns
UserIdentity

Implemented in User.

Referenced by MailAddress\newFromUser(), and EmailNotification\sendPersonalised().

◆ isEmailConfirmed()

MediaWiki\Mail\UserEmailContact::isEmailConfirmed ( )

Whether user email was confirmed.

Returns
bool

Implemented in User.


The documentation for this interface was generated from the following file: