Constants

ACCESS_TOKEN_EXPIRE_IN

ACCESS_TOKEN_EXPIRE_IN = 7200

Properties

$url

$url : 

Type

$development

$development : 

Type

$module

$module : 

Type

$sys_call

$sys_call : 

Type

$default_token

$default_token : 

Type

Methods

__construct()

__construct(  $development = false) 

Parameters

$development

url()

url(  $api,   $method,   $params = array(),   $dataType = 'json') 

Parameters

$api
$method
$params
$dataType

get()

get(  $api,   $method,   $url_params = array(),   $dataType = 'json',   $with_cookie = true) 

Parameters

$api
$method
$url_params
$dataType
$with_cookie

post()

post(  $api,   $method,   $post_params = array(),   $dataType = 'json',   $with_cookie = true) 

Parameters

$api
$method
$post_params
$dataType
$with_cookie

deleteCer()

deleteCer() 

getCerContent()

getCerContent(  $file) 

Parameters

$file

developerCerContent()

developerCerContent() 

cer_filepath()

cer_filepath(  $file) 

Parameters

$file

moduleCerContent()

moduleCerContent() 

systemCerContent()

systemCerContent() 

deleteModuleCer()

deleteModuleCer() 

getAccessToken()

getAccessToken() 

actionResult()

actionResult(  $result,   $dataType = 'json') 

Parameters

$result
$dataType