MVC - Arguments Validation on Arrays / MVC Validation
|Priority:||Should have||Due date:|
|Assignee:||Robert Lemke||% Done:||
|Target version:||-||Estimated time:||0.00 hour|
|Has patch:||FLOW3 version affected:|
Currently no filter to validate an Array (e.g. a serialized form with a certain namespace)
in the current concept something like register the argument in the controller like this would be good:
or I also would like something like
$this->arguments->addNewArgument('searchFilter',''); throws currently a unfetched fatal error.
Updated by Robert Lemke almost 5 years ago
- Status changed from New to Accepted
- Assignee set to Robert Lemke
I think that "RecursiveTextArray" is to special to be implemented in the FLOW3 package itself. What about UnrecursiveIntegerArray etc.?
In my opinion you better solve that by chaining existing validators or writing a small validator yourself.
I'll implement the no validation validator though.