Bitrix API

ViolationRulesServiceResult extends BaseServiceResult

Table of Contents

Methods

addScheduleNotFoundError()  : mixed
addViolationRulesNotFoundError()  : mixed
createByResult()  : static
createWithErrorText()  : static
getFirstError()  : Error|null
getViolationRules()  : ViolationRules
isSuccessResult()  : mixed
setViolationRules()  : mixed

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