PHP Class eZ\Publish\Core\REST\Server\Exceptions\ContentFieldValidationException

Inheritance: extends BadRequestException
Datei anzeigen Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$errors eZ\Publish\Core\FieldType\ValidationError[] Contains an array of field ValidationError objects indexed with FieldDefinition id and language code.

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException $e )
getFieldErrors ( ) : ValidationError[] Returns an array of field validation error messages.

Method Details

__construct() public method

public __construct ( eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException $e )
$e eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException

getFieldErrors() public method

Returns an array of field validation error messages.
public getFieldErrors ( ) : ValidationError[]
return eZ\Publish\Core\FieldType\ValidationError[]

Property Details

$errors protected_oe property

Contains an array of field ValidationError objects indexed with FieldDefinition id and language code.
See also: eZ\Publish\Core\Base\Exceptions\ContentFieldValidationException
protected ValidationError[],eZ\Publish\Core\FieldType $errors
return eZ\Publish\Core\FieldType\ValidationError[]