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

  • AncestryNode
  • AncestryTree
  • DataSource
  • DescendancyNode
  • DescendancyTree
  • EmbeddedLinkLoader
  • Embedding
  • GedcomxBaseSearchQueryBuilder
  • GedcomxPersonSearchQueryBuilder
  • GedcomxPlaceSearchQueryBuilder
  • HttpStatus
  • RdfCollection
  • RdfNode
  • SearchParameter

Class DataSource

A basic class for using various data sources with the artifacts and memories API.

Class DataSource

Namespace: Gedcomx\Rs\Client\Util
Package: Gedcomx\Rs\Client\Util
Located at Rs/Client/Util/DataSource.php

Methods summary

public
# setFile( string $filepath )

Sets the file that will be uploaded.

Sets the file that will be uploaded.

Parameters

$filepath
Path to the file to upload
public string
# getFile( )

Return the file path of this data source

Return the file path of this data source

Returns

string
public
# setTitle( string $title )

Sets the title of the file to be uploaded.

Sets the title of the file to be uploaded.

Parameters

$title
A human readable name to associate with the data file
public string
# getTitle( )

Return the title of this data

Return the title of this data

Returns

string
public
# addParameter( $key, $value )

Add a key value pair as data

Add a key value pair as data

Parameters

$key
$value
public array
# getParameters( )

Return the array of parameters assigned to this data source

Return the array of parameters assigned to this data source

Returns

array
public boolean
# isFile( )

Return whether or not this data source has a file associated with it

Return whether or not this data source has a file associated with it

Returns

boolean
gedcomx-php-client API documentation generated by ApiGen