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

  • DefaultJsonSerialization
  • DefaultXMLSerialization
  • GedcomxFile
  • GedcomxFileEntry
  • GedcomxOutput
  • Manifest
  • ManifestAttribute

Interfaces

  • GedcomxEntryDeserializer
  • GedcomxEntrySerializer

Exceptions

  • GedcomxFileException

Class GedcomxOutput

Class GedcomxOutput

Namespace: Gedcomx\GedcomxFile
Package: Gedcomx\GedcomxFile
Located at GedcomxFile/GedcomxOutput.php

Methods summary

public
# __construct( Gedcomx\GedcomxFile\GedcomxEntrySerializer $serializer = null )

Create a new instance of the .gedx file creator

Create a new instance of the .gedx file creator

Parameters

$serializer
public
# addAttribute( string $key, string $value )

Add an attribute to the manifest file for this archive.

Add an attribute to the manifest file for this archive.

Parameters

$key
$value
public
# addAttributeToEntry( string $name, string $key, string $value )

Add a manifest file attribute for an entry

Add a manifest file attribute for an entry

Parameters

$name
$key
$value
public
# updateEntryAttribute( string $name, string $key, string $value )

Update a manifest file attribute for an entry

Update a manifest file attribute for an entry

Parameters

$name
$key
$value
public
# addGedcomxResource( Gedcomx\Gedcomx $resource, DateTime $lastModified = null )

Add a Gedcomx object to the archive

Add a Gedcomx object to the archive

Parameters

$resource
$lastModified
public
# addFamilySearchResource( Gedcomx\Extensions\FamilySearch\FamilySearchPlatform $resource, DateTime $lastModified = null )

Add a FamilySearch Extensions object to the archive

Add a FamilySearch Extensions object to the archive

Parameters

$resource
$lastModified
public
# addFileResource( string $filename, string $contentType = null, DateTime $lastModified = null )

Add a file resource to the archive

Add a file resource to the archive

Parameters

$filename
$contentType
$lastModified
public
# writeToFile( $filepath )

Write the archive to disk with the given filepath

Write the archive to disk with the given filepath

Parameters

$filepath

Throws

Gedcomx\GedcomxFile\GedcomxFileException
gedcomx-php-client API documentation generated by ApiGen