Bitrix API

ShiftPlanServiceResult extends BaseServiceResult

Table of Contents

Constants

ERROR_CODE_OVERLAPPING_SHIFT_PLAN  = 'OVERLAPPING_SHIFT_PLAN'

Methods

addScheduleNotFoundError()  : mixed
addShiftNotFoundError()  : mixed
addShiftPlanNotFoundError()  : mixed
createByResult()  : static
createWithErrorText()  : static
getFirstError()  : Error|null
getSchedule()  : mixed
getShift()  : Shift
getShiftPlan()  : ShiftPlan
getShiftWithDate()  : ShiftWithDate
isSuccessResult()  : mixed
setSchedule()  : mixed
setShift()  : $this
setShiftPlan()  : $this
setShiftWithDate()  : mixed

Constants

ERROR_CODE_OVERLAPPING_SHIFT_PLAN

public mixed ERROR_CODE_OVERLAPPING_SHIFT_PLAN = 'OVERLAPPING_SHIFT_PLAN'

Methods

createByResult()

public static createByResult(Result $result) : static
Parameters
$result : Result
Return values
static

createWithErrorText()

public static createWithErrorText(mixed $text[, mixed $code = 0 ]) : static
Parameters
$text : mixed
$code : mixed = 0
Return values
static

getFirstError()

public getFirstError() : Error|null
Return values
Error|null

isSuccessResult()

public static isSuccessResult(Result $result) : mixed
Parameters
$result : Result

        
On this page

Search results