Bitrix API

WorkTime

Class WorkTime

Table of Contents

Methods

__construct()  : mixed
Queue constructor.
automaticAddMessage()  : bool
Automatic processing on incoming message.
automaticSendMessage()  : bool
Automatic processing of outgoing message.
checkOperatorWorkTime()  : bool
Checking that the operator is working.
getNextWorkDayStart()  : DateTime
isWorkTimeLine()  : bool
Is the current time the working time of the open line?
sendMessage()  : bool|int
Send a welcome message.

Methods

__construct()

Queue constructor.

public __construct(Session $session) : mixed
Parameters
$session : Session

automaticAddMessage()

Automatic processing on incoming message.

public automaticAddMessage([bool $finish = false ][, bool $vote = false ]) : bool
Parameters
$finish : bool = false
$vote : bool = false
Return values
bool

automaticSendMessage()

Automatic processing of outgoing message.

public automaticSendMessage() : bool
Return values
bool

checkOperatorWorkTime()

Checking that the operator is working.

public checkOperatorWorkTime([bool $finish = false ][, bool $vote = false ]) : bool
Parameters
$finish : bool = false
$vote : bool = false
Return values
bool

isWorkTimeLine()

Is the current time the working time of the open line?

public isWorkTimeLine() : bool
Return values
bool

sendMessage()

Send a welcome message.

public sendMessage([bool $finish = false ][, bool $vote = false ]) : bool|int
Parameters
$finish : bool = false
$vote : bool = false
Return values
bool|int

        
On this page

Search results