Kernel::System::Teaser

NAME

Kernel::System::Teaser – Functions handle feature add-on teaser messages

DESCRIPTION

This module is managing feature add-on teaser functions.

PUBLIC INTERFACE

new()

Don't use the constructor directly, use the ObjectManager instead:

    my $TicketObject = $Kernel::OM->Get('Kernel::System::Ticket');

InstalledPackageList()

This function gets the list of installed or linked packages.

    my $PackageList = $TeaserObject->InstalledPackageList();

Returns :

    $PackageList = {
        PackageA => 1,
        PackageB => 1,
        # ...
    },

RequiredPackageIsInstalled()

This function returns success if the specified package is installed or linked.

    my $Success = $TeaserObject->RequiredPackageIsInstalled(
        PackageName => 'SomePackage',
    );

Returns :

    $Success = 1;   # or fail in case of the package is no installed
Scroll to Top