Feature #33226

Add Getter for validator options and child validators

Added by Bastian Waidelich over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2012-01-16
Priority:Should have Due date:
Assigned To:Bastian Waidelich % Done:

100%

Category:Validation
Target version:-
PHP Version: Complexity:
Has patch:No

Description

Validation options are set through the constructor but there is currently no way of accessing the options afterwards.
This would make sense in order to transform validation rules into another format (e.g. to apply them on the client side).
Similar issue for the CompositeValidators: There is currently no way to retrieve the child validators.

Associated revisions

Revision 0acd9937
Added by Bastian Waidelich over 3 years ago

[FEATURE] Add Getter for validator options and child validators

Validation options are set through the constructor but there is
currently no way of accessing the options afterwards.
This change introduces the respective getters.

Change-Id: I2e748f33bccdb10fb595301466bd69efee499cea
Resolves: #33226
Releases: 1.1

History

#1 Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7819

#2 Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7819

#3 Updated by Gerrit Code Review over 3 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7819

#4 Updated by Gerrit Code Review over 3 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7819

#5 Updated by Bastian Waidelich over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF