Bitrix API

WorktimeAgentManager

Table of Contents

Methods

__construct()  : mixed
addAutoClosingAgents()  : mixed
createAutoClosingAgent()  : mixed
createAutoClosingAgentForRecords()  : mixed
createMissedShiftChecking()  : mixed
Creates agent that will be executed at the end of shift (by user time) if schedule controls missed shifts - then agent sends notification on missed shift otherwise agent just deletes itself
createTimeLackForPeriodChecking()  : mixed
deleteAgentById()  : mixed
deleteAgentsByIds()  : mixed
deleteAutoClosingAgents()  : mixed

Methods

addAutoClosingAgents()

public addAutoClosingAgents(Schedule $schedule[, mixed $shiftCollection = null ]) : mixed
Parameters
$schedule : Schedule
$shiftCollection : mixed = null

createMissedShiftChecking()

Creates agent that will be executed at the end of shift (by user time) if schedule controls missed shifts - then agent sends notification on missed shift otherwise agent just deletes itself

public createMissedShiftChecking(ShiftPlan $shiftPlan, Shift $shift) : mixed
Parameters
$shiftPlan : ShiftPlan
$shift : Shift

deleteAgentById()

public deleteAgentById(mixed $agentId) : mixed
Parameters
$agentId : mixed

deleteAgentsByIds()

public deleteAgentsByIds(mixed $ids) : mixed
Parameters
$ids : mixed

deleteAutoClosingAgents()

public deleteAutoClosingAgents(Schedule $schedule[, mixed $shiftCollection = null ]) : mixed
Parameters
$schedule : Schedule
$shiftCollection : mixed = null

        
On this page

Search results