gedcomx-php
  • Namespace
  • Class

Namespaces

  • Gedcomx
    • Agent
    • Atom
    • Common
    • Conclusion
    • Extensions
      • FamilySearch
        • Platform
          • Artifacts
          • Discussions
          • Tree
          • Users
        • Rt
        • Types
    • GedcomxFile
    • Links
    • Records
    • Rt
    • Search
    • Source
    • Support
    • Types
    • Util
    • Vocab

Classes

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

Class MergeAnalysis

Class MergeAnalysis

Namespace: Gedcomx\Extensions\FamilySearch\Platform\Tree
Package: Gedcomx\Extensions\FamilySearch\Platform\Tree
Located at Extensions/FamilySearch/Platform/Tree/MergeAnalysis.php

Methods summary

public
# __construct( mixed $o = null )

Constructs a MergeAnalysis from a (parsed) JSON hash

Constructs a MergeAnalysis from a (parsed) JSON hash

Parameters

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

Throws

Exception
public Gedcomx\Common\ResourceReference[]
# getSurvivorResources( )

(no documentation provided)

(no documentation provided)

Returns

Gedcomx\Common\ResourceReference[]
public
# setSurvivorResources( Gedcomx\Common\ResourceReference[] $survivorResources )

(no documentation provided)

(no documentation provided)

Parameters

$survivorResources
public Gedcomx\Common\ResourceReference[]
# getDuplicateResources( )

(no documentation provided)

(no documentation provided)

Returns

Gedcomx\Common\ResourceReference[]
public
# setDuplicateResources( Gedcomx\Common\ResourceReference[] $duplicateResources )

(no documentation provided)

(no documentation provided)

Parameters

$duplicateResources
public Gedcomx\Extensions\FamilySearch\Platform\Tree\MergeConflict[]
# getConflictingResources( )

(no documentation provided)

(no documentation provided)

Returns

Gedcomx\Extensions\FamilySearch\Platform\Tree\MergeConflict[]
public
# setConflictingResources( Gedcomx\Extensions\FamilySearch\Platform\Tree\MergeConflict[] $conflictingResources )

(no documentation provided)

(no documentation provided)

Parameters

$conflictingResources
public Gedcomx\Common\ResourceReference
# getSurvivor( )

(no documentation provided)

(no documentation provided)

Returns

Gedcomx\Common\ResourceReference
public
# setSurvivor( Gedcomx\Common\ResourceReference $survivor )

(no documentation provided)

(no documentation provided)

Parameters

$survivor
public Gedcomx\Common\ResourceReference
# getDuplicate( )

(no documentation provided)

(no documentation provided)

Returns

Gedcomx\Common\ResourceReference
public
# setDuplicate( Gedcomx\Common\ResourceReference $duplicate )

(no documentation provided)

(no documentation provided)

Parameters

$duplicate
public array
# toArray( )

Returns the associative array for this MergeAnalysis

Returns the associative array for this MergeAnalysis

Returns

array
public string
# toJson( )

Returns the JSON string for this MergeAnalysis

Returns the JSON string for this MergeAnalysis

Returns

string
public
# initFromArray( array $o )

Initializes this MergeAnalysis from an associative array

Initializes this MergeAnalysis from an associative array

Parameters

$o
public
# initFromReader( XMLReader $xml )

Initializes this MergeAnalysis from an XML reader.

Initializes this MergeAnalysis from an XML reader.

Parameters

$xml
The reader to use to initialize this object.
public
# toXml( XMLWriter $writer, boolean $includeNamespaces = true )

Writes this MergeAnalysis to an XML writer.

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

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

Parameters

$writer
The XML writer.
public
# accept( Gedcomx\Extensions\FamilySearch\Rt\FamilySearchPlatformModelVisitor $visitor )

??

??

Parameters

$visitor
gedcomx-php API documentation generated by ApiGen