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
nullstringName used to retrieve this input
\Zend\InputFilter\Exception\InvalidArgumentException |
|---|
count() : int
Only details the number of direct children.
intget(string $name) : \Zend\InputFilter\InputInterface | \Zend\InputFilter\InputFilterInterface
getInputs() : array
arraygetInvalidInput() : \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.
arraygetRawValue(string $name) : mixed
string
\Zend\InputFilter\Exception\InvalidArgumentException |
|---|
mixedgetRawValues() : array
List should be an associative array of named input/value pairs, with the values unfiltered.
arraygetUnknown() : 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 |
|---|
mixedgetValues() : array
List should be an associative array, with the values filtered. If validation failed, this should raise an exception.
arrayhas(string $name) : bool
string
boolhasUnknown() : 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
stringName of the input to replace
\Zend\InputFilter\Exception\InvalidArgumentException |
|---|
\Zend\InputFilter\selfsetData(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
boolvalidateValidationGroup(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 |
|---|