Transport
Table of Contents
Constants
- METHOD_FILTER_APP = 'search_app_adv'
- METHOD_GET_APP = 'get_app'
- METHOD_GET_APP_PUBLIC = 'get_app_public'
- METHOD_GET_BEST = 'get_best'
- METHOD_GET_BUY = 'get_buy'
- METHOD_GET_CATEGORIES = 'get_categories'
- METHOD_GET_CATEGORY = 'get_category'
- METHOD_GET_DEV = 'get_dev'
- METHOD_GET_IMMUNE = 'get_immune'
- METHOD_GET_INSTALL = 'get_app_install'
- METHOD_GET_LAST = 'get_last'
- METHOD_GET_SALE_OUT = 'get_sale_out'
- METHOD_GET_SITE_ITEM = 'sites_item'
- METHOD_GET_SITE_LIST = 'sites_list'
- METHOD_GET_TAG = 'get_tag'
- METHOD_GET_UPDATES = 'get_updates'
- METHOD_SEARCH_APP = 'search_app'
- METHOD_SET_INSTALL = 'is_installed'
- SERVICE_TYPE_APP = 'APP'
- SERVICE_TYPE_COUPON = 'COUPON'
- SERVICE_URL = REST_MARKETPLACE_URL
- SOCKET_TIMEOUT = 10
- STREAM_TIMEOUT = 10
Methods
- __construct() : mixed
- batch() : mixed
- call() : mixed
- getServiceUrl() : string
- Returns service url.
- instance() : Transport
- Resturns class instance.
Constants
METHOD_FILTER_APP
public
mixed
METHOD_FILTER_APP
= 'search_app_adv'
METHOD_GET_APP
public
mixed
METHOD_GET_APP
= 'get_app'
METHOD_GET_APP_PUBLIC
public
mixed
METHOD_GET_APP_PUBLIC
= 'get_app_public'
METHOD_GET_BEST
public
mixed
METHOD_GET_BEST
= 'get_best'
METHOD_GET_BUY
public
mixed
METHOD_GET_BUY
= 'get_buy'
METHOD_GET_CATEGORIES
public
mixed
METHOD_GET_CATEGORIES
= 'get_categories'
METHOD_GET_CATEGORY
public
mixed
METHOD_GET_CATEGORY
= 'get_category'
METHOD_GET_DEV
public
mixed
METHOD_GET_DEV
= 'get_dev'
METHOD_GET_IMMUNE
public
mixed
METHOD_GET_IMMUNE
= 'get_immune'
METHOD_GET_INSTALL
public
mixed
METHOD_GET_INSTALL
= 'get_app_install'
METHOD_GET_LAST
public
mixed
METHOD_GET_LAST
= 'get_last'
METHOD_GET_SALE_OUT
public
mixed
METHOD_GET_SALE_OUT
= 'get_sale_out'
METHOD_GET_SITE_ITEM
public
mixed
METHOD_GET_SITE_ITEM
= 'sites_item'
METHOD_GET_SITE_LIST
public
mixed
METHOD_GET_SITE_LIST
= 'sites_list'
METHOD_GET_TAG
public
mixed
METHOD_GET_TAG
= 'get_tag'
METHOD_GET_UPDATES
public
mixed
METHOD_GET_UPDATES
= 'get_updates'
METHOD_SEARCH_APP
public
mixed
METHOD_SEARCH_APP
= 'search_app'
METHOD_SET_INSTALL
public
mixed
METHOD_SET_INSTALL
= 'is_installed'
SERVICE_TYPE_APP
public
mixed
SERVICE_TYPE_APP
= 'APP'
SERVICE_TYPE_COUPON
public
mixed
SERVICE_TYPE_COUPON
= 'COUPON'
SERVICE_URL
use Transport()->getServiceUrl()
public
mixed
SERVICE_URL
= REST_MARKETPLACE_URL
SOCKET_TIMEOUT
public
mixed
SOCKET_TIMEOUT
= 10
STREAM_TIMEOUT
public
mixed
STREAM_TIMEOUT
= 10
Methods
__construct()
public
__construct() : mixed
batch()
public
batch(mixed $actions) : mixed
Parameters
- $actions : mixed
call()
public
call(mixed $method[, mixed $fields = array() ]) : mixed
Parameters
- $method : mixed
- $fields : mixed = array()
getServiceUrl()
Returns service url.
public
getServiceUrl([string $type = self::SERVICE_TYPE_APP ]) : string
Parameters
- $type : string = self::SERVICE_TYPE_APP
Return values
stringinstance()
Resturns class instance.
public
static instance() : Transport