ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 }
static getMetadataHandler()
This function retrieves the current instance of the metadata handler.
$metadata['__DYNAMIC:1__']
$errors fields
Definition: imgupload.php:51