Kernel::System::DataValidation::Validator::Statistic::StatisticID

NAME

Kernel::System::DataValidation::Validator::Statistic::StatisticID – Validator that verifies a given StatisticID.

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()

Lookups the given StatisticID in the database. For more information about the statistic backend, please refer to Kernel::System::Stats.

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

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