NAME
Kernel::System::DataValidation::Validator::Calendar::AppointmentID – Validator that verifies a given AppointmentID
.
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 AppointmentID
in the database. For more information about the Appointment backend, please refer to Kernel::System::Calendar::Appointment.
my $True = $Validator->Check(
Value => 1,
);
my $False = $Validator->Check(
Value => 'WrongAppointmentID',
);