ILIAS  release_8 Revision v8.24
LoaderHelper.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
24
28trait 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}
A component is the most general form of an entity in the UI.
Definition: Component.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$context
Definition: webdav.php:29