Zend\InputFilter\Input
Synopsis
class Input
implements
InputInterface,EmptyContextInterface
{
- // members
- protected bool $allowEmpty;
- protected bool $continueIfEmpty;
- protected bool $breakOnFailure;
- protected string|null $errorMessage;
- protected FilterChain $filterChain;
- protected string $name;
- protected bool $notEmptyValidator;
- protected bool $required;
- protected ValidatorChain $validatorChain;
- protected mixed $value;
- protected mixed $fallbackValue;
- protected bool $hasFallback;
- // methods
- public void __construct()
- public Input setAllowEmpty()
- public Input setBreakOnFailure()
- public Input setContinueIfEmpty()
- public Input setErrorMessage()
- public Input setFilterChain()
- public Input setName()
- public Input setRequired()
- public Input setValidatorChain()
- public Input setValue()
- public Input setFallbackValue()
- public bool allowEmpty()
- public bool breakOnFailure()
- public bool continueIfEmpty()
- public string|null getErrorMessage()
- public FilterChain getFilterChain()
- public string getName()
- public mixed getRawValue()
- public bool isRequired()
- public ValidatorChain getValidatorChain()
- public mixed getValue()
- public mixed getFallbackValue()
- public bool hasFallback()
- public void clearFallbackValue()
- public Input merge()
- public bool isValid()
- public array getMessages()
- protected void injectNotEmptyValidator()
Hierarchy
Extended by
Implements
Members
protected
- $allowEmpty — Zend\InputFilter\bool
- $breakOnFailure — Zend\InputFilter\bool
- $continueIfEmpty — Zend\InputFilter\bool
- $errorMessage — Zend\InputFilter\string|null
- $fallbackValue — mixed
- $filterChain — Zend\Filter\FilterChain
- $hasFallback — Zend\InputFilter\bool
- $name — string
- $notEmptyValidator — Zend\InputFilter\bool
- $required — Zend\InputFilter\bool
- $validatorChain — Zend\Validator\ValidatorChain
- $value — mixed
Methods
protected
public
- __construct()
- allowEmpty()
- breakOnFailure()
- clearFallbackValue()
- continueIfEmpty()
- getErrorMessage()
- getFallbackValue()
- getFilterChain()
- getMessages()
- getName()
- getRawValue()
- getValidatorChain()
- getValue()
- hasFallback()
- isRequired()
- isValid()
- merge()
- setAllowEmpty()
- setBreakOnFailure()
- setContinueIfEmpty()
- setErrorMessage()
- setFallbackValue()
- setFilterChain()
- setName()
- setRequired()
- setValidatorChain()
- setValue()