Kernel::System::Salutation - salutation lib
All salutation functions.
Don't use the constructor directly, use the ObjectManager instead:
my $SalutationObject = $Kernel::OM->Get('Kernel::System::Salutation');
add new salutations
my $ID = $SalutationObject->SalutationAdd( Name => 'New Salutation', Text => "--\nSome Salutation Infos", ContentType => 'text/plain; charset=utf-8', Comment => 'some comment', ValidID => 1, UserID => 123, );
get salutations attributes
my %Salutation = $SalutationObject->SalutationGet( ID => 123, );
update salutation attributes
$SalutationObject->SalutationUpdate( ID => 123, Name => 'New Salutation', Text => "--\nSome Salutation Infos", ContentType => 'text/plain; charset=utf-8', Comment => 'some comment', ValidID => 1, UserID => 123, );
get salutation list
my %List = $SalutationObject->SalutationList(); my %List = $SalutationObject->SalutationList( Valid => 0, );
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.