gedcomx-php
  • Namespace
  • Class

Namespaces

  • Gedcomx
    • Agent
    • Atom
    • Common
    • Conclusion
    • Extensions
      • FamilySearch
        • Platform
          • Artifacts
          • Discussions
          • Tree
          • Users
        • Rt
        • Types
    • GedcomxFile
    • Links
    • Records
    • Rt
    • Search
    • Source
    • Support
    • Types
    • Util
    • Vocab

Classes

  • Address
  • Agent
  • OnlineAccount

Class Address

An address.

Gedcomx\Common\ExtensibleData
Extended by Gedcomx\Agent\Address
Namespace: Gedcomx\Agent
Located at Agent/Address.php

Methods summary

public
# __construct( mixed $o = null )

Constructs a Address from a (parsed) JSON hash

Constructs a Address from a (parsed) JSON hash

Parameters

$o
Either an array (JSON) or an XMLReader.

Throws

Exception

Overrides

Gedcomx\Common\ExtensibleData::__construct
public string
# getCity( )

The city.

The city.

Returns

string
public
# setCity( string $city )

The city.

The city.

Parameters

$city
public string
# getCountry( )

The country.

The country.

Returns

string
public
# setCountry( string $country )

The country.

The country.

Parameters

$country
public string
# getPostalCode( )

The postal code.

The postal code.

Returns

string
public
# setPostalCode( string $postalCode )

The postal code.

The postal code.

Parameters

$postalCode
public string
# getStateOrProvince( )

The state or province.

The state or province.

Returns

string
public
# setStateOrProvince( string $stateOrProvince )

The state or province.

The state or province.

Parameters

$stateOrProvince
public string
# getStreet( )

The street.

The street.

Returns

string
public
# setStreet( string $street )

The street.

The street.

Parameters

$street
public string
# getStreet2( )

Additional street information.

Additional street information.

Returns

string
public
# setStreet2( string $street2 )

Additional street information.

Additional street information.

Parameters

$street2
public string
# getStreet3( )

Additional street information.

Additional street information.

Returns

string
public
# setStreet3( string $street3 )

Additional street information.

Additional street information.

Parameters

$street3
public string
# getStreet4( )

Additional street information.

Additional street information.

Returns

string
public
# setStreet4( string $street4 )

Additional street information.

Additional street information.

Parameters

$street4
public string
# getStreet5( )

Additional street information.

Additional street information.

Returns

string
public
# setStreet5( string $street5 )

Additional street information.

Additional street information.

Parameters

$street5
public string
# getStreet6( )

Additional street information.

Additional street information.

Returns

string
public
# setStreet6( string $street6 )

Additional street information.

Additional street information.

Parameters

$street6
public string
# getValue( )

The value of the property.

The value of the property.

Returns

string
public
# setValue( string $value )

The value of the property.

The value of the property.

Parameters

$value
public array
# toArray( )

Returns the associative array for this Address

Returns the associative array for this Address

Returns

array

Overrides

Gedcomx\Common\ExtensibleData::toArray
public
# initFromArray( array $o )

Initializes this Address from an associative array

Initializes this Address from an associative array

Parameters

$o

Overrides

Gedcomx\Common\ExtensibleData::initFromArray
public
# writeXmlContents( XMLWriter $writer )

Writes the contents of this Address to an XML writer. The startElement is expected to be already provided.

Writes the contents of this Address to an XML writer. The startElement is expected to be already provided.

Parameters

$writer
The XML writer.

Overrides

Gedcomx\Common\ExtensibleData::writeXmlContents

Methods inherited from Gedcomx\Common\ExtensibleData

addExtensionElement(), findExtensionOfType(), findExtensionsOfType(), getExtensionElements(), getId(), initFromReader(), removeExtensionElements(), setExtensionElement(), setExtensionElements(), setId(), toJson()

gedcomx-php API documentation generated by ApiGen