Bitrix API

LeadAdapter extends Adapter

Table of Contents

Methods

adapt()  : array<string|int, ResultItem>
Convert \Bitrix\Crm\Search\Result to array of \Bitrix\Main\Search\ResultItem
addCategoryLabel()  : self
setCategory()  : Adapter

Methods

adapt()

Convert \Bitrix\Crm\Search\Result to array of \Bitrix\Main\Search\ResultItem

public adapt(Result $result) : array<string|int, ResultItem>
Parameters
$result : Result
Return values
array<string|int, ResultItem>

addCategoryLabel()

public addCategoryLabel(int $categoryId, string $label) : self
Parameters
$categoryId : int
$label : string
Return values
self

        
On this page

Search results