Agent
Class Agent
Table of Contents
Constants
- TYPE_AGENT_B24 = 'b24'
- TYPE_AGENT_CRON = 'cron'
- TYPE_AGENT_CRON_OL = 'cronol'
- TYPE_AGENT_HIT = 'hit'
Methods
- closeByTime() : string
- Session closing agent by time.
- correctionStatusClosedSessionsAgent() : string
- Agent sets correct status for closed sessions
- deleteBrokenSession() : string
- Agent clears broken session data.
- dismissedOperator() : string
- The agent returns to the queue of the session that were left on fired employees.
- getTimeOutTransferToNextInQueue() : int
- Returns the timeout time for agents, depending on the context.
- getTypeRunAgent() : string
- Returns the type of the agent run.
- mailByTime() : string
- The agent is sending mail messages at the time.
- replacementUserAgent() : string
- sendAutomaticMessage() : string
- sendMessageNoAnswer() : string
- Send notification about unavailability of the operator.
- transferToNextInQueue() : string
- The agent of change in charge at the chat.
Constants
TYPE_AGENT_B24
public
mixed
TYPE_AGENT_B24
= 'b24'
TYPE_AGENT_CRON
public
mixed
TYPE_AGENT_CRON
= 'cron'
TYPE_AGENT_CRON_OL
public
mixed
TYPE_AGENT_CRON_OL
= 'cronol'
TYPE_AGENT_HIT
public
mixed
TYPE_AGENT_HIT
= 'hit'
Methods
closeByTime()
Session closing agent by time.
public
static closeByTime([mixed $nextExec = 0 ]) : string
Parameters
- $nextExec : mixed = 0
Return values
stringcorrectionStatusClosedSessionsAgent()
Agent sets correct status for closed sessions
public
static correctionStatusClosedSessionsAgent() : string
Return values
stringdeleteBrokenSession()
Agent clears broken session data.
public
static deleteBrokenSession() : string
Return values
stringdismissedOperator()
The agent returns to the queue of the session that were left on fired employees.
public
static dismissedOperator([mixed $nextExec = 0 ]) : string
Parameters
- $nextExec : mixed = 0
Return values
stringgetTimeOutTransferToNextInQueue()
Returns the timeout time for agents, depending on the context.
public
static getTimeOutTransferToNextInQueue() : int
Return values
intgetTypeRunAgent()
Returns the type of the agent run.
public
static getTypeRunAgent() : string
Return values
stringmailByTime()
The agent is sending mail messages at the time.
public
static mailByTime([mixed $nextExec = 0 ]) : string
Parameters
- $nextExec : mixed = 0
Return values
stringreplacementUserAgent()
public
static replacementUserAgent(int $replaceId, int $searchId) : string
Parameters
- $replaceId : int
- $searchId : int
Return values
stringsendAutomaticMessage()
public
static sendAutomaticMessage() : string
Return values
stringsendMessageNoAnswer()
Send notification about unavailability of the operator.
public
static sendMessageNoAnswer() : string
Return values
stringtransferToNextInQueue()
The agent of change in charge at the chat.
public
static transferToNextInQueue([mixed $nextExec = 0 ][, int $offset = 0 ]) : string
Parameters
- $nextExec : mixed = 0
- $offset : int = 0