Class OnlineAccount
An online account for a web application.
-
Gedcomx\Common\ExtensibleData
-
Gedcomx\Agent\OnlineAccount
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
|
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
|
public
Gedcomx\Common\ResourceReference
|
#
getServiceHomepage( )
The homepage of the service that provides this account.
The homepage of the service that provides this account.
Returns
|
public
|
|
public
array
|
#
toArray( )
Returns the associative array for this OnlineAccount
Returns the associative array for this OnlineAccount
Returns
array
Overrides
|
public
|
#
initFromArray( array $o )
Initializes this OnlineAccount from an associative array
Initializes this OnlineAccount from an associative array
Parameters
Overrides
|
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
Overrides
|
addExtensionElement()
,
findExtensionOfType()
,
findExtensionsOfType()
,
getExtensionElements()
,
getId()
,
initFromReader()
,
removeExtensionElements()
,
setExtensionElement()
,
setExtensionElements()
,
setId()
,
toJson()