Class Swift_Address

Description

Swift_Address is just a lone e-mail address reprsented as an object

Located in /Swift/Address.php (line 20)

Swift_AddressContainer
   |
   --Swift_Address
Method Summary
Swift_Address __construct (string $address, [string $name = null])
string build ([boolean $smtp = false])
string getAddress ()
string getName ()
void setAddress (string $address)
void setName (string $name)
string __toString ()
Methods
Constructor __construct (line 38)

Constructor

Swift_Address __construct (string $address, [string $name = null])
  • string $address: The address portion
  • string $name: The personal name, optional
build (line 81)

Build the address the way it should be structured

string build ([boolean $smtp = false])
  • boolean $smtp: If the string will be sent to a SMTP server as an envelope
getAddress (line 55)

Get the address portion

string getAddress ()
getName (line 72)

Get personal name portion

string getName ()
setAddress (line 47)

Set the email address

void setAddress (string $address)
  • string $address
setName (line 63)

Set the personal name

void setName (string $name)
  • string $name
__toString (line 100)

PHP's casting conversion

string __toString ()

Documentation generated on Tue, 06 Mar 2007 23:32:19 +0000 by phpDocumentor 1.3.1