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 MergeConflict

Class MergeConflict

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

Methods summary

public
# __construct( mixed $o = null )

Constructs a MergeConflict from a (parsed) JSON hash

Constructs a MergeConflict from a (parsed) JSON hash

Parameters

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

Throws

Exception
public Gedcomx\Common\ResourceReference
# getSurvivorResource( )

(no documentation provided)

(no documentation provided)

Returns

Gedcomx\Common\ResourceReference
public
# setSurvivorResource( Gedcomx\Common\ResourceReference $survivorResource )

(no documentation provided)

(no documentation provided)

Parameters

$survivorResource
public Gedcomx\Common\ResourceReference
# getDuplicateResource( )

(no documentation provided)

(no documentation provided)

Returns

Gedcomx\Common\ResourceReference
public
# setDuplicateResource( Gedcomx\Common\ResourceReference $duplicateResource )

(no documentation provided)

(no documentation provided)

Parameters

$duplicateResource
public array
# toArray( )

Returns the associative array for this MergeConflict

Returns the associative array for this MergeConflict

Returns

array
public string
# toJson( )

Returns the JSON string for this MergeConflict

Returns the JSON string for this MergeConflict

Returns

string
public
# initFromArray( array $o )

Initializes this MergeConflict from an associative array

Initializes this MergeConflict from an associative array

Parameters

$o
public
# initFromReader( XMLReader $xml )

Initializes this MergeConflict from an XML reader.

Initializes this MergeConflict from an XML reader.

Parameters

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

Writes this MergeConflict to an XML writer.

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

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

Parameters

$writer
The XML writer.
gedcomx-php-client API documentation generated by ApiGen