InterfaceCustomer#

NAME#

Kernel::System::Web::InterfaceCustomer - the customer web interface

DESCRIPTION#

the global customer web interface (authentication, session handling, …)

PUBLIC INTERFACE#

new()#

create customer web interface object

use Kernel::System::Web::InterfaceCustomer;

my $Debug = 0;
my $InterfaceCustomer = Kernel::System::Web::InterfaceCustomer->new(
    Debug      => $Debug,
    WebRequest => CGI::Fast->new(), # optional, e. g. if fast cgi is used, the CGI object is already provided
);

Run()#

execute the object

$InterfaceCustomer->Run();

_CheckModulePermission()#

module permission check

($AccessRo, $AccessRw = $AutoResponseObject->_CheckModulePermission(
    ModuleReg => $ModuleReg,
    %UserData,
);

_UserTimeZoneGet()#

Get time zone for the current user. This function will validate passed time zone parameter and return default user time zone if it’s not valid.

my $UserTimeZone = $Self->_UserTimeZoneGet(
    UserTimeZone => 'Europe/Berlin',
);