Badge
AbstractYes
Table of Contents
Constants
- AI_CALL_FIELDS_FILLING_RESULT = 'ai_call_fields_filling_result'
- AI_CALL_SCORING_STATUS = 'ai_call_scoring_status'
- BIZPROC_WORKFLOW_STATUS_TYPE = 'workflow_status'
- CALENDAR_SHARING_STATUS_TYPE = 'calendar_sharing_status'
- CALL_STATUS_TYPE = 'call_status'
- COPILOT_CALL_ASSESSMENT_STATUS_TYPE = 'copilot_call_assessment_status'
- MAIL_MESSAGE_DELIVERY_STATUS_TYPE = 'mail_message_delivery_status'
- OPENLINE_STATUS_TYPE = 'open_line_status'
- PAYMENT_STATUS_TYPE = 'payment_status'
- REST_APP_TYPE = 'rest_app_status'
- SMS_STATUS_TYPE = 'sms_status'
- TASK_STATUS_TYPE = 'task_status'
- TODO_STATUS_TYPE = 'todo_status'
- WORKFLOW_COMMENT_STATUS_TYPE = 'workflow_comment_status'
Methods
- __construct() : mixed
- bind() : Result
- createByType() : Badge
- deleteByEntity() : void
- deleteBySource() : void
- getConfigFromMap() : array<string|int, mixed>
- getFieldName() : string
- getType() : string
- getValue() : string
- getValuesMap() : array<string|int, ValueItem>
- isBound() : bool
- rebindEntity() : void
- Rebind all badges from one entity to another
- rebindSource() : void
- unbind() : void
- unbindWithAnyValue() : void
- upsert() : void
Constants
AI_CALL_FIELDS_FILLING_RESULT
public
mixed
AI_CALL_FIELDS_FILLING_RESULT
= 'ai_call_fields_filling_result'
AI_CALL_SCORING_STATUS
public
mixed
AI_CALL_SCORING_STATUS
= 'ai_call_scoring_status'
BIZPROC_WORKFLOW_STATUS_TYPE
public
mixed
BIZPROC_WORKFLOW_STATUS_TYPE
= 'workflow_status'
CALENDAR_SHARING_STATUS_TYPE
public
mixed
CALENDAR_SHARING_STATUS_TYPE
= 'calendar_sharing_status'
CALL_STATUS_TYPE
public
mixed
CALL_STATUS_TYPE
= 'call_status'
COPILOT_CALL_ASSESSMENT_STATUS_TYPE
public
mixed
COPILOT_CALL_ASSESSMENT_STATUS_TYPE
= 'copilot_call_assessment_status'
MAIL_MESSAGE_DELIVERY_STATUS_TYPE
public
mixed
MAIL_MESSAGE_DELIVERY_STATUS_TYPE
= 'mail_message_delivery_status'
OPENLINE_STATUS_TYPE
public
mixed
OPENLINE_STATUS_TYPE
= 'open_line_status'
PAYMENT_STATUS_TYPE
public
mixed
PAYMENT_STATUS_TYPE
= 'payment_status'
REST_APP_TYPE
public
mixed
REST_APP_TYPE
= 'rest_app_status'
SMS_STATUS_TYPE
public
mixed
SMS_STATUS_TYPE
= 'sms_status'
TASK_STATUS_TYPE
public
mixed
TASK_STATUS_TYPE
= 'task_status'
TODO_STATUS_TYPE
public
mixed
TODO_STATUS_TYPE
= 'todo_status'
WORKFLOW_COMMENT_STATUS_TYPE
public
mixed
WORKFLOW_COMMENT_STATUS_TYPE
= 'workflow_comment_status'
Methods
__construct()
public
__construct(string $value) : mixed
Parameters
- $value : string
bind()
public
bind(ItemIdentifier $itemIdentifier, SourceIdentifier $sourceItemIdentifier) : Result
Parameters
- $itemIdentifier : ItemIdentifier
- $sourceItemIdentifier : SourceIdentifier
Return values
ResultcreateByType()
public
static createByType(string $type, string $value) : Badge
Parameters
- $type : string
- $value : string
Return values
BadgedeleteByEntity()
public
static deleteByEntity(ItemIdentifier $itemIdentifier[, string $type = null ][, string $value = null ]) : void
Parameters
- $itemIdentifier : ItemIdentifier
- $type : string = null
- $value : string = null
deleteBySource()
public
static deleteBySource(SourceIdentifier $sourceItemIdentifier) : void
Parameters
- $sourceItemIdentifier : SourceIdentifier
getConfigFromMap()
public
getConfigFromMap() : array<string|int, mixed>
Return values
array<string|int, mixed>getFieldName()
public
abstract getFieldName() : string
Return values
stringgetType()
public
abstract getType() : string
Return values
stringgetValue()
public
getValue() : string
Return values
stringgetValuesMap()
public
abstract getValuesMap() : array<string|int, ValueItem>
Return values
array<string|int, ValueItem>isBound()
public
isBound(ItemIdentifier $itemIdentifier, SourceIdentifier $sourceItemIdentifier) : bool
Parameters
- $itemIdentifier : ItemIdentifier
- $sourceItemIdentifier : SourceIdentifier
Return values
boolrebindEntity()
Rebind all badges from one entity to another
public
static rebindEntity(ItemIdentifier $oldEntity, ItemIdentifier $newEntity) : void
Parameters
- $oldEntity : ItemIdentifier
- $newEntity : ItemIdentifier
rebindSource()
public
static rebindSource(SourceIdentifier $oldSource, SourceIdentifier $newSource) : void
Parameters
- $oldSource : SourceIdentifier
- $newSource : SourceIdentifier
unbind()
public
unbind(ItemIdentifier $itemIdentifier, SourceIdentifier $sourceItemIdentifier) : void
Parameters
- $itemIdentifier : ItemIdentifier
- $sourceItemIdentifier : SourceIdentifier
unbindWithAnyValue()
public
unbindWithAnyValue(ItemIdentifier $itemIdentifier, SourceIdentifier $sourceItemIdentifier) : void
Parameters
- $itemIdentifier : ItemIdentifier
- $sourceItemIdentifier : SourceIdentifier
upsert()
public
upsert(ItemIdentifier $itemIdentifier, SourceIdentifier $sourceItemIdentifier) : void
Parameters
- $itemIdentifier : ItemIdentifier
- $sourceItemIdentifier : SourceIdentifier