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

  • AncestryNode
  • AncestryTree
  • DataSource
  • DescendancyNode
  • DescendancyTree
  • EmbeddedLinkLoader
  • Embedding
  • GedcomxBaseSearchQueryBuilder
  • GedcomxPersonSearchQueryBuilder
  • GedcomxPlaceSearchQueryBuilder
  • HttpStatus
  • RdfCollection
  • RdfNode
  • SearchParameter

Class AncestryTree

A model representation of ancestry.

Class AncestryTree

Namespace: Gedcomx\Rs\Client\Util
Package: Gedcomx\Rs\Client\Util
Located at Rs/Client/Util/AncestryTree.php

Methods summary

public
# __construct( Gedcomx\Gedcomx $gx )

Constructs a new ancestry tree using the specified model.

Constructs a new ancestry tree using the specified model.

Parameters

$gx
public Gedcomx\Rs\Client\Util\AncestryNode|null
# getRoot( )

Gets the root person of the ancestry tree.

Gets the root person of the ancestry tree.

Returns

Gedcomx\Rs\Client\Util\AncestryNode|null
public Gedcomx\Rs\Client\Util\AncestryNode|null
# getAncestor( $number )

Gets an ancestor from the ancestry tree at the specified index.

Gets an ancestor from the ancestry tree at the specified index.

Parameters

$number

Returns

Gedcomx\Rs\Client\Util\AncestryNode|null
gedcomx-php-client API documentation generated by ApiGen