Address Class Reference

List of all members.

Public Member Functions

 Address ($data)
 getId ()
 getPerson ()
 getType ()
 getLine1 ()
 getLine2 ()
 getLine3 ()
 getLine4 ()
 getLine5 ()
 getCity ()
 getProvince ()
 getCountry ()
 getPostalCode ()
 getStartDate ()
 getEndDate ()
 isPrimary ()

Static Public Member Functions

static newFromId ($id)

Public Attributes

 $id
 $person
 $type
 $line1
 $line2
 $line3
 $line4
 $line5
 $city
 $province
 $country
 $code
 $start_date
 $end_date
 $primary

Member Function Documentation

Address::getCity (  ) 

Returns the name of the city that this Address is in

Returns:
string The name of the city that this Address is in
Address::getCountry (  ) 

Returns the name of the country that this Address is in

Returns:
string The name of the country that this Address is in
Address::getEndDate (  ) 

Returns the end date for this address

Returns:
string The end date for this address
Address::getId (  ) 

Returns the id of this Address

Returns:
integer The id of this Address
Address::getLine1 (  ) 

Returns the first line for this Address

Returns:
string The first line for this Address
Address::getLine2 (  ) 

Returns the second line for this Address

Returns:
string The second line for this Address
Address::getLine3 (  ) 

Returns the third line for this Address

Returns:
string The third line for this Address
Address::getLine4 (  ) 

Returns the fourth line for this Address

Returns:
string The fourth line for this Address
Address::getLine5 (  ) 

Returns the fifth line for this Address

Returns:
string The fifth line for this Address
Address::getPerson (  ) 

Returns the Person that this Address is for

Returns:
Person The Person that this Address is for
Address::getPostalCode (  ) 

Returns the postal/zip code for this Address

Returns:
string The postal/zip code for this Address
Address::getProvince (  ) 

Returns the name of the province (or subdivision) that this Address is in

Returns:
string The name of the province (or subdivision) that this Address is in
Address::getStartDate (  ) 

Returns the start date for this Address

Returns:
string The start date for this Address
Address::getType (  ) 

Returns the type of Address this is

Returns:
string The type of Address this is
Address::isPrimary (  ) 

Returns whether or not this is Address is a primary indicator or not

Returns:
boolean Whether or not this is Address is a primary indicator or not
static Address::newFromId ( id  )  [static]

Returns a new Address from the given id

Parameters:
integer $id The id of the entry in the DB
Returns:
Address The Address from the given id

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

Generated on 9 Jan 2025 for The Forum by  doxygen 1.6.1