Class NameForm
-
Gedcomx\Common\ExtensibleData
-
Gedcomx\Conclusion\NameForm
Methods summary
public
|
#
__construct( mixed $o = null )
Constructs a NameForm from a (parsed) JSON hash
Constructs a NameForm from a (parsed) JSON hash
Parameters
- $o
- Either an array (JSON) or an XMLReader.
Throws
Exception
Overrides
|
public
string
|
#
getLang( )
The language of the conclusion.
The language of the conclusion.
Returns
string
|
public
|
#
setLang( string $lang )
The language of the conclusion.
The language of the conclusion.
Parameters
|
public
string
|
#
getFullText( )
The full text of the name form.
The full text of the name form.
Returns
string
|
public
|
#
setFullText( string $fullText )
The full text of the name form.
The full text of the name form.
Parameters
|
public
Gedcomx\Conclusion\NamePart[]
|
#
getParts( )
The different parts of the name form.
The different parts of the name form.
Returns
|
public
|
#
setParts( array $parts )
The different parts of the name form.
The different parts of the name form.
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
array
|
#
toArray( )
Returns the associative array for this NameForm
Returns the associative array for this NameForm
Returns
array
Overrides
|
public
|
#
initFromArray( array $o )
Initializes this NameForm from an associative array
Initializes this NameForm from an associative array
Parameters
Overrides
|
public
|
|
public
|
#
writeXmlContents( XMLWriter $writer )
Writes the contents of this NameForm to an XML writer. The startElement is expected to be already provided.
Writes the contents of this NameForm to an XML writer. The startElement is expected to be already provided.
Parameters
Overrides
|
public
string
|
#
toString( )
String value of NameForm
Returns
string
|
addExtensionElement()
,
findExtensionOfType()
,
findExtensionsOfType()
,
getExtensionElements()
,
getId()
,
initFromReader()
,
removeExtensionElements()
,
setExtensionElement()
,
setExtensionElements()
,
setId()
,
toJson()