add()
count()
get()
getInputs()
getInvalidInput()
getMessages()
getRawValue()
getRawValues()
getUnknown()
getValidInput()
getValue()
getValues()
has()
hasUnknown()
init()
isValid()
merge()
remove()
replace()
setData()
setValidationGroup()
populate()
validateInputs()
validateValidationGroup()
$data
$inputs
$invalidInputs
$validInputs
$validationGroup
VALIDATE_ALL
add(\Zend\InputFilter\InputInterface | \Zend\InputFilter\InputFilterInterface $input, null | string $name) : \Zend\InputFilter\InputFilterInterface
nullstring
Name used to retrieve this input
\Zend\InputFilter\Exception\InvalidArgumentException |
---|
count() : int
Only details the number of direct children.
int
get(string $name) : \Zend\InputFilter\InputInterface | \Zend\InputFilter\InputFilterInterface
getInputs() : array
array
getInvalidInput() : \Zend\InputFilter\InputInterface[]
Implementations should return an associative array of name/input pairs that failed validation.
getMessages() : array
Should return an associative array of named input/message list pairs. Pairs should only be returned for inputs that failed validation.
array
getRawValue(string $name) : mixed
string
\Zend\InputFilter\Exception\InvalidArgumentException |
---|
mixed
getRawValues() : array
List should be an associative array of named input/value pairs, with the values unfiltered.
array
getUnknown() : array
getValidInput() : \Zend\InputFilter\InputInterface[]
Implementations should return an associative array of name/input pairs that passed validation.
getValue(string $name) : mixed
string
\Zend\InputFilter\Exception\InvalidArgumentException |
---|
mixed
getValues() : array
List should be an associative array, with the values filtered. If validation failed, this should raise an exception.
array
has(string $name) : bool
string
bool
hasUnknown() : bool
init() : void
It allows to perform various operations (add elements...)
isValid(mixed | null $context) : bool
merge(\Zend\InputFilter\BaseInputFilter $inputFilter) : \Zend\InputFilter\self
replace(\Zend\InputFilter\InputInterface | \Zend\InputFilter\InputFilterInterface $input, string $name) : \Zend\InputFilter\self
string
Name of the input to replace
\Zend\InputFilter\Exception\InvalidArgumentException |
---|
\Zend\InputFilter\self
setData(array | \Traversable $data) : \Zend\InputFilter\InputFilterInterface
array\Traversable
\Zend\InputFilter\Exception\InvalidArgumentException |
---|
setValidationGroup(mixed $name) : \Zend\InputFilter\InputFilterInterface
When provided, calls to isValid() will only validate the provided set.
If the initial value is VALIDATE_ALL, the current validation group, if any, should be cleared.
Implementations should allow passing a single array value, or multiple arguments, each specifying a single input.
mixed
\Zend\InputFilter\Exception\InvalidArgumentException |
---|
populate() : void
validateInputs(array $inputs, array $data, mixed | null $context) : bool
array
array
mixednull
bool
validateValidationGroup(array $inputs) : void
$data : array
$invalidInputs : \Zend\InputFilter\InputInterface[] | \Zend\InputFilter\InputFilterInterface[]
$validInputs : \Zend\InputFilter\InputInterface[] | \Zend\InputFilter\InputFilterInterface[]
$validationGroup : array
VALIDATE_ALL
inherited_from | \Zend\InputFilter\InputFilterInterface::VALIDATE_ALL |
---|