mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Removing deprecated Validator javascript methods
Use custom Javascript validation instead
This commit is contained in:
parent
5c983a25f0
commit
6448cd79bc
@ -22,37 +22,6 @@ abstract class Validator extends Object {
|
|||||||
*/
|
*/
|
||||||
protected $errors;
|
protected $errors;
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0 Use custom javascript validation instead
|
|
||||||
*/
|
|
||||||
public static function set_javascript_validation_handler($handler) {
|
|
||||||
Deprecation::notice('3.0', 'Use custom javascript validation instead.');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0 Use custom javascript validation instead
|
|
||||||
*/
|
|
||||||
public static function get_javascript_validator_handler() {
|
|
||||||
Deprecation::notice('3.0', 'Use custom javascript validation instead.');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0 Use custom javascript validation instead
|
|
||||||
*/
|
|
||||||
public function setJavascriptValidationHandler($handler) {
|
|
||||||
Deprecation::notice('3.0', 'Use custom javascript validation instead.');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets the current javascript validation handler for this form.
|
|
||||||
* If not set, falls back to the global static {@link self::$javascript_validation_handler}.
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function getJavascriptValidationHandler() {
|
|
||||||
Deprecation::notice('3.0', 'Use custom javascript validation instead.');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Form $form
|
* @param Form $form
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user