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

  • ChangeInfo
  • ChangeObjectModifier
  • ChangeObjectType
  • ChangeOperation
  • ChildAndParentsRelationship
  • DiscussionReference
  • MatchInfo
  • MatchStatus
  • Merge
  • MergeAnalysis
  • MergeConflict

Class ChildAndParentsRelationship

Class ChildAndParentsRelationship

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
Extended by Gedcomx\Extensions\FamilySearch\Platform\Tree\ChildAndParentsRelationship
Namespace: Gedcomx\Extensions\FamilySearch\Platform\Tree
Package: Gedcomx\Extensions\FamilySearch\Platform\Tree
Located at Extensions/FamilySearch/Platform/Tree/ChildAndParentsRelationship.php

Methods summary

public
# __construct( mixed $o = null )

Constructs a ChildAndParentsRelationship from a (parsed) JSON hash

Constructs a ChildAndParentsRelationship from a (parsed) JSON hash

Parameters

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

Throws

Exception

Overrides

Gedcomx\Conclusion\Subject::__construct
public Gedcomx\Common\ResourceReference
# getFather( )

The father of the child.

The father of the child.

Returns

Gedcomx\Common\ResourceReference
public
# setFather( Gedcomx\Common\ResourceReference $father )

The father of the child.

The father of the child.

Parameters

$father
public Gedcomx\Common\ResourceReference
# getMother( )

The mother of the child.

The mother of the child.

Returns

Gedcomx\Common\ResourceReference
public
# setMother( Gedcomx\Common\ResourceReference $mother )

The mother of the child.

The mother of the child.

Parameters

$mother
public Gedcomx\Common\ResourceReference
# getChild( )

child in the relationship.

child in the relationship.

Returns

Gedcomx\Common\ResourceReference
public
# setChild( Gedcomx\Common\ResourceReference $child )

child in the relationship.

child in the relationship.

Parameters

$child
public Gedcomx\Conclusion\Fact[]
# getFatherFacts( )

The fact conclusions for the father.

The fact conclusions for the father.

Returns

Gedcomx\Conclusion\Fact[]
public
# setFatherFacts( Gedcomx\Conclusion\Fact[] $fatherFacts )

The fact conclusions for the father.

The fact conclusions for the father.

Parameters

$fatherFacts
public Gedcomx\Conclusion\Fact[]
# getMotherFacts( )

The fact conclusions for the mother.

The fact conclusions for the mother.

Returns

Gedcomx\Conclusion\Fact[]
public
# setMotherFacts( Gedcomx\Conclusion\Fact[] $motherFacts )

The fact conclusions for the mother.

The fact conclusions for the mother.

Parameters

$motherFacts
public array
# toArray( )

Returns the associative array for this ChildAndParentsRelationship

Returns the associative array for this ChildAndParentsRelationship

Returns

array

Overrides

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

Initializes this ChildAndParentsRelationship from an associative array

Initializes this ChildAndParentsRelationship from an associative array

Parameters

$o

Overrides

Gedcomx\Conclusion\Subject::initFromArray
public
# accept( Gedcomx\Extensions\FamilySearch\Rt\FamilySearchPlatformModelVisitor $visitor )
public
# toXml( XMLWriter $writer, boolean $includeNamespaces = true )

Writes this ChildAndParentsRelationship to an XML writer.

Writes this ChildAndParentsRelationship 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 ChildAndParentsRelationship to an XML writer. The startElement is expected to be already provided.

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

Parameters

$writer
The XML writer.

Overrides

Gedcomx\Conclusion\Subject::writeXmlContents

Methods inherited from Gedcomx\Conclusion\Subject

getEvidence(), getExtracted(), getIdentifiers(), getMedia(), setEvidence(), setExtracted(), setIdentifiers(), setMedia()

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