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

  • Attribution
  • CustomEntity
  • CustomKeyedItem
  • EvidenceReference
  • ExtensibleData
  • Note
  • Qualifier
  • ResourceReference
  • TextValue
  • UniqueCustomKeyedItem

Interfaces

  • Attributable
  • HasNotes

Class Qualifier

A data qualifier. Qualifiers are used to "qualify" certain data elements to provide additional context, information, or details.

Namespace: Gedcomx\Common
Located at Common/Qualifier.php

Methods summary

public
# __construct( mixed $o = null )

Constructs a Qualifier from a (parsed) JSON hash

Constructs a Qualifier from a (parsed) JSON hash

Parameters

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

Throws

Exception
public string
# getValue( )

The value of the qualifier.

The value of the qualifier.

Returns

string
public
# setValue( string $value )

The value of the qualifier.

The value of the qualifier.

Parameters

$value
public
# setName( string $name )

Parameters

$name
public string
# getName( )

Returns

string
public array
# toArray( )

Returns the associative array for this Qualifier

Returns the associative array for this Qualifier

Returns

array
public string
# toJson( )

Returns the JSON string for this Qualifier

Returns the JSON string for this Qualifier

Returns

string
public
# initFromArray( array $o )

Initializes this Qualifier from an associative array

Initializes this Qualifier from an associative array

Parameters

$o
public
# initFromReader( XMLReader $xml )

Initializes this Qualifier from an XML reader.

Initializes this Qualifier from an XML reader.

Parameters

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

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

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

Parameters

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