LimeSurvey API - Master branch

ValidationErrors
in package

This class is responsible for handling and returning transformer validation errors of an operation for the response of PatcherSurvey

Table of Contents

Properties

$validationErrorItems  : array<string|int, mixed>

Methods

addValidationErrorItem()  : void
Adds an validationErrorItem containing the error message(s) from the failed transformation and the depending operation data.
getValidationErrorsObject()  : array<string|int, mixed>
Returns the whole response array including all validation errors.

Properties

$validationErrorItems

private array<string|int, mixed> $validationErrorItems = []

Methods

addValidationErrorItem()

Adds an validationErrorItem containing the error message(s) from the failed transformation and the depending operation data.

public addValidationErrorItem(ValidationErrorItem $operationItem) : void
Parameters
$operationItem : ValidationErrorItem

getValidationErrorsObject()

Returns the whole response array including all validation errors.

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

        
On this page

Search results