ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
LoaderHelper.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
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
$context
Definition: webdav.php:31