package Default

 Methods

allowEmpty()

allowEmpty() : boolean
deprecated 2.4.8 Add Zend\Validator\NotEmpty validator to the ValidatorChain.

Returns

boolean

breakOnFailure()

breakOnFailure() : boolean

Returns

boolean

getErrorMessage()

getErrorMessage() : string | null

Returns

stringnull

getFilterChain()

getFilterChain() : \Zend\Filter\FilterChain

Returns

\Zend\Filter\FilterChain

getMessages()

getMessages() : array<mixed,string>

Returns

array<mixed,string>

getName()

getName() : string

Returns

string

getRawValue()

getRawValue() : mixed

Returns

mixed

getValidatorChain()

getValidatorChain() : \Zend\Validator\ValidatorChain

Returns

\Zend\Validator\ValidatorChain

getValue()

getValue() : mixed

Returns

mixed

isRequired()

isRequired() : boolean

Returns

boolean

isValid()

isValid() : boolean

Returns

boolean

merge()

merge(\Zend\InputFilter\InputInterface $input) : \Zend\InputFilter\InputInterface
fluent This method is part of a fluent interface and will return the same instance

Parameters

$input

\Zend\InputFilter\InputInterface

Returns

\Zend\InputFilter\InputInterface

setAllowEmpty()

setAllowEmpty(boolean $allowEmpty) : \Zend\InputFilter\InputInterface
deprecated 2.4.8 Add Zend\Validator\NotEmpty validator to the ValidatorChain and set this to `true`.
fluent This method is part of a fluent interface and will return the same instance

Parameters

$allowEmpty

boolean

Returns

\Zend\InputFilter\InputInterface

setBreakOnFailure()

setBreakOnFailure(boolean $breakOnFailure) : \Zend\InputFilter\InputInterface
fluent This method is part of a fluent interface and will return the same instance

Parameters

$breakOnFailure

boolean

Returns

\Zend\InputFilter\InputInterface

setErrorMessage()

setErrorMessage(string|null $errorMessage) : \Zend\InputFilter\InputInterface
fluent This method is part of a fluent interface and will return the same instance

Parameters

$errorMessage

stringnull

Returns

\Zend\InputFilter\InputInterface

setFilterChain()

setFilterChain(\Zend\Filter\FilterChain $filterChain) : \Zend\InputFilter\InputInterface
fluent This method is part of a fluent interface and will return the same instance

Parameters

$filterChain

\Zend\Filter\FilterChain

Returns

\Zend\InputFilter\InputInterface

setName()

setName(string $name) : \Zend\InputFilter\InputInterface
fluent This method is part of a fluent interface and will return the same instance

Parameters

$name

string

Returns

\Zend\InputFilter\InputInterface

setRequired()

setRequired(boolean $required) : \Zend\InputFilter\InputInterface
fluent This method is part of a fluent interface and will return the same instance

Parameters

$required

boolean

Returns

\Zend\InputFilter\InputInterface

setValidatorChain()

setValidatorChain(\Zend\Validator\ValidatorChain $validatorChain) : \Zend\InputFilter\InputInterface
fluent This method is part of a fluent interface and will return the same instance

Parameters

$validatorChain

\Zend\Validator\ValidatorChain

Returns

\Zend\InputFilter\InputInterface

setValue()

setValue(mixed $value) : \Zend\InputFilter\InputInterface
fluent This method is part of a fluent interface and will return the same instance

Parameters

$value

mixed

Returns

\Zend\InputFilter\InputInterface