Documentation

Result

Result class for executed query result.

Class Description Available from version
setData Sets result data.
isSuccess Returns result status.
getErrors Returns array of objects \Main\Error.
getErrorMessages Returns array of strings with error messages.
getErrorCollection Returns collections of errors.
getData Returns array of data recorded into result.
addErrors Adds array of error objects.
addError Adds an error.


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix24», 2001-2022