Methods
allowEmpty()
allowEmpty() : boolean
deprecated |
2.4.8 Add Zend\Validator\NotEmpty validator to the ValidatorChain. |
Returns
boolean
breakOnFailure()
breakOnFailure() : boolean
getErrorMessage()
getErrorMessage() : string | null
getFilterChain()
getFilterChain() : \Zend\Filter\FilterChain
Returns
\Zend\Filter\FilterChain
getMessages()
getMessages() : array<mixed,string>
Returns
array<mixed,string>
getName()
getName() : string
getRawValue()
getRawValue() : mixed
getValidatorChain()
getValidatorChain() : \Zend\Validator\ValidatorChain
Returns
\Zend\Validator\ValidatorChain
getValue()
getValue() : mixed
isRequired()
isRequired() : boolean
isValid()
isValid() : 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
string
null
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