Bitrix API

ShiftServiceResult extends BaseServiceResult

Table of Contents

Methods

addScheduleNotFoundError()  : mixed
addShiftNotFoundError()  : mixed
createByResult()  : static
createWithErrorText()  : static
getFirstError()  : Error|null
getSchedule()  : mixed
getShift()  : Shift
isSuccessResult()  : mixed
setSchedule()  : mixed
setShift()  : $this

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