Bitrix API

Client

Table of Contents

Constants

CATEGORIES_CACHE_TTL  = REST_MP_CATEGORIES_CACHE_TTL

Methods

canBuySubscription()  : mixed
filterApp()  : mixed
getApp()  : mixed
getAppPublic()  : mixed
getAvailableUpdate()  : mixed
getAvailableUpdateNum()  : mixed
getBuy()  : mixed
getBuyLink()  : mixed
getByTag()  : mixed
getCategories()  : array<string|int, mixed>
Return marketplace category items
getCategoriesFull()  : array<string|int, mixed>
Return marketplace category query result
getCategory()  : mixed
getImmuneApp()  : mixed
getInstall()  : mixed
getLastByTag()  : mixed
getNumUpdates()  : mixed
getSite()  : array<string|int, mixed>|false|mixed
Returns site by id.
getSiteList()  : array<string|int, mixed>|false|mixed
Returns list of sites.
getSubscriptionFinalDate()  : Date|null
getTagByPlacement()  : mixed
getTop()  : mixed
getUpdates()  : mixed
isPayApplicationAvailable()  : bool
Returns available pay application
isStartDemoSubscription()  : bool
isSubscriptionAccess()  : mixed
isSubscriptionAvailable()  : bool
isSubscriptionDemo()  : bool
Checks subscriptions demo status
isSubscriptionDemoAvailable()  : mixed
onChangeSubscriptionDate()  : void
searchApp()  : mixed
setAvailableUpdate()  : mixed

Constants

CATEGORIES_CACHE_TTL

public mixed CATEGORIES_CACHE_TTL = REST_MP_CATEGORIES_CACHE_TTL

Methods

canBuySubscription()

public static canBuySubscription() : mixed

filterApp()

public static filterApp(mixed $fields[, mixed $page = false ]) : mixed
Parameters
$fields : mixed
$page : mixed = false

getApp()

public static getApp(mixed $code[, mixed $version = false ][, mixed $checkHash = false ][, mixed $installHash = false ]) : mixed
Parameters
$code : mixed
$version : mixed = false
$checkHash : mixed = false
$installHash : mixed = false

getAppPublic()

public static getAppPublic(mixed $code[, mixed $version = false ][, mixed $checkHash = false ][, mixed $installHash = false ]) : mixed
Parameters
$code : mixed
$version : mixed = false
$checkHash : mixed = false
$installHash : mixed = false

getAvailableUpdate()

public static getAvailableUpdate([mixed $code = false ]) : mixed
Parameters
$code : mixed = false

getAvailableUpdateNum()

public static getAvailableUpdateNum() : mixed

getBuy()

public static getBuy(mixed $codeList) : mixed
Parameters
$codeList : mixed
public static getBuyLink(mixed $num, mixed $appCode) : mixed
Parameters
$num : mixed
$appCode : mixed

getByTag()

public static getByTag(mixed $tag[, mixed $page = false ][, mixed $pageSize = false ]) : mixed
Parameters
$tag : mixed
$page : mixed = false
$pageSize : mixed = false

getCategories()

Return marketplace category items

public static getCategories([bool $forceReload = false ]) : array<string|int, mixed>
Parameters
$forceReload : bool = false
Return values
array<string|int, mixed>

getCategoriesFull()

Return marketplace category query result

public static getCategoriesFull([bool $forceReload = false ]) : array<string|int, mixed>
Parameters
$forceReload : bool = false
Return values
array<string|int, mixed>

getCategory()

public static getCategory(mixed $code[, mixed $page = false ][, mixed $pageSize = false ]) : mixed
Parameters
$code : mixed
$page : mixed = false
$pageSize : mixed = false

getImmuneApp()

public static getImmuneApp() : mixed

getInstall()

public static getInstall(mixed $code[, mixed $version = false ][, mixed $checkHash = false ][, mixed $installHash = false ]) : mixed
Parameters
$code : mixed
$version : mixed = false
$checkHash : mixed = false
$installHash : mixed = false

getLastByTag()

public static getLastByTag(mixed $tag[, mixed $page = false ][, mixed $pageSize = false ]) : mixed
Parameters
$tag : mixed
$page : mixed = false
$pageSize : mixed = false

getNumUpdates()

public static getNumUpdates() : mixed

getSite()

Returns site by id.

public static getSite(mixed $id) : array<string|int, mixed>|false|mixed
Parameters
$id : mixed
Return values
array<string|int, mixed>|false|mixed

getSiteList()

Returns list of sites.

public static getSiteList([array<string|int, mixed> $query = [] ]) : array<string|int, mixed>|false|mixed
Parameters
$query : array<string|int, mixed> = []
Return values
array<string|int, mixed>|false|mixed

getSubscriptionFinalDate()

public static getSubscriptionFinalDate() : Date|null
Return values
Date|null

getTagByPlacement()

public static getTagByPlacement(mixed $placement) : mixed
Parameters
$placement : mixed

getTop()

public static getTop(mixed $action[, mixed $fields = array() ]) : mixed
Parameters
$action : mixed
$fields : mixed = array()

getUpdates()

public static getUpdates(mixed $codeList) : mixed
Parameters
$codeList : mixed

isPayApplicationAvailable()

Returns available pay application

public static isPayApplicationAvailable() : bool
Return values
bool

isStartDemoSubscription()

public static isStartDemoSubscription() : bool
Return values
bool

isSubscriptionAccess()

public static isSubscriptionAccess() : mixed

isSubscriptionAvailable()

public static isSubscriptionAvailable() : bool
Return values
bool

isSubscriptionDemo()

Checks subscriptions demo status

public static isSubscriptionDemo() : bool
Return values
bool

isSubscriptionDemoAvailable()

public static isSubscriptionDemoAvailable() : mixed

onChangeSubscriptionDate()

public static onChangeSubscriptionDate(Event $event) : void
Parameters
$event : Event

searchApp()

public static searchApp(mixed $q[, mixed $page = false ]) : mixed
Parameters
$q : mixed
$page : mixed = false

setAvailableUpdate()

public static setAvailableUpdate([mixed $updateList = array() ]) : mixed
Parameters
$updateList : mixed = array()

        
On this page

Search results