ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilSamlSettings.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
8
class
ilSamlSettings
9
{
13
protected
static
$instance
= null;
14
18
protected
$settings
;
19
23
protected
function
__construct
()
24
{
25
$this->
settings
=
new
ilSetting
(
'auth_saml'
);
26
}
27
31
public
static
function
getInstance
()
32
{
33
if
(null === self::$instance) {
34
self::$instance =
new
self
();
35
}
36
37
return
self::$instance;
38
}
39
43
public
function
isDisplayedOnLoginPage
()
44
{
45
return
(
bool
) $this->
settings
->get(
'login_form'
, 0);
46
}
47
51
public
function
setLoginFormStatus
($displayed_on_login_page)
52
{
53
$this->
settings
->set(
'login_form'
, (
int
) $displayed_on_login_page);
54
}
55
}
ilSamlSettings\$instance
static $instance
Definition:
class.ilSamlSettings.php:13
settings
settings()
Definition:
settings.php:2
ilSamlSettings
Class ilSamlSettings.
Definition:
class.ilSamlSettings.php:8
ilSamlSettings\__construct
__construct()
ilSamlSettings constructor.
Definition:
class.ilSamlSettings.php:23
ilSamlSettings\$settings
$settings
Definition:
class.ilSamlSettings.php:18
ilSamlSettings\getInstance
static getInstance()
Definition:
class.ilSamlSettings.php:31
ilSamlSettings\setLoginFormStatus
setLoginFormStatus($displayed_on_login_page)
Definition:
class.ilSamlSettings.php:51
php
ilSetting
ilSamlSettings\isDisplayedOnLoginPage
isDisplayedOnLoginPage()
Definition:
class.ilSamlSettings.php:43
Services
Saml
classes
class.ilSamlSettings.php
Generated on Thu Jan 16 2025 19:02:28 for ILIAS by
1.8.13 (using
Doxyfile
)