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 DiscussionReference

Class DiscussionReference

Gedcomx\Common\ExtensibleData
Extended by Gedcomx\Links\HypermediaEnabledData implements Gedcomx\Links\SupportsLinks
Extended by Gedcomx\Extensions\FamilySearch\Platform\Tree\DiscussionReference
Namespace: Gedcomx\Extensions\FamilySearch\Platform\Tree
Package: Gedcomx\Extensions\FamilySearch\Platform\Tree
Located at Extensions/FamilySearch/Platform/Tree/DiscussionReference.php

Methods summary

public
# __construct( mixed $o = null )

Constructs a DiscussionReference from a (parsed) JSON hash

Constructs a DiscussionReference from a (parsed) JSON hash

Parameters

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

Throws

Exception

Overrides

Gedcomx\Links\HypermediaEnabledData::__construct
public string
# getResourceId( )

The id of the discussion being referenced.

The id of the discussion being referenced.

Returns

string
public
# setResourceId( string $resourceId )

The id of the discussion being referenced.

The id of the discussion being referenced.

Parameters

$resourceId
public string
# getResource( )

The URI to the resource.

The URI to the resource.

Returns

string
public
# setResource( string $resource )

The URI to the resource.

The URI to the resource.

Parameters

$resource
public Gedcomx\Common\Attribution
# getAttribution( )

The attribution metadata for this discussion reference.

The attribution metadata for this discussion reference.

Returns

Gedcomx\Common\Attribution
public
# setAttribution( Gedcomx\Common\Attribution $attribution )

The attribution metadata for this discussion reference.

The attribution metadata for this discussion reference.

Parameters

$attribution
public array
# toArray( )

Returns the associative array for this DiscussionReference

Returns the associative array for this DiscussionReference

Returns

array

Overrides

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

Initializes this DiscussionReference from an associative array

Initializes this DiscussionReference from an associative array

Parameters

$o

Overrides

Gedcomx\Links\HypermediaEnabledData::initFromArray
public
# toXml( XMLWriter $writer, boolean $includeNamespaces = true )

Writes this DiscussionReference to an XML writer.

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

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

Parameters

$writer
The XML writer.

Overrides

Gedcomx\Links\HypermediaEnabledData::writeXmlContents

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 API documentation generated by ApiGen