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
boolcanUse()
Return true if can use.
public
static canUse() : bool
Return values
boolgetTypeIdByRecipientType()
Get crm entity type ID by recipient type.
public
static getTypeIdByRecipientType(string $recipientType) : bool
Parameters
- $recipientType : string
-
Recipient type.
Return values
boolgetTypeIdByRecipientTypeId()
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|nullisAvailable()
Service can be used, but is not available because of plan.
public
static isAvailable() : bool
Return values
boolisLeadEnabled()
Return true if lead enabled.
public
static isLeadEnabled() : bool