Class PlaceReference
A reference to genealogical place.
-
Gedcomx\Common\ExtensibleData
-
Gedcomx\Conclusion\PlaceReference
Methods summary
public
|
#
__construct( mixed $o = null )
Constructs a PlaceReference from a (parsed) JSON hash
Constructs a PlaceReference from a (parsed) JSON hash
Parameters
- $o
- Either an array (JSON) or an XMLReader.
Throws
Exception
Overrides
|
public
string
|
#
getDescriptionRef( )
A reference to a description of the place being referenced.
A reference to a description of the place being referenced.
Returns
string
|
public
|
#
setDescriptionRef( string $descriptionRef )
A reference to a description of the place being referenced.
A reference to a description of the place being referenced.
Parameters
|
public
string
|
#
getOriginal( )
The original value as supplied by the user.
The original value as supplied by the user.
Returns
string
|
public
|
#
setOriginal( string $original )
The original value as supplied by the user.
The original value as supplied by the user.
Parameters
|
public
Gedcomx\Common\TextValue[]
|
#
getNormalizedExtensions( )
The list of normalized values for the place, provided for display purposes by the application. Normalized values
are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
The list of normalized values for the place, provided for display purposes by the application. Normalized values
are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
Returns
|
public
|
#
setNormalizedExtensions( array $normalizedExtensions )
The list of normalized values for the place, provided for display purposes by the application. Normalized values
are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
The list of normalized values for the place, provided for display purposes by the application. Normalized values
are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
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 PlaceReference
Returns the associative array for this PlaceReference
Returns
array
Overrides
|
public
|
#
initFromArray( array $o )
Initializes this PlaceReference from an associative array
Initializes this PlaceReference from an associative array
Parameters
Overrides
|
public
|
|
public
|
#
writeXmlContents( XMLWriter $writer )
Writes the contents of this PlaceReference to an XML writer. The startElement is expected to be already provided.
Writes the contents of this PlaceReference 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()