ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Entity.php
Go to the documentation of this file.
1<?php
2
4{
5 public function getPresentation()
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 }
20}
$metadata['__DYNAMIC:1__']
An exception for terminatinating execution or to throw for unit testing.
static getMetadataHandler()
This function retrieves the current instance of the metadata handler.
$errors fields
Definition: imgupload.php:51