gedcomx-php-client
  • Namespace
  • Class

Namespaces

  • Gedcomx
    • Agent
    • Atom
    • Common
    • Conclusion
    • Extensions
      • FamilySearch
        • Platform
          • Artifacts
          • Discussions
          • Tree
          • Users
        • Rs
          • Client
            • FamilyTree
            • Helpers
            • Memories
            • Util
        • Rt
        • Types
    • GedcomxFile
    • Links
    • Records
    • Rs
      • Client
        • Exception
        • Options
        • Util
    • Rt
    • Search
    • Source
    • Support
    • Types
    • Util
    • Vocab

Classes

  • Address
  • Agent
  • OnlineAccount

Class OnlineAccount

An online account for a web application.

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

Methods summary

public
# __construct( mixed $o = null )

Constructs a OnlineAccount from a (parsed) JSON hash

Constructs a OnlineAccount from a (parsed) JSON hash

Parameters

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

Throws

Exception

Overrides

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

The name associated the holder of this account with the account.

The name associated the holder of this account with the account.

Returns

string
public
# setAccountName( string $accountName )

The name associated the holder of this account with the account.

The name associated the holder of this account with the account.

Parameters

$accountName
public Gedcomx\Common\ResourceReference
# getServiceHomepage( )

The homepage of the service that provides this account.

The homepage of the service that provides this account.

Returns

Gedcomx\Common\ResourceReference
public
# setServiceHomepage( Gedcomx\Common\ResourceReference $serviceHomepage )

The homepage of the service that provides this account.

The homepage of the service that provides this account.

Parameters

$serviceHomepage
public array
# toArray( )

Returns the associative array for this OnlineAccount

Returns the associative array for this OnlineAccount

Returns

array

Overrides

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

Initializes this OnlineAccount from an associative array

Initializes this OnlineAccount from an associative array

Parameters

$o

Overrides

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

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

Writes the contents of this OnlineAccount 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-client API documentation generated by ApiGen