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 Identifier

An identifier for a resource.

Namespace: Gedcomx\Conclusion
Located at Conclusion/Identifier.php

Methods summary

public
# __construct( mixed $o = null )

Constructs a Identifier from a (parsed) JSON hash

Constructs a Identifier from a (parsed) JSON hash

Parameters

$o
Either an array (JSON) or an XMLReader.
public string
# getType( )

The type of the id.

The type of the id.

Returns

string
public
# setType( string $type )

The type of the id.

The type of the id.

Parameters

$type
public string
# getValue( )

The id value.

The id value.

Returns

string
public
# setValue( string $value )

The id value.

The id value.

Parameters

$value
public array
# toArray( )

Returns the associative array for this Identifier

Returns the associative array for this Identifier

Returns

array
public string
# toJson( )

Returns the JSON string for this Identifier

Returns the JSON string for this Identifier

Returns

string
public
# initFromArray( array $o )

Initializes this Identifier from an associative array

Initializes this Identifier from an associative array

Parameters

$o
public
# initFromReader( XMLReader $xml )

Initializes this Identifier from an XML reader.

Initializes this Identifier from an XML reader.

Parameters

$xml
The reader to use to initialize this object.
public
# writeXmlContents( XMLWriter $writer )

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

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

Parameters

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