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

  • Conclusion
  • DateInfo
  • DisplayProperties
  • Document
  • Event
  • EventRole
  • Fact
  • Gender
  • Identifier
  • Name
  • NameForm
  • NamePart
  • Person
  • PlaceDescription
  • PlaceDisplayProperties
  • PlaceReference
  • Relationship
  • Subject

Interfaces

  • HasFacts

Class NameForm

A form of a name.

Gedcomx\Common\ExtensibleData
Extended by Gedcomx\Conclusion\NameForm
Namespace: Gedcomx\Conclusion
Located at Conclusion/NameForm.php

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

Gedcomx\Common\ExtensibleData::__construct
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

$lang
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

$fullText
public Gedcomx\Conclusion\NamePart[]
# getParts( )

The different parts of the name form.

The different parts of the name form.

Returns

Gedcomx\Conclusion\NamePart[]
public
# setParts( array $parts )

The different parts of the name form.

The different parts of the name form.

Parameters

$parts
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

Gedcomx\Records\Field[]
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

$fields
public array
# toArray( )

Returns the associative array for this NameForm

Returns the associative array for this NameForm

Returns

array

Overrides

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

Initializes this NameForm from an associative array

Initializes this NameForm from an associative array

Parameters

$o

Overrides

Gedcomx\Common\ExtensibleData::initFromArray
public
# accept( Gedcomx\Rt\GedcomxModelVisitor $visitor )
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

$writer
The XML writer.

Overrides

Gedcomx\Common\ExtensibleData::writeXmlContents
public string
# toString( )

String value of NameForm

String value of NameForm

Returns

string

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