Zend\InputFilter\InputFilterInterface
Synopsis
interface InputFilterInterface
extends Countable
{
- // constants
- const VALIDATE_ALL = 'INPUT_FILTER_ALL';
- // methods
- public InputFilterInterface add()
- public InputInterface|InputFilterInterface get()
- public bool has()
- public InputFilterInterface remove()
- public InputFilterInterface setData()
- public bool isValid()
- public InputFilterInterface setValidationGroup()
- public array getInvalidInput()
- public array getValidInput()
- public mixed getValue()
- public array getValues()
- public mixed getRawValue()
- public array getRawValues()
- public array getMessages()
- // Inherited methods from Countable
- public int count()
Hierarchy
Extends
Implemented by
Constants
Name | Value |
---|---|
VALIDATE_ALL | 'INPUT_FILTER_ALL' |
Methods
public
- add() — Add an input to the input filter
- get() — Retrieve a named input
- getInvalidInput() — Return a list of inputs that were invalid.
- getMessages() — Return a list of validation failure messages
- getRawValue() — Retrieve a raw (unfiltered) value from a named input
- getRawValues() — Return a list of unfiltered values
- getValidInput() — Return a list of inputs that were valid.
- getValue() — Retrieve a value from a named input
- getValues() — Return a list of filtered values
- has() — Test if an input or input filter by the given name is attached
- isValid() — Is the data set valid?
- remove() — Remove a named input
- setData() — Set data to use when validating and filtering
- setValidationGroup() — Provide a list of one or more elements indicating the complete set to validate
Inherited from Countable
public
- count() — Count elements of an object