Bitrix API

Service

Class Service

Table of Contents

Methods

canCurrentUserUse()  : bool
Return true if current user can use.
canUse()  : bool
Return true if can use.
getTypeIdByRecipientType()  : bool
Get crm entity type ID by recipient type.
getTypeIdByRecipientTypeId()  : int|null
Get crm entity type ID by recipient type ID.
isAvailable()  : bool
Service can be used, but is not available because of plan.
isLeadEnabled()  : bool
Return true if lead enabled.

Methods

canCurrentUserUse()

Return true if current user can use.

public static canCurrentUserUse() : bool
Return values
bool

canUse()

Return true if can use.

public static canUse() : bool
Return values
bool

getTypeIdByRecipientType()

Get crm entity type ID by recipient type.

public static getTypeIdByRecipientType(string $recipientType) : bool
Parameters
$recipientType : string

Recipient type.

Return values
bool

getTypeIdByRecipientTypeId()

Get crm entity type ID by recipient type ID.

public static getTypeIdByRecipientTypeId(int $recipientTypeId) : int|null
Parameters
$recipientTypeId : int

Recipient type ID.

Return values
int|null

isAvailable()

Service can be used, but is not available because of plan.

public static isAvailable() : bool
Return values
bool

isLeadEnabled()

Return true if lead enabled.

public static isLeadEnabled() : bool
Return values
bool

        
On this page

Search results