Description | manuals and libraries |
Kernel::System::DataValidation::Validator::Ticket::TicketID - Validator that verifies a given TicketID
.
Provides a Check
method, that will be called by the Kernel::System::DataValidation backend.
Returns an example of a possible value to be verified.
Lookups the given TicketID
in the database. For more information about the ticket backend, please refer to Kernel::System::Ticket.
my $True = $Validator->Check(
Value => 1,
);
my $False = $Validator->Check(
Value => 'WrongTicketID',
);