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 Subject

The Subject data type defines the abstract concept of a genealogical subject. A subject is something with a unique and intrinsic identity, e.g., a person, a location on the surface of the earth. We identify that subject in time and space using various supporting conclusions, e.g. for a person: things like name, birth date, age, address, etc. We aggregate these supporting conclusions to form an apparently-unique identity by which we can distinguish our subject from all other possible subjects.

Gedcomx\Common\ExtensibleData
Extended by Gedcomx\Links\HypermediaEnabledData implements Gedcomx\Links\SupportsLinks
Extended by Gedcomx\Conclusion\Conclusion implements Gedcomx\Common\Attributable, Gedcomx\Source\ReferencesSources, Gedcomx\Common\HasNotes
Extended by Gedcomx\Conclusion\Subject implements Gedcomx\Common\Attributable

Direct known subclasses

Gedcomx\Conclusion\Event, Gedcomx\Conclusion\Person, Gedcomx\Conclusion\PlaceDescription, Gedcomx\Conclusion\Relationship, Gedcomx\Extensions\FamilySearch\Platform\Tree\ChildAndParentsRelationship

Namespace: Gedcomx\Conclusion
Located at Conclusion/Subject.php

Methods summary

public
# __construct( mixed $o = null )

Constructs a Subject from a (parsed) JSON hash

Constructs a Subject from a (parsed) JSON hash

Parameters

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

Throws

Exception

Overrides

Gedcomx\Conclusion\Conclusion::__construct
public boolean
# getExtracted( )

Whether this subject has been identified as "extracted".

Whether this subject has been identified as "extracted".

Returns

boolean
public
# setExtracted( boolean $extracted )

Whether this subject has been identified as "extracted".

Whether this subject has been identified as "extracted".

Parameters

$extracted
public Gedcomx\Common\EvidenceReference[]
# getEvidence( )

References to the evidence being referenced.

References to the evidence being referenced.

Returns

Gedcomx\Common\EvidenceReference[]
public
# setEvidence( Gedcomx\Common\EvidenceReference[] $evidence )

References to the evidence being referenced.

References to the evidence being referenced.

Parameters

$evidence
public Gedcomx\Source\SourceReference[]
# getMedia( )

References to multimedia resources associated with this subject.

References to multimedia resources associated with this subject.

Returns

Gedcomx\Source\SourceReference[]
public
# setMedia( Gedcomx\Source\SourceReference[] $media )

References to multimedia resources associated with this subject.

References to multimedia resources associated with this subject.

Parameters

$media
public Gedcomx\Conclusion\Identifier[]
# getIdentifiers( )

The list of identifiers for the subject.

The list of identifiers for the subject.

Returns

Gedcomx\Conclusion\Identifier[]
public
# setIdentifiers( Gedcomx\Conclusion\Identifier[] $identifiers )

The list of identifiers for the subject.

The list of identifiers for the subject.

Parameters

$identifiers
public array
# toArray( )

Returns the associative array for this Subject

Returns the associative array for this Subject

Returns

array

Overrides

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

Initializes this Subject from an associative array

Initializes this Subject from an associative array

Parameters

$o

Overrides

Gedcomx\Conclusion\Conclusion::initFromArray
public
# writeXmlContents( XMLWriter $writer )

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

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

Parameters

$writer
The XML writer.

Overrides

Gedcomx\Conclusion\Conclusion::writeXmlContents

Methods inherited from Gedcomx\Conclusion\Conclusion

getAnalysis(), getAttribution(), getConfidence(), getLang(), getNotes(), getSources(), setAnalysis(), setAttribution(), setConfidence(), setLang(), setNotes(), setSources()

Methods inherited from Gedcomx\Links\HypermediaEnabledData

addLink(), addLinkRelation(), addTemplatedLink(), getLink(), getLinks(), getLinksByRel(), setLinks()

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