ILIAS  release_8 Revision v8.23
LoaderHelper.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
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:29
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...