ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
XapiProxy\ilInitialisation Class Reference

Class: ilInitialisation_Public Helper class that derives from ilInitialisation in order to 'publish' some of its methods that are (currently) required by XapiProxy and included plugin classes. More...

+ Inheritance diagram for XapiProxy\ilInitialisation:
+ Collaboration diagram for XapiProxy\ilInitialisation:

Static Public Member Functions

static initGlobal ($a_name, $a_class, $a_source_file=null)
 Function; initGlobal($a_name, $a_class, $a_source_file) Derive from protected to public... More...
 
static initDatabase ()
 Function: initDatabase() Derive from protected to public... More...
 
static initIliasIniFile ()
 Function: initIliasIniFile() Derive from protected to public... More...
 
static initClientIniFile ()
 Function: initClientIniFile() Derive from protected to public... More...
 
static initLog ()
 
- Static Public Member Functions inherited from ilInitialisation
static initFileUploadService (\ILIAS\DI\Container $dic)
 Initializes the file upload service. More...
 
static setSessionHandler ()
 set session handler to db More...
 
static initUserAccount ()
 Init user with current account id. More...
 
static goToPublicSection ()
 go to public section More...
 
static reinitILIAS ()
 
static initILIAS ()
 ilias initialisation More...
 
static handleErrorReporting ()
 Set error reporting level. More...
 
static resumeUserSession ()
 Resume an existing user session. More...
 
static initUIFramework (\ILIAS\DI\Container $c)
 init the ILIAS UI framework. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from ilInitialisation
static removeUnsafeCharacters ()
 Remove unsafe characters from GET. More...
 
static recursivelyRemoveUnsafeCharacters ($var)
 
static requireCommonIncludes ()
 get common include code files More...
 
static includePhp5Compliance ()
 This is a hack for authentication. More...
 
static initIliasIniFile ()
 This method provides a global instance of class ilIniFile for the ilias.ini.php file in variable $ilIliasIniFile. More...
 
static buildHTTPPath ()
 builds http path More...
 
static determineClient ()
 This method determines the current client and sets the constant CLIENT_ID. More...
 
static initClientIniFile ()
 This method provides a global instance of class ilIniFile for the client.ini.php file in variable $ilClientIniFile. More...
 
static handleMaintenanceMode ()
 handle maintenance mode More...
 
static initDatabase ()
 initialise database object $ilDB More...
 
static setCookieConstants ()
 
static setSessionCookieParams ()
 set session cookie params More...
 
static initMail (\ILIAS\DI\Container $c)
 
static initCustomObjectIcons (\ILIAS\DI\Container $c)
 
static initAvatar (\ILIAS\DI\Container $c)
 
static initTermsOfService (\ILIAS\DI\Container $c)
 
static initAccessibilityControlConcept (\ILIAS\DI\Container $c)
 
static initSettings ()
 initialise $ilSettings object and define constants More...
 
static initStyle ()
 provide $styleDefinition object More...
 
static initLocale ()
 Init Locale. More...
 
static goToLogin ()
 go to login More...
 
static initAccessHandling ()
 $ilAccess and $rbac... More...
 
static initLog ()
 Init log instance. More...
 
static initGlobal ($a_name, $a_class, $a_source_file=null)
 Initialize global instance. More...
 
static abortAndDie ($a_message)
 Exit. More...
 
static handleDevMode ()
 Prepare developer tools. More...
 
static initSession ()
 Init auth session. More...
 
static initCore ()
 Init core objects (level 0) More...
 
static initClient ()
 Init client-based objects (level 1) More...
 
static initUser ()
 Init user / authentification (level 2) More...
 
static initHTTPServices (\ILIAS\DI\Container $container)
 
static initRefinery (\ILIAS\DI\Container $container)
 
static initHTML ()
 init HTML output (level 3) More...
 
static getCurrentCmd ()
 Extract current cmd from request. More...
 
static blockedAuthentication ($a_current_script)
 Block authentication based on current request. More...
 
static translateMessage ($a_message_id, array $a_message_static=null)
 Translate message if possible. More...
 
static redirect ($a_target, $a_message_id='', array $a_message_static=null)
 Redirects to target url if context supports it. More...
 
- Static Protected Attributes inherited from ilInitialisation
static $already_initialized
 

Detailed Description

Class: ilInitialisation_Public Helper class that derives from ilInitialisation in order to 'publish' some of its methods that are (currently) required by XapiProxy and included plugin classes.

Definition at line 58 of file DataService.php.

Member Function Documentation

◆ initClientIniFile()

static XapiProxy\ilInitialisation::initClientIniFile ( )
static

Function: initClientIniFile() Derive from protected to public...

See also
::initIliasIniFile()

Definition at line 104 of file DataService.php.

References $GLOBALS.

105  {
106  if (!isset($GLOBALS['initClientIniFile'])) {
107  parent::initClientIniFile();
108  }
109  }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64

◆ initDatabase()

static XapiProxy\ilInitialisation::initDatabase ( )
static

Function: initDatabase() Derive from protected to public...

See also
::initDatabase()

Definition at line 77 of file DataService.php.

References $GLOBALS.

78  {
79  if (!isset($GLOBALS['ilDB'])) {
80  parent::initGlobal("ilBench", "ilBenchmark", "./Services/Utilities/classes/class.ilBenchmark.php");
81  parent::initDatabase();
82  }
83  }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64

◆ initGlobal()

static XapiProxy\ilInitialisation::initGlobal (   $a_name,
  $a_class,
  $a_source_file = null 
)
static

Function; initGlobal($a_name, $a_class, $a_source_file) Derive from protected to public...

See also
::initGlobal($a_name, $a_class, $a_source_file)

Definition at line 66 of file DataService.php.

67  {
68  return parent::initGlobal($a_name, $a_class, $a_source_file);
69  }

◆ initIliasIniFile()

static XapiProxy\ilInitialisation::initIliasIniFile ( )
static

Function: initIliasIniFile() Derive from protected to public...

See also
::initIliasIniFile()

Definition at line 91 of file DataService.php.

References $GLOBALS.

92  {
93  if (!isset($GLOBALS['ilIliasIniFile'])) {
94  parent::initIliasIniFile();
95  }
96  }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64

◆ initLog()

static XapiProxy\ilInitialisation::initLog ( )
static

Definition at line 112 of file DataService.php.

References $GLOBALS.

113  {
114  if (!isset($GLOBALS['ilLog'])) {
115  parent::initLog();
116  parent::initGlobal("ilAppEventHandler", "ilAppEventHandler", "./Services/EventHandling/classes/class.ilAppEventHandler.php");
117  }
118  }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64

The documentation for this class was generated from the following file: