D
D
dastus2015-01-09 18:01:11
Zend Framework
dastus, 2015-01-09 18:01:11

Where can I find examples of building inputFilters factory Zend2 validators?

Good afternoon, do not tell me where to find documentation or examples, or a manual or guide for building inputFilters in Zend2. Example on:

$this->add(array(
        'name' => 'email',
        'required' => true,
        'validators' => array(
            array(
                'name' => 'EmailAddress',
                'options' => array(
                    'domain' => true,
                ),
            ),
        ),
    ));

I would like to know exactly the rules for constructing such validators. The language of the resource is not important.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question