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

  • AgentState
  • AncestryResultsState
  • CollectionsState
  • CollectionState
  • DescendancyResultsState
  • GedcomxApplicationState
  • GedcomxSearchQuery
  • PersonChildrenState
  • PersonParentsState
  • PersonSearchResultsState
  • PersonSpousesState
  • PersonsState
  • PersonState
  • PlaceDescriptionsState
  • PlaceDescriptionState
  • PlaceGroupState
  • PlaceSearchResultsState
  • RecordsState
  • RecordState
  • Rel
  • RelationshipsState
  • RelationshipState
  • SearchParameter
  • SourceDescriptionsState
  • SourceDescriptionState
  • StateFactory
  • VocabConstants
  • VocabElementListState
  • VocabElementState

Interfaces

  • SupportsExtensionElements

Class PersonSearchResultsState

The PersonSearchResultsState exposes management functions for person search results.

Class PersonSearchResultsState

Gedcomx\Rs\Client\GedcomxApplicationState
Extended by Gedcomx\Rs\Client\PersonSearchResultsState

Direct known subclasses

Gedcomx\Extensions\FamilySearch\Rs\Client\PersonMatchResultsState

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

Methods summary

public
# __construct( GuzzleHttp\Client $client, GuzzleHttp\Psr7\Request $request, GuzzleHttp\Psr7\Response $response, string $accessToken, Gedcomx\Rs\Client\StateFactory $stateFactory )

Constructs a new person search results state using the specified client, request, response, access token, and state factory.

Constructs a new person search results state using the specified client, request, response, access token, and state factory.

Parameters

$client
$request
$response
$accessToken
$stateFactory

Overrides

Gedcomx\Rs\Client\GedcomxApplicationState::__construct
public Gedcomx\Atom\Feed
# getResults( )

Gets the search results from the atom feed response.

Gets the search results from the atom feed response.

Returns

Gedcomx\Atom\Feed
public Gedcomx\Rs\Client\PersonState|null
# readPersonFromConclusion( Gedcomx\Conclusion\Person $person, Gedcomx\Rs\Client\Options\StateTransitionOption $option = null )

Reads the person from the specified person model.

Reads the person from the specified person model.

Parameters

$person
$option

Returns

Gedcomx\Rs\Client\PersonState|null
public Gedcomx\Rs\Client\PersonState|null
# readPersonFromEntry( Gedcomx\Atom\Entry $person, Gedcomx\Rs\Client\Options\StateTransitionOption $option = null )

Reads the person from the specified atom feed entry.

Reads the person from the specified atom feed entry.

Parameters

$person
$option

Returns

Gedcomx\Rs\Client\PersonState|null
public Gedcomx\Rs\Client\RecordState|null
# readRecord( Gedcomx\Atom\Entry $person, Gedcomx\Rs\Client\Options\StateTransitionOption $option = null )

Reads the person record from the specified atom feed entry.

Reads the person record from the specified atom feed entry.

Parameters

$person
$option

Returns

Gedcomx\Rs\Client\RecordState|null
public Gedcomx\Rs\Client\GedcomxApplicationState
# readNextPage( Gedcomx\Rs\Client\Options\StateTransitionOption $option = null )

Parameters

$option

Returns

Gedcomx\Rs\Client\GedcomxApplicationState
The next page.
public Gedcomx\Rs\Client\GedcomxApplicationState
# readPreviousPage( Gedcomx\Rs\Client\Options\StateTransitionOption $option = null )

Parameters

$option

Returns

Gedcomx\Rs\Client\GedcomxApplicationState
The previous page.
public Gedcomx\Rs\Client\GedcomxApplicationState
# readFirstPage( Gedcomx\Rs\Client\Options\StateTransitionOption $option = null )

Parameters

$option

Returns

Gedcomx\Rs\Client\GedcomxApplicationState
The first page.
public Gedcomx\Rs\Client\GedcomxApplicationState
# readLastPage( Gedcomx\Rs\Client\Options\StateTransitionOption $option = null )

Parameters

$option

Returns

Gedcomx\Rs\Client\GedcomxApplicationState
the last page.

Methods inherited from Gedcomx\Rs\Client\GedcomxApplicationState

authenticateViaOAuth2AuthCode(), authenticateViaOAuth2ClientCredentials(), authenticateViaOAuth2Password(), authenticateViaOAuth2WithoutCredentials(), authenticateWithAccessToken(), delete(), generateClientSecret(), get(), getAccessToken(), getClient(), getETag(), getEntity(), getHeader(), getHeaders(), getLastEmbeddedRequest(), getLastEmbeddedResponse(), getLastModified(), getLink(), getLinks(), getRequest(), getResourceReference(), getResponse(), getSelfRel(), getSelfUri(), getStatus(), getUri(), hasClientError(), hasError(), hasServerError(), hasStatus(), head(), ifSuccessful(), inject(), isAuthenticated(), loadAllEmbeddedResources(), logout(), options(), post(), put(), readAttributableContributor(), readContributor(), readReferenceContributor(), send()

gedcomx-php-client API documentation generated by ApiGen