Result class handles results.

Method Description Available from version
getID Returns created entry ID.
addWarning Adds a single critical error warning.
addWarnings Adds several non-critical errors
getWarnings Allows getting all non-critical errors.
getWarningMessages Allows getting messages for all non-critical errors
hasWarnings Checks for available non-critical errors
addError Adds a critical error
addErrors Adds several critical errors
getErrors/td> Gets all critical errors
getErrorMessages Gets messages for all critical errors
getErrorCollection Gets collection of all critical errors
isSuccess Sets flag as success for completed process
addNotices Adds a note
setId Sets an identifier
getId Gets an identifier
addData Adds information about a result
setData Allows set data related to a result
getData Allows getting data about a result

© «Bitrix24», 2001-2022