zend-inputfilter
zend-inputfilter copied to clipboard
InputFilter component from Zend Framework
These allows manage the required message like any other ValidatorInterface element. Note: While you can add the validator manually the flag `setRequired` must be set too ``` php $input =...
- Remove AllowEmpty / ContinueIfEmpty deprecated on 2.4.8. Zend\Validator\NotEmpty should be added to the ValidatorChain when expected. - Remove UploadFile validator auto injection Zend\Validator\File\UploadFile should be added to the ValidatorChain...
Hi everyone, Some years ago I've started a big refactor of Input Filter. You can see the initial work there: https://github.com/zf-fr/input-filter/pull/1 The idea was to take advantage of stateless component,...
`InputFilterInterface::getValidInput():array` and `InputFilterInterface::getInvalidInput():array` should be `InputFilterInterface::getValidInputs():array` and `InputFilterInterface::getInvalidInputs():array` Both method return always a collection type (array)
I think the fallback value should be replaced when merge is done.
Proposal of roadmap for next major versions. V3: V3 should silently fail if any deprecation feature is used. i.e. No file/method removal/rename is allowed. - [x] Deprecate Continue If Empty...
``` php $specs = array( 'title' => array( 'name' => 'title', 'filters' => array( array( 'name' => 'Zend\Filter\StringToLower', ), ), ), ); $inputFilterFactory = new \Zend\InputFilter\Factory(); $inputFilter = $inputFilterFactory->createInputFilter($specs); $data...
_This issue describes a problem with the ZF2 input filtering that I would like to be fixed in the future ZF3 solution for input filtering._ Our preferred solution for building...
I started to think the best way of build a custom pipe of filters and validators where you can filter after validation, etc. I propose replace `Zend\InputFilter\Input` with a custom...
This issue has been moved from the `zendframework` repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html --- Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/4772 User: @bakura10 Created On: 2013-07-02T12:52:46Z...