Methods

__construct()

__construct($name) 

Parameters

$name

allowEmpty()

allowEmpty() : bool

Returns

bool

breakOnFailure()

breakOnFailure() : bool

Returns

bool

clearFallbackValue()

clearFallbackValue() 

continueIfEmpty()

continueIfEmpty() : bool

Returns

bool

getErrorMessage()

getErrorMessage() : string | null

Returns

stringnull

getFallbackValue()

getFallbackValue() : mixed

Returns

mixed

getFilterChain()

getFilterChain() : \Zend\Filter\FilterChain

getMessages()

getMessages() : array

Returns

array

getName()

getName() : string

Returns

string

getRawValue()

getRawValue() : mixed

Returns

mixed

getValidatorChain()

getValidatorChain() : \Zend\Validator\ValidatorChain

getValue()

getValue() : mixed

Returns

mixed

hasFallback()

hasFallback() : bool

Returns

bool

isRequired()

isRequired() : bool

Returns

bool

isValid()

isValid(mixed $context) : bool

Parameters

$context

mixed

Extra "context" to provide the validator

Returns

bool

merge()

merge(\Zend\InputFilter\InputInterface $input) : \Zend\InputFilter\Input

setAllowEmpty()

setAllowEmpty(bool $allowEmpty) : \Zend\InputFilter\Input

Parameters

$allowEmpty

bool

Returns

setBreakOnFailure()

setBreakOnFailure(bool $breakOnFailure) : \Zend\InputFilter\Input

Parameters

$breakOnFailure

bool

Returns

setContinueIfEmpty()

setContinueIfEmpty(bool $continueIfEmpty) : \Zend\InputFilter\Input

Parameters

$continueIfEmpty

bool

Returns

setErrorMessage()

setErrorMessage(string | null $errorMessage) : \Zend\InputFilter\Input

Parameters

$errorMessage

stringnull

Returns

setFallbackValue()

setFallbackValue(mixed $value) : \Zend\InputFilter\Input

Parameters

$value

mixed

Returns

setFilterChain()

setFilterChain(\Zend\Filter\FilterChain $filterChain) : \Zend\InputFilter\Input

Parameters

Returns

setName()

setName(string $name) : \Zend\InputFilter\Input

Parameters

$name

string

Returns

setRequired()

setRequired(bool $required) : \Zend\InputFilter\Input

Parameters

$required

bool

Returns

setValidatorChain()

setValidatorChain(\Zend\Validator\ValidatorChain $validatorChain) : \Zend\InputFilter\Input

Parameters

Returns

setValue()

setValue(mixed $value) : \Zend\InputFilter\Input

Parameters

$value

mixed

Returns

injectNotEmptyValidator()

injectNotEmptyValidator() : void

 Properties

 

$allowEmpty

$allowEmpty : bool

 

$breakOnFailure

$breakOnFailure : bool

 

$continueIfEmpty

$continueIfEmpty : bool

 

$errorMessage

$errorMessage : string | null

 

$fallbackValue

$fallbackValue : mixed

 

$filterChain

$filterChain : \Zend\Filter\FilterChain

 

$hasFallback

$hasFallback : bool

 

$name

$name : string

 

$notEmptyValidator

$notEmptyValidator : bool

 

$required

$required : bool

 

$validatorChain

$validatorChain : \Zend\Validator\ValidatorChain

 

$value

$value : mixed