PHP Class Ip\Form\Validator\MinLength

Inheritance: extends Ip\Form\Validator
Afficher le fichier Open project: impresspages/impresspages

Protected Properties

Свойство Type Description
$minLength

Méthodes publiques

Méthode Description
__construct ( $data = [], $errorMessage = null )
getError ( array $values, integer $valueKey, $environment ) : string | boolean Get error
validatorAttributes ( ) : string Validator attributes

Method Details

__construct() public méthode

public __construct ( $data = [], $errorMessage = null )

getError() public méthode

Get error
public getError ( array $values, integer $valueKey, $environment ) : string | boolean
$values array all submitted data
$valueKey integer key of value to be validated
$environment
Résultat string | boolean

validatorAttributes() public méthode

Validator attributes
public validatorAttributes ( ) : string
Résultat string

Property Details

$minLength protected_oe property

protected $minLength