PHP Class Infusionsoft_App, infusionsoft-php-sdk

ファイルを表示 Open project: novaksolutions/infusionsoft-php-sdk Class Usage Examples

Protected Properties

Property Type Description
$Logger
$accessToken
$apiKey
$client
$debug
$exceptions
$hostname
$port
$timeout
$tokenStorageProvider
$totalHttpCalls
$usingOAuth

Public Methods

Method Description
__construct ( $hostname = '', $apiKeyOrStorageProvider = null, $port = 443 )
addException ( Exception $e )
connect ( Infusionsoft_TokenStorageProvider $tokenStorageProvider = null )
enableDebug ( )
formatDate ( $dateStr )
getAccessToken ( )
getApiKey ( )
getExceptions ( )
getHostname ( )
getPort ( )
getTotalHttpCalls ( )
hasTokens ( )
logger ( Infusionsoft_Logger $object )
refreshTokens ( )
send ( $method, $args, $retry = false )
sendWithoutAddingKey ( $method, $args, $retry = false )
setTimeout ( $timeout )
updateAndSaveTokens ( $accessToken, $refreshToken, $expiresIn )

Method Details

__construct() public method

public __construct ( $hostname = '', $apiKeyOrStorageProvider = null, $port = 443 )

addException() public method

public addException ( Exception $e )
$e Exception

connect() public static method

public static connect ( Infusionsoft_TokenStorageProvider $tokenStorageProvider = null )
$tokenStorageProvider Infusionsoft_TokenStorageProvider

enableDebug() public method

public enableDebug ( )

formatDate() public static method

public static formatDate ( $dateStr )

getAccessToken() public method

public getAccessToken ( )

getApiKey() public method

public getApiKey ( )

getExceptions() public method

public getExceptions ( )

getHostname() public method

public getHostname ( )

getPort() public method

public getPort ( )

getTotalHttpCalls() public method

public getTotalHttpCalls ( )

hasTokens() public method

public hasTokens ( )

logger() public method

public logger ( Infusionsoft_Logger $object )
$object Infusionsoft_Logger

refreshTokens() public method

public refreshTokens ( )

send() public method

public send ( $method, $args, $retry = false )

sendWithoutAddingKey() public method

public sendWithoutAddingKey ( $method, $args, $retry = false )

setTimeout() public method

public setTimeout ( $timeout )

updateAndSaveTokens() public method

public updateAndSaveTokens ( $accessToken, $refreshToken, $expiresIn )

Property Details

$Logger protected_oe property

protected $Logger

$accessToken protected_oe property

protected $accessToken

$apiKey protected_oe property

protected $apiKey

$client protected_oe property

protected $client

$debug protected_oe property

protected $debug

$exceptions protected_oe property

protected $exceptions

$hostname protected_oe property

protected $hostname

$port protected_oe property

protected $port

$timeout protected_oe property

protected $timeout

$tokenStorageProvider protected_oe property

protected $tokenStorageProvider

$totalHttpCalls protected_oe property

protected $totalHttpCalls

$usingOAuth protected_oe property

protected $usingOAuth