1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Transport

Открытые члены

 __construct ()
 getServiceUrl (string $type=self::SERVICE_TYPE_APP)
 call ($method, $fields=array())
 getDictionary (string $dictionary)
 batch ($actions)

Открытые статические члены

static instance ()

Поля данных

const SERVICE_URL = REST_MARKETPLACE_URL
const SERVICE_TYPE_APP = 'APP'
const SERVICE_TYPE_COUPON = 'COUPON'
const SOCKET_TIMEOUT = 10
const STREAM_TIMEOUT = 10
const METHOD_GET_LAST = 'get_last'
const METHOD_GET_DEV = 'get_dev'
const METHOD_GET_BEST = 'get_best'
const METHOD_GET_SALE_OUT = 'get_sale_out'
const METHOD_GET_BUY = 'get_buy'
const METHOD_GET_UPDATES = 'get_updates'
const METHOD_GET_IMMUNE = 'get_immune'
const METHOD_GET_CATEGORIES = 'get_categories'
const METHOD_GET_CATEGORY = 'get_category'
const METHOD_GET_TAG = 'get_tag'
const METHOD_GET_APP = 'get_app'
const METHOD_GET_APP_PUBLIC = 'get_app_public'
const METHOD_GET_INSTALL = 'get_app_install'
const METHOD_SET_INSTALL = 'is_installed'
const METHOD_SEARCH_APP = 'search_app'
const METHOD_FILTER_APP = 'search_app_adv'
const METHOD_GET_SITE_LIST = 'sites_list'
const METHOD_GET_SITE_ITEM = 'sites_item'
const DICTIONARY_IMMUNE_LIST = 'immune_list'

Защищенные члены

 prepareQuery ($method, $fields)
 prepareAnswer ($response)

Защищенные данные

const VERSION = 1
string $serviceDomain = ''

Статические защищенные данные

static $instance = null

Подробное описание

См. определение в файле transport.php строка 18

Конструктор(ы)

◆ __construct()

__construct ( )

См. определение в файле transport.php строка 98

Методы

◆ batch()

batch ( $actions)

См. определение в файле transport.php строка 159

◆ call()

call ( $method,
$fields = array() )

См. определение в файле transport.php строка 127

◆ getDictionary()

getDictionary ( string $dictionary)

См. определение в файле transport.php строка 141

◆ getServiceUrl()

getServiceUrl ( string $type = self::SERVICE_TYPE_APP)

Returns service url.

Аргументы
string$type
Возвращает
string

См. определение в файле transport.php строка 117

◆ instance()

instance ( )
static

Resturns class instance.

Возвращает
\Bitrix\Rest\Marketplace\Transport

См. определение в файле transport.php строка 87

◆ prepareAnswer()

prepareAnswer ( $response)
protected

См. определение в файле transport.php строка 213

◆ prepareQuery()

prepareQuery ( $method,
$fields )
protected

См. определение в файле transport.php строка 180

Поля

◆ $instance

$instance = null
staticprotected

См. определение в файле transport.php строка 80

◆ $serviceDomain

string $serviceDomain = ''
protected

См. определение в файле transport.php строка 25

◆ DICTIONARY_IMMUNE_LIST

const DICTIONARY_IMMUNE_LIST = 'immune_list'

См. определение в файле transport.php строка 74

◆ METHOD_FILTER_APP

const METHOD_FILTER_APP = 'search_app_adv'

См. определение в файле transport.php строка 70

◆ METHOD_GET_APP

const METHOD_GET_APP = 'get_app'

См. определение в файле transport.php строка 65

◆ METHOD_GET_APP_PUBLIC

const METHOD_GET_APP_PUBLIC = 'get_app_public'

См. определение в файле transport.php строка 66

◆ METHOD_GET_BEST

const METHOD_GET_BEST = 'get_best'

См. определение в файле transport.php строка 53

◆ METHOD_GET_BUY

const METHOD_GET_BUY = 'get_buy'

См. определение в файле transport.php строка 55

◆ METHOD_GET_CATEGORIES

const METHOD_GET_CATEGORIES = 'get_categories'

См. определение в файле transport.php строка 62

◆ METHOD_GET_CATEGORY

const METHOD_GET_CATEGORY = 'get_category'

См. определение в файле transport.php строка 63

◆ METHOD_GET_DEV

const METHOD_GET_DEV = 'get_dev'

См. определение в файле transport.php строка 52

◆ METHOD_GET_IMMUNE

const METHOD_GET_IMMUNE = 'get_immune'

См. определение в файле transport.php строка 61

◆ METHOD_GET_INSTALL

const METHOD_GET_INSTALL = 'get_app_install'

См. определение в файле transport.php строка 67

◆ METHOD_GET_LAST

const METHOD_GET_LAST = 'get_last'

См. определение в файле transport.php строка 51

◆ METHOD_GET_SALE_OUT

const METHOD_GET_SALE_OUT = 'get_sale_out'

См. определение в файле transport.php строка 54

◆ METHOD_GET_SITE_ITEM

const METHOD_GET_SITE_ITEM = 'sites_item'

См. определение в файле transport.php строка 72

◆ METHOD_GET_SITE_LIST

const METHOD_GET_SITE_LIST = 'sites_list'

См. определение в файле transport.php строка 71

◆ METHOD_GET_TAG

const METHOD_GET_TAG = 'get_tag'

См. определение в файле transport.php строка 64

◆ METHOD_GET_UPDATES

const METHOD_GET_UPDATES = 'get_updates'

См. определение в файле transport.php строка 56

◆ METHOD_SEARCH_APP

const METHOD_SEARCH_APP = 'search_app'

См. определение в файле transport.php строка 69

◆ METHOD_SET_INSTALL

const METHOD_SET_INSTALL = 'is_installed'

См. определение в файле transport.php строка 68

◆ SERVICE_TYPE_APP

const SERVICE_TYPE_APP = 'APP'

См. определение в файле transport.php строка 41

◆ SERVICE_TYPE_COUPON

const SERVICE_TYPE_COUPON = 'COUPON'

См. определение в файле transport.php строка 42

◆ SERVICE_URL

const SERVICE_URL = REST_MARKETPLACE_URL

См. определение в файле transport.php строка 21

◆ SOCKET_TIMEOUT

const SOCKET_TIMEOUT = 10

См. определение в файле transport.php строка 48

◆ STREAM_TIMEOUT

const STREAM_TIMEOUT = 10

См. определение в файле transport.php строка 49

◆ VERSION

const VERSION = 1
protected

См. определение в файле transport.php строка 22


Объявления и описания членов класса находятся в файле: