Bitrix API

UpdateResult extends Result

Table of Contents

Methods

__destruct()  : mixed
getAffectedRowsCount()  : int
getErrorMessages()  : array<string|int, mixed>
Returns array of strings with error messages
getErrors()  : array<string|int, EntityError>|array<string|int, FieldError>
Returns an array of Error objects
getId()  : array<string|int, mixed>|int|string
Returns id of updated record
getObject()  : EntityObject
getPrimary()  : array<string|int, mixed>
isSuccess()  : bool
Returns result status Within the core and events should be called with internalCall flag
setAffectedRowsCount()  : mixed
setObject()  : mixed
setPrimary()  : mixed

Methods

__destruct()

public __destruct() : mixed

getAffectedRowsCount()

public getAffectedRowsCount() : int
Return values
int

getErrorMessages()

Returns array of strings with error messages

public getErrorMessages() : array<string|int, mixed>
Return values
array<string|int, mixed>

getId()

Returns id of updated record

public getId() : array<string|int, mixed>|int|string
Return values
array<string|int, mixed>|int|string

getPrimary()

public getPrimary() : array<string|int, mixed>
Return values
array<string|int, mixed>

isSuccess()

Returns result status Within the core and events should be called with internalCall flag

public isSuccess([bool $internalCall = false ]) : bool
Parameters
$internalCall : bool = false
Return values
bool

setPrimary()

public setPrimary(mixed $primary) : mixed
Parameters
$primary : mixed

        
On this page

Search results