[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/mail/ -> MailAddress.php (summary)

Classes used to send e-mails This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author: <[email protected]>
Author: <[email protected]>
Author: Tim Starling
Author: Luke Welling [email protected]
File Size: 91 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MailAddress:: (4 methods):
  __construct()
  newFromUser()
  toString()
  __toString()


Class: MailAddress  - X-Ref

Stores a single person's name and email address.
These are passed in via the constructor, and will be returned in SMTP
header format when requested.

__construct( $address, $name = null, $realName = null )   X-Ref

param: string $address String with an email address, or a User object
param: string $name Human-readable name if a string address is given
param: string $realName Human-readable real name if a string address is given

newFromUser( User $user )   X-Ref
Create a new MailAddress object for the given user

param: User $user
return: MailAddress

toString()   X-Ref
Return formatted and quoted address to insert into SMTP headers

return: string

__toString()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1