ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilSamlSettings Class Reference

Class ilSamlSettings. More...

+ Collaboration diagram for ilSamlSettings:

Public Member Functions

 isDisplayedOnLoginPage ()
 
 setLoginFormStatus ($displayed_on_login_page)
 

Static Public Member Functions

static getInstance ()
 

Protected Member Functions

 __construct ()
 ilSamlSettings constructor. More...
 

Protected Attributes

 $settings
 

Static Protected Attributes

static $instance = null
 

Detailed Description

Class ilSamlSettings.

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de

Definition at line 8 of file class.ilSamlSettings.php.

Constructor & Destructor Documentation

◆ __construct()

ilSamlSettings::__construct ( )
protected

ilSamlSettings constructor.

Definition at line 23 of file class.ilSamlSettings.php.

References settings().

24  {
25  $this->settings = new ilSetting('auth_saml');
26  }
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

Member Function Documentation

◆ getInstance()

static ilSamlSettings::getInstance ( )
static
Returns
self

Definition at line 31 of file class.ilSamlSettings.php.

Referenced by ilSamlSettingsGUI\saveSettings(), ilStartUpGUI\showSamlLoginForm(), and ilSamlSettingsGUI\showSettings().

32  {
33  if (null === self::$instance) {
34  self::$instance = new self();
35  }
36 
37  return self::$instance;
38  }
+ Here is the caller graph for this function:

◆ isDisplayedOnLoginPage()

ilSamlSettings::isDisplayedOnLoginPage ( )
Returns
boolean

Definition at line 43 of file class.ilSamlSettings.php.

References settings().

44  {
45  return (bool) $this->settings->get('login_form', 0);
46  }
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

◆ setLoginFormStatus()

ilSamlSettings::setLoginFormStatus (   $displayed_on_login_page)
Parameters
$displayed_on_login_pageboolean

Definition at line 51 of file class.ilSamlSettings.php.

References settings().

52  {
53  $this->settings->set('login_form', (int) $displayed_on_login_page);
54  }
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

Field Documentation

◆ $instance

ilSamlSettings::$instance = null
staticprotected

Definition at line 13 of file class.ilSamlSettings.php.

◆ $settings

ilSamlSettings::$settings
protected

Definition at line 18 of file class.ilSamlSettings.php.


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