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

  • Conclusion
  • DateInfo
  • DisplayProperties
  • Document
  • Event
  • EventRole
  • Fact
  • Gender
  • Identifier
  • Name
  • NameForm
  • NamePart
  • Person
  • PlaceDescription
  • PlaceDisplayProperties
  • PlaceReference
  • Relationship
  • Subject

Interfaces

  • HasFacts

Class Event

A historical event.

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\Conclusion\Event
Namespace: Gedcomx\Conclusion
Located at Conclusion/Event.php

Methods summary

public
# __construct( mixed $o = null )

Constructs a Event from a (parsed) JSON hash

Constructs a Event from a (parsed) JSON hash

Parameters

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

Throws

Exception

Overrides

Gedcomx\Conclusion\Subject::__construct
public string
# getType( )

The type of the event.

The type of the event.

Returns

string
public
# setType( string $type )

The type of the event.

The type of the event.

Parameters

$type
public Gedcomx\Conclusion\DateInfo
# getDate( )

The date of this event.

The date of this event.

Returns

Gedcomx\Conclusion\DateInfo
public
# setDate( Gedcomx\Conclusion\DateInfo $date )

The date of this event.

The date of this event.

Parameters

$date
public Gedcomx\Conclusion\PlaceReference
# getPlace( )

The place of this event.

The place of this event.

Returns

Gedcomx\Conclusion\PlaceReference
public
# setPlace( Gedcomx\Conclusion\PlaceReference $place )

The place of this event.

The place of this event.

Parameters

$place
public Gedcomx\Conclusion\EventRole[]
# getRoles( )

The roles played in this event.

The roles played in this event.

Returns

Gedcomx\Conclusion\EventRole[]
public
# setRoles( Gedcomx\Conclusion\EventRole[] $roles )

The roles played in this event.

The roles played in this event.

Parameters

$roles
public array
# toArray( )

Returns the associative array for this Event

Returns the associative array for this Event

Returns

array

Overrides

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

Initializes this Event from an associative array

Initializes this Event from an associative array

Parameters

$o

Overrides

Gedcomx\Conclusion\Subject::initFromArray
public
# accept( Gedcomx\Rt\GedcomxModelVisitor $visitor )

Parameters

$visitor
public
# toXml( XMLWriter $writer, boolean $includeNamespaces = true )

Writes this Event to an XML writer.

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

Writes the contents of this Event 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