Bitrix API

ClientSummaryAdapter

FinalYes

Table of Contents

Methods

__construct()  : mixed
getItemListSliderEndpoint()  : Uri|null
getLatestCallSummaryJsParams()  : array<string|int, mixed>|null
Returns params for BX.Crm.AI.Call.Summary. You can use \CUtil::PhpToJSObject to inject these params to frontend
getLatestClosedItemUrl()  : Uri|null
getLatestItemUrl()  : Uri|null
getLatestWebFormSliderEndpoint()  : Uri|null
getLostItemListSliderEndpoint()  : Uri|null
getSuccessfulItemListSliderEndpoint()  : Uri|null
renderOpportunityWithCurrency()  : string|null
Render just opportunity with currency, like $1. If there is not enough data to render, will return null.
renderTotalOpportunity()  : string
Default method to show a total sum of summary in the UI.

Methods

getLatestCallSummaryJsParams()

Returns params for BX.Crm.AI.Call.Summary. You can use \CUtil::PhpToJSObject to inject these params to frontend

public getLatestCallSummaryJsParams() : array<string|int, mixed>|null
Tags
see
CUtil::PhpToJSObject()
Return values
array<string|int, mixed>|null
  • returns null if there was no activity found

renderOpportunityWithCurrency()

Render just opportunity with currency, like $1. If there is not enough data to render, will return null.

public renderOpportunityWithCurrency() : string|null
Return values
string|null

renderTotalOpportunity()

Default method to show a total sum of summary in the UI.

public renderTotalOpportunity() : string

If there is not enough data to render, it will fall back to an empty value placeholder.

Return values
string

        
On this page

Search results