mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 06:28:46 +02:00
N°6414 Validator refactoring
New AbstractValidator class, with new method Validate All existing validators are now children of AbstractRegexpValidator Handle validators JS counterparts in renderers : only regexp validators are implemented client side
This commit is contained in:
@@ -24,13 +24,7 @@ namespace Combodo\iTop\Form\Validator;
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
class LinkedSetValidator extends Validator
|
||||
class LinkedSetValidator extends AbstractRegexpValidator
|
||||
{
|
||||
const VALIDATOR_NAME = 'LinkedSetValidator';
|
||||
|
||||
/** @inheritdoc */
|
||||
public static function GetName()
|
||||
{
|
||||
return static::VALIDATOR_NAME;
|
||||
}
|
||||
public const VALIDATOR_NAME = 'LinkedSetValidator';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user