ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
class.shibServerData.php
Go to the documentation of this file.
1
<?php
2
require_once(
'./Services/AuthShibboleth/classes/Config/class.shibConfig.php'
);
3
9
class
shibServerData
extends
shibConfig
{
10
14
protected
static
$cache
= NULL;
15
16
20
protected
function
__construct
(array
$data
) {
21
$shibConfig =
shibConfig::getInstance
();
22
foreach
(array_keys(get_class_vars(
'shibConfig'
)) as $field) {
23
$str = $shibConfig->getValueByKey($field);
24
if
($str !== NULL) {
25
$this->{$field} = $data[$str];
26
}
27
}
28
}
29
30
36
public
static
function
getInstance
(array
$data
) {
37
if
(! isset(self::$cache)) {
38
self::$cache =
new
self
(
$data
);
39
}
40
41
return
self::$cache;
42
}
43
}
44
45
?>
shibServerData
Class shibServerData.
Definition:
class.shibServerData.php:9
shibServerData\$cache
static $cache
Definition:
class.shibServerData.php:14
shibConfig\getInstance
static getInstance()
Definition:
class.shibConfig.php:201
$data
$data
Definition:
storeScorm2004.php:37
shibConfig
Class shibConfig.
Definition:
class.shibConfig.php:8
shibServerData\__construct
__construct(array $data)
Definition:
class.shibServerData.php:20
shibServerData\getInstance
static getInstance(array $data)
Definition:
class.shibServerData.php:36
Services
AuthShibboleth
classes
ServerData
class.shibServerData.php
Generated on Mon Aug 25 2025 19:00:39 for ILIAS by
1.8.13 (using
Doxyfile
)