ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
LoaderHelper.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
28 trait LoaderHelper
29 {
36  protected function getContextNames(array $contexts): array
37  {
38  $names = [];
39  foreach ($contexts as $context) {
40  $names[] = str_replace(" ", "", $context->getCanonicalName());
41  }
42  return $names;
43  }
44 }
$context
Definition: webdav.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...