Bitrix API

Crm

FinalYes

All-in-one facade to crm module.

Used to avoid direct calls to different module API. Please, keep it simple and provide only bare minimum that is required for intranet functioning. Too extensive API would be hard to maintain.

Table of Contents

Methods

checkReadPermissions()  : bool
getInstance()  : self
getItemListUrlInCurrentView()  : Uri|null
isOldInvoicesEnabled()  : bool
isSmartInvoicesEnabled()  : bool
redirectToFirstAvailableEntity()  : never

Methods

checkReadPermissions()

public checkReadPermissions(int $entityTypeId[, int $id = 0 ][, int|null $categoryId = null ][, int|null $userId = null ]) : bool
Parameters
$entityTypeId : int
$id : int = 0
$categoryId : int|null = null
$userId : int|null = null
Return values
bool

getInstance()

public static getInstance() : self
Return values
self

getItemListUrlInCurrentView()

public getItemListUrlInCurrentView(int $entityTypeId[, int|null $categoryId = null ]) : Uri|null
Parameters
$entityTypeId : int
$categoryId : int|null = null
Return values
Uri|null

isOldInvoicesEnabled()

public isOldInvoicesEnabled() : bool
Return values
bool

isSmartInvoicesEnabled()

public isSmartInvoicesEnabled() : bool
Return values
bool

redirectToFirstAvailableEntity()

public redirectToFirstAvailableEntity() : never
Return values
never

        
On this page

Search results