ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
sspmod_statistics_Statistics_FieldPresentation_Entity Class Reference
+ Inheritance diagram for sspmod_statistics_Statistics_FieldPresentation_Entity:
+ Collaboration diagram for sspmod_statistics_Statistics_FieldPresentation_Entity:

Public Member Functions

 getPresentation ()
 
- Public Member Functions inherited from sspmod_statistics_Statistics_FieldPresentation_Base
 __construct ($fields, $config, $template)
 
 getPresentation ()
 

Additional Inherited Members

- Protected Attributes inherited from sspmod_statistics_Statistics_FieldPresentation_Base
 $fields
 
 $template
 
 $config
 

Detailed Description

Definition at line 3 of file Entity.php.

Member Function Documentation

◆ getPresentation()

sspmod_statistics_Statistics_FieldPresentation_Entity::getPresentation ( )

Reimplemented from sspmod_statistics_Statistics_FieldPresentation_Base.

Definition at line 5 of file Entity.php.

6 {
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 }
$metadata['__DYNAMIC:1__']
static getMetadataHandler()
This function retrieves the current instance of the metadata handler.
$errors fields
Definition: imgupload.php:51

References $metadata, fields, and SimpleSAML_Metadata_MetaDataStorageHandler\getMetadataHandler().

+ Here is the call graph for this function:

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