This repository has been archived by the owner on Apr 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BREAKING] Extbase validator interface changed (#522)
* [BREAKING] Extbase validator interface changed https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-96998-ExtbaseValidatorInterfaceChanged.html refs TYPO3-Documentation/TYPO3CMS-Reference-CoreApi#1624 * [BREAKING] TYPO3 Frontend always rendered in UTF-8 https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-97065-TYPO3FrontendAlwaysRenderedInUTF-8.html refs TYPO3-Documentation/TYPO3CMS-Reference-CoreApi#1624 Co-authored-by: lina.wolf <[email protected]>
- Loading branch information
Showing
7 changed files
with
70 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Documentation/CodeSnippets/PhpDomain/ValidatorInterface.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.. Generated by https://github.com/linawolf/t3docs_restructured_api_tools | ||
.. php:namespace:: TYPO3\CMS\Extbase\Validation\Validator | ||
.. php:interface:: ValidatorInterface | ||
Contract for a validator | ||
|
||
.. php:method:: validate(mixed value) | ||
Checks if the given value is valid according to the validator, and returns | ||
the Error Messages object which occurred. | ||
|
||
:param mixed $value: the value | ||
:returntype: TYPO3\\CMS\\Extbase\\Error\\Result | ||
|
||
.. php:method:: setOptions(array options) | ||
Receive validator options from framework. | ||
|
||
:param array $options: the options | ||
|
||
.. php:method:: getOptions() | ||
Returns the options of this validator which can be specified by setOptions(). | ||
|
||
:returntype: array | ||
|
44 changes: 0 additions & 44 deletions
44
Documentation/CodeSnippets/StyleguideCode/ValidatorInterface.rst.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters