EntityCounterFactory
Table of Contents
Constants
-
NO_ORDERS_COUNTER
= 'crm_all_no_orders'
-
TOTAL_COUNTER
= 'crm_all'
Methods
-
create()
: mixed
-
createCallTrackerCounter()
: EntityCounter
-
createNamed()
: mixed
-
isEntityTypeSupported()
: mixed
NO_ORDERS_COUNTER
public
mixed
NO_ORDERS_COUNTER
= 'crm_all_no_orders'
TOTAL_COUNTER
public
mixed
TOTAL_COUNTER
= 'crm_all'
create()
public
static create(mixed $entityTypeID, mixed $typeID[, mixed $userID = 0 ][, array<string|int, mixed> $extras = null ]) : mixed
Parameters
-
$entityTypeID
: mixed
-
-
$typeID
: mixed
-
-
$userID
: mixed
= 0
-
-
$extras
: array<string|int, mixed>
= null
-
createCallTrackerCounter()
public
static createCallTrackerCounter([int $userId = 0 ]) : EntityCounter
Parameters
-
$userId
: int
= 0
-
createNamed()
public
static createNamed(mixed $code[, mixed $userID = 0 ]) : mixed
Parameters
-
$code
: mixed
-
-
$userID
: mixed
= 0
-
isEntityTypeSupported()
public
static isEntityTypeSupported(mixed $entityTypeID) : mixed
Parameters
-
$entityTypeID
: mixed
-