ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Entity.php
Go to the documentation of this file.
1
<?
php
2
3
class
sspmod_statistics_Statistics_FieldPresentation_Entity
extends
sspmod_statistics_Statistics_FieldPresentation_Base
4
{
5
public
function
getPresentation
()
6
{
7
$mh =
SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler
();
8
$metadata
= $mh->getList($this->config);
9
10
$translation = array(
'_'
=>
'All services'
);
11
foreach
($this->
fields
as $field) {
12
if
(array_key_exists($field,
$metadata
)) {
13
if
(array_key_exists(
'name'
,
$metadata
[$field])) {
14
$translation[$field] = $this->
template
->t(
$metadata
[$field][
'name'
], array(),
false
);
15
}
16
}
17
}
18
return
$translation;
19
}
20
}
SimpleSAML_Metadata_MetaDataStorageHandler\getMetadataHandler
static getMetadataHandler()
This function retrieves the current instance of the metadata handler.
Definition:
MetaDataStorageHandler.php:40
sspmod_statistics_Statistics_FieldPresentation_Entity\getPresentation
getPresentation()
Definition:
Entity.php:5
$metadata
$metadata['__DYNAMIC:1__']
Definition:
adfs-idp-hosted.php:3
sspmod_statistics_Statistics_FieldPresentation_Entity
Definition:
Entity.php:3
fields
$errors fields
Definition:
imgupload.php:51
sspmod_statistics_Statistics_FieldPresentation_Base
Definition:
Base.php:3
php
libs
composer
vendor
simplesamlphp
simplesamlphp
modules
statistics
lib
Statistics
FieldPresentation
Entity.php
Generated on Thu Jan 30 2025 19:01:33 for ILIAS by
1.8.13 (using
Doxyfile
)