Свойство | Тип | Описание | |
---|---|---|---|
$_sessionLiveTime | Session live time | ||
$_sessionStorage | Session storage |
Метод | Описание | |
---|---|---|
__construct ( array $config ) | Object constructor method | |
getConfig ( string $key = null ) : array | Getting configuration | |
getSessionKey ( ) : string | Getting session key | |
getSessionLiveTime ( ) : integer | Gettion session live time | |
getSessionStorage ( ) : Zend_Session_Namespace | Getting session storage | |
httpRequest ( string $type, string $url, string $parameters, $headers = [] ) : Zend_Http_Response | Send http request | |
parseResponseJson ( string $body ) : array | false | Parse json response | |
parseResponseUrl ( string $url ) : array | false | Parse response url | |
setConfig ( array $config ) : array | Setting configuration | |
setUpSessionStorage ( ) : Zend_Session_Namespace | Setting up session storage |
Метод | Описание | |
---|---|---|
_getTokenRequest ( ) : false | string | Getting token request from session storage | |
_prepareIdentity ( $identity ) : array | Add specified parameters into identity | |
_setSessionKey ( string $key ) : false | string | Setting session key After setSession key you must reset session storage calling setUpSessionStorage | |
_setSessionLiveTime ( integer $time ) : false | integer | Settion session live time | |
_setTokenRequest ( string $tokenRequest ) : string | Setting token request from session storage | |
_unsetTokenRequest ( ) | Unset token request from session storage |
public __construct ( array $config ) | ||
$config | array |
protected _getTokenRequest ( ) : false | string | ||
Результат | false | string |
protected _prepareIdentity ( $identity ) : array | ||
Результат | array |
protected _setSessionKey ( string $key ) : false | string | ||
$key | string | |
Результат | false | string |
protected _setSessionLiveTime ( integer $time ) : false | integer | ||
$time | integer | |
Результат | false | integer |
protected _setTokenRequest ( string $tokenRequest ) : string | ||
$tokenRequest | string | |
Результат | string |
protected _unsetTokenRequest ( ) |
public getSessionKey ( ) : string | ||
Результат | string |
public getSessionLiveTime ( ) : integer | ||
Результат | integer |
public getSessionStorage ( ) : Zend_Session_Namespace | ||
Результат | Zend_Session_Namespace |
public parseResponseJson ( string $body ) : array | false | ||
$body | string | |
Результат | array | false |
public parseResponseUrl ( string $url ) : array | false | ||
$url | string | |
Результат | array | false |
public setUpSessionStorage ( ) : Zend_Session_Namespace | ||
Результат | Zend_Session_Namespace |