
#################
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


.. code-block:: perl

     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


.. code-block:: perl

     $InterfaceCustomer->Run();



_CheckModulePermission()
========================


module permission check


.. code-block:: perl

     ($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.


.. code-block:: perl

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





