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

  • Attribution
  • CustomEntity
  • CustomKeyedItem
  • EvidenceReference
  • ExtensibleData
  • Note
  • Qualifier
  • ResourceReference
  • TextValue
  • UniqueCustomKeyedItem

Interfaces

  • Attributable
  • HasNotes

Class Attribution

Attribution for genealogical information. Attribution is used to model who is contributing/modifying information, when they contributed it, and why they are making the contribution/modification.

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

Methods summary

public
# __construct( mixed $o = null )

Constructs a Attribution from a (parsed) JSON hash

Constructs a Attribution from a (parsed) JSON hash

Parameters

$o
Either an array (JSON) or an XMLReader.

Throws

Exception

Overrides

Gedcomx\Common\ExtensibleData::__construct
public Gedcomx\Common\ResourceReference
# getContributor( )

Reference to the contributor of the attributed data.

Reference to the contributor of the attributed data.

Returns

Gedcomx\Common\ResourceReference
public
# setContributor( Gedcomx\Common\ResourceReference $contributor )

Reference to the contributor of the attributed data.

Reference to the contributor of the attributed data.

Parameters

$contributor
public integer
# getModified( )

The modified timestamp for the attributed data.

The modified timestamp for the attributed data.

Returns

integer
public
# setModified( integer $modified )

The modified timestamp for the attributed data.

The modified timestamp for the attributed data.

Parameters

$modified
public string
# getChangeMessage( )

The "change message" for the attributed data provided by the contributor.

The "change message" for the attributed data provided by the contributor.

Returns

string
public
# setChangeMessage( string $changeMessage )

The "change message" for the attributed data provided by the contributor.

The "change message" for the attributed data provided by the contributor.

Parameters

$changeMessage
public array
# toArray( )

Returns the associative array for this Attribution

Returns the associative array for this Attribution

Returns

array

Overrides

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

Initializes this Attribution from an associative array

Initializes this Attribution from an associative array

Parameters

$o

Overrides

Gedcomx\Common\ExtensibleData::initFromArray
public
# toXml( XMLWriter $writer, boolean $includeNamespaces = true )

Writes this Attribution to an XML writer.

Writes this Attribution to an XML writer.

Parameters

$writer
The XML writer.
$includeNamespaces
Whether to write out the namespaces in the element.
public
# writeXmlContents( XMLWriter $writer )

Writes the contents of this Attribution to an XML writer. The startElement is expected to be already provided.

Writes the contents of this Attribution to an XML writer. The startElement is expected to be already provided.

Parameters

$writer
The XML writer.

Overrides

Gedcomx\Common\ExtensibleData::writeXmlContents

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