Description | manuals and libraries |
Kernel::System::Valid - valid lib
All valid functions.
Don't use the constructor directly, use the ObjectManager instead:
my $ValidObject = $Kernel::OM->Get('Kernel::System::Valid');
return a valid list as hash
my %List = $ValidObject->ValidList();
returns the id or the name of a valid
my $ValidID = $ValidObject->ValidLookup(
Valid => 'valid',
);
my $Valid = $ValidObject->ValidLookup(
ValidID => 1,
);
return all valid ids as array
my @List = $ValidObject->ValidIDsGet();
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.