Class NamePart
-
Gedcomx\Common\ExtensibleData
-
Gedcomx\Conclusion\NamePart
Methods summary
public
|
#
__construct( mixed $o = null )
Constructs a NamePart from a (parsed) JSON hash
Constructs a NamePart from a (parsed) JSON hash
Parameters
- $o
- Either an array (JSON) or an XMLReader.
Throws
Exception
Overrides
|
public
string
|
#
getValue( )
The value of the name part.
The value of the name part.
Returns
string
|
public
|
#
setValue( string $value )
The value of the name part.
The value of the name part.
Parameters
|
public
string
|
#
getType( )
The type of the name part.
The type of the name part.
Returns
string
|
public
|
#
setType( string $type )
The type of the name part.
The type of the name part.
Parameters
|
public
Gedcomx\Records\Field[]
|
#
getFields( )
The references to the record fields being used as evidence.
The references to the record fields being used as evidence.
Returns
|
public
|
#
setFields( array $fields )
The references to the record fields being used as evidence.
The references to the record fields being used as evidence.
Parameters
|
public
Gedcomx\Common\Qualifier[]
|
#
getQualifiers( )
The qualifiers associated with this name part.
The qualifiers associated with this name part.
Returns
|
public
|
#
setQualifiers( array $qualifiers )
The qualifiers associated with this name part.
The qualifiers associated with this name part.
Parameters
|
public
array
|
#
toArray( )
Returns the associative array for this NamePart
Returns the associative array for this NamePart
Returns
array
Overrides
|
public
|
#
initFromArray( array $o )
Initializes this NamePart from an associative array
Initializes this NamePart from an associative array
Parameters
Overrides
|
public
|
|
public
|
#
writeXmlContents( XMLWriter $writer )
Writes the contents of this NamePart to an XML writer. The startElement is expected to be already provided.
Writes the contents of this NamePart 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()