OpenLines extends Base
Table of Contents
Methods
- __construct() : mixed
- Constructor.
- getFeatureMap() : array<string|int, mixed>
- Returns map of the features, implemented by this provider.
- getFeatures() : array<string|int, mixed>|false
- Returns open lines features vector for crm entity.
Methods
__construct()
Constructor.
public
__construct([DateTime|null $currentDate = null ]) : mixed
Parameters
- $currentDate : DateTime|null = null
-
Date to use instead of "current".
Tags
getFeatureMap()
Returns map of the features, implemented by this provider.
public
getFeatureMap() : array<string|int, mixed>
Return values
array<string|int, mixed>getFeatures()
Returns open lines features vector for crm entity.
public
getFeatures(mixed $entityTypeId, mixed $entityId) : array<string|int, mixed>|false
OL_SESSIONS_TOTAL OL_SESSIONS_LAST_WEEK OL_SESSIONS_LAST_MONTH OL_SESSIONS_OLDER_MONTH OL_SOURCE OL_CLIENT_ANSWER_TIME OL_OPERATOR_ANSWER_TIME OL_MESSAGE_COUNT OL_OPERATOR_MESSAGE_TEXT OL_CLIENT_MESSAGE_TEXT
Parameters
- $entityTypeId : mixed
- $entityId : mixed