FactoryConfig
Table of Contents
Methods
- __construct() : mixed
- create() : self
- getEntityTypeId() : int|null
- isCompatibleWay() : bool
- isUncompletedActivityWay() : bool
- mustUseUncompleted() : bool
- Returns true if it is necessary to use the "b_crm_entity_uncompleted_act" table when building a query
- onlyMinIncomingChannel() : bool
- readyActCounterLight() : bool
- Returns true if table "b_crm_act_counter_light" is already filled with data and ready to use.
- readyCountable() : bool
- Returns true if table "b_crm_entity_countable_act" is already filled with data and ready to use.
- readyUncompleted() : bool
- Returns true if table "b_crm_entity_uncompleted_act" is already filled with data and ready to use.
- setEntityTypeId() : self
Methods
__construct()
public
__construct(bool $readyUncompletedActivity, bool $readyCountableActivity, bool $readyActCounterLight, bool $mustUseUncompletedActivity, bool|null $onlyMinIncomingChannel) : mixed
Parameters
- $readyUncompletedActivity : bool
- $readyCountableActivity : bool
- $readyActCounterLight : bool
- $mustUseUncompletedActivity : bool
- $onlyMinIncomingChannel : bool|null
create()
public
static create(bool $mustUseUncompletedTable[, bool $onlyMinIncomingChannel = false ]) : self
Parameters
- $mustUseUncompletedTable : bool
- $onlyMinIncomingChannel : bool = false
Return values
selfgetEntityTypeId()
public
getEntityTypeId() : int|null
Return values
int|nullisCompatibleWay()
public
isCompatibleWay() : bool
Return values
boolisUncompletedActivityWay()
public
isUncompletedActivityWay() : bool
Return values
boolmustUseUncompleted()
Returns true if it is necessary to use the "b_crm_entity_uncompleted_act" table when building a query
public
mustUseUncompleted() : bool
Return values
boolonlyMinIncomingChannel()
public
onlyMinIncomingChannel() : bool
Return values
boolreadyActCounterLight()
Returns true if table "b_crm_act_counter_light" is already filled with data and ready to use.
public
readyActCounterLight() : bool
On large portals, this can take a significant amount of time, so scripts are played when it was necessary to work with compatibility mode.
Return values
boolreadyCountable()
Returns true if table "b_crm_entity_countable_act" is already filled with data and ready to use.
public
readyCountable() : bool
On large portals, this can take a significant amount of time, so scripts are played when it was necessary to work with compatibility mode.
Return values
boolreadyUncompleted()
Returns true if table "b_crm_entity_uncompleted_act" is already filled with data and ready to use.
public
readyUncompleted() : bool
On large portals, this can take a significant amount of time, so scripts are played when it was necessary to work with compatibility mode.
Return values
boolsetEntityTypeId()
public
setEntityTypeId(int $entityTypeId) : self
Parameters
- $entityTypeId : int