Overview

Namespaces

  • DocPlanner
    • SDK
      • Base
        • ServiceDescription
      • Core
      • Model
        • Doctor
        • Geo
        • User
        • Visit
  • PHP

Classes

  • BaseSDK
  • CoreBase
  • Parameter
  • Result

Exceptions

  • DPException
  • Overview
  • Namespace
  • Class
  • Tree

Class BaseSDK

Class BaseSDK

Namespace: DocPlanner\SDK\Base
Package: DocPlanner\SDK\Base
Located at Base/BaseSDK.php
Methods summary
public
# __construct( string $consumerKey, string $consumerSecret, string $resultType = DocPlanner\SDK\Base\BaseSDK::RESULT_TYPE_RESULT_OBJECT )

Parameters

$consumerKey
string
$consumerKey
$consumerSecret
string
$consumerSecret
$resultType
string
$resultType
public
# setToken( string|null $token, string|null $tokenSecret )

Parameters

$token
string|null
$token
$tokenSecret
string|null
$tokenSecret
public array
# getToken( )

Returns

array
public boolean
# tokenIsSet( )

Returns

boolean
public array|mixed
# execute( mixed $method, DocPlanner\SDK\Base\ServiceDescription\DocPlanner\SDK\Base\Parameter $parameters = null )

Parameters

$method
mixed
$method
$parameters
DocPlanner\SDK\Base\Parameter|null
$parameters

Returns

array|mixed

Throws

Exception|Guzzle\Http\Exception\ClientErrorResponseException
DocPlanner\SDK\Base\DPException
Constants summary
string TOKEN 'token'
#
string TOKEN_SECRET 'token_secret'
#
string RESULT_TYPE_ARRAY 'array'
#
string RESULT_TYPE_RESULT_OBJECT 'result'
#
Properties summary
protected string $consumerKey
#
protected string $consumerSecret
#
protected string|null $token
#
protected string|null $tokenSecret
#
protected string $resultType
#
protected Guzzle\Service\Client $client
#
Docplanner API documentation generated by ApiGen 2.8.0