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

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

Interfaces

  • GedcomxEntryDeserializer
  • GedcomxEntrySerializer

Exceptions

  • GedcomxFileException

Class GedcomxFileEntry

Represents a GEDCOM X file entry within a zip file.

Class GedcomxFileEntry

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

Methods summary

public
# __construct( string $name, string $content = null, null $attributes = null )

Create a new GedcomxFileEntry

Create a new GedcomxFileEntry

Parameters

$name
$content
$attributes
public string
# getName( )

Return the name in the archive

Return the name in the archive

Returns

string
public
# setName( mixed $name )

Set the name of the entry

Set the name of the entry

Parameters

$name
public string|null
# getContents( )

Return the contents of this entry

Return the contents of this entry

Returns

string|null
public
# setContents( string $contents )

The contents of the zip file entry

The contents of the zip file entry

Parameters

$contents
public mixed
# getAttributes( )

Return the attributes of this entry

Return the attributes of this entry

Returns

mixed
public
# setAttributes( array $attributes )

Set the attributes array

Set the attributes array

Parameters

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

Add an attribute to the list

Add an attribute to the list

Parameters

$key
$value
public null|string
# getAttribute( string $key )

Return the value of a given key

Return the value of a given key

Parameters

$key

Returns

null|string
public null|string
# getContentType( )

Return the content type stored with this entry.

Return the content type stored with this entry.

Returns

null|string
public
# parseEntryData( string $block )

Parse the attributes from a data block in the MANIFEST file

Parse the attributes from a data block in the MANIFEST file

Parameters

$block
gedcomx-php API documentation generated by ApiGen