Kernel::System::DataValidation::Validator::ValidID

NAME

Kernel::System::DataValidation::Validator::ValidID – Validator that verifies a given ValidID.

PUBLIC INTERFACE

Provides a Check method, that will be called by the Kernel::System::DataValidation backend.

Example()

Returns an example of a possible value to be verified.

Check()

Lookup the given ValidID in the database. For more information about the valid backend, please refer to Kernel::System::Valid.

    my $True = $Validator->Check(
        Value => 1,
    );

    my $False = $Validator->Check(
        Value => 'WrongValidID',
    );
Scroll to Top