Feature #37820
Check validator options and make them self-documenting
| Status: | Resolved | Start date: | 2012-06-07 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Karsten Dambekalns | % Done: | 100% |
|
| Category: | Validation | |||
| Target version: | TYPO3 Flow Base Distribution - 2.0 beta 1 | |||
| PHP Version: | Complexity: | |||
| Has patch: | No | |||
| Votes: | 0 |
Description
Validators currently can invent any option on the fly, have to check them manually and they cannot be extracted for documentation automatically.
This should be changed.
Associated revisions
[!!!][FEATURE] Check validator options and make them self-documenting
Validators now must declare any options they accept using the class
property $supportedOptions. It is indexed by option name and
holds an array for each option giving the default value,
a description, type and an optional required flag.
This is used to check accepted options and to generate option
documentation for the validator reference documentation.
Change-Id: I2b32130840892417214cf50cad772190fc2576c0
Resolves: #37820
Releases: 1.2
History
Updated by Gerrit Code Review 12 months ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11865
Updated by Gerrit Code Review 12 months ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11865
Updated by Gerrit Code Review 12 months ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11865
Updated by Gerrit Code Review 11 months ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11865
Updated by Gerrit Code Review 11 months ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11865
Updated by Gerrit Code Review 10 months ago
Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11865
Updated by Gerrit Code Review 7 months ago
Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11865
Updated by Karsten Dambekalns 7 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d374b12f2e7d13142ffc3ea9078ff3ba50ca7758.