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

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

Interfaces

  • HasFacts

Class Gender

A gender conclusion.

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

Methods summary

public
# __construct( mixed $o = null )

Constructs a Gender from a (parsed) JSON hash

Constructs a Gender from a (parsed) JSON hash

Parameters

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

Throws

Exception

Overrides

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

The type of the gender.

The type of the gender.

Returns

string
public
# setType( string $type )

The type of the gender.

The type of the gender.

Parameters

$type
public Gedcomx\Records\Field[]
# getFields( )

The references to the record fields being used as evidence.

The references to the record fields being used as evidence.

Returns

Gedcomx\Records\Field[]
public
# setFields( array $fields )

The references to the record fields being used as evidence.

The references to the record fields being used as evidence.

Parameters

$fields
public array
# toArray( )

Returns the associative array for this Gender

Returns the associative array for this Gender

Returns

array

Overrides

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

Initializes this Gender from an associative array

Initializes this Gender from an associative array

Parameters

$o

Overrides

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

Parameters

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

Writes this Gender to an XML writer.

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

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

Parameters

$writer
The XML writer.

Overrides

Gedcomx\Conclusion\Conclusion::writeXmlContents

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