PHP Class Ip\Form\Validator\MinLength

Inheritance: extends Ip\Form\Validator
Datei anzeigen Open project: impresspages/impresspages

Protected Properties

Property Type Description
$minLength

Public Methods

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

Method Details

__construct() public method

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

getError() public method

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
return string | boolean

validatorAttributes() public method

Validator attributes
public validatorAttributes ( ) : string
return string

Property Details

$minLength protected_oe property

protected $minLength