Spork Code Libraries

InputFilter

View Model which converts and Input Filter into a JSON response.

{

isValid: BOOLEAN,
inputs: {
    INPUT_NAME: {
        value: MIXED,
        message: {MESSAGE_TYPE: MESSAGE, ...},
    },
    ...
}

}

Summary

Methods

__construct()

Properties

Constants

Extends
\Zend\View\Model\JsonModel

Methods

__construct()

__construct(\Zend\InputFilter\InputFilterInterface  $inputFilter, string  $variables = null, string  $options = null) 

Initialize instance

Parameters

\Zend\InputFilter\InputFilterInterface $inputFilter
string $variables
string $options