Removing deprecated Validator javascript methods

Use custom Javascript validation instead
This commit is contained in:
Sean Harvey 2012-11-15 11:29:40 +13:00
parent 5c983a25f0
commit 6448cd79bc

View File

@ -22,37 +22,6 @@ abstract class Validator extends Object {
*/
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
*/