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

Inheritance: extends BadRequestException
Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Свойство Type Description
$errors eZ\Publish\Core\FieldType\ValidationError[] Contains an array of field ValidationError objects indexed with FieldDefinition id and language code.

Méthodes publiques

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

Method Details

__construct() public méthode

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

getFieldErrors() public méthode

Returns an array of field validation error messages.
public getFieldErrors ( ) : ValidationError[]
Résultat 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
Résultat eZ\Publish\Core\FieldType\ValidationError[]