ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
class.ilLanguageInvalidMarkupException.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
27{
32 public function __construct(private readonly array $invalid_values)
33 {
34 parent::__construct(sprintf(
35 'Markup that is not allowed in language entries: %s',
36 implode(', ', array_keys($invalid_values))
37 ));
38 }
39
43 public function getInvalidValues(): array
44 {
45 return $this->invalid_values;
46 }
47}
Class for language related exception handling in ILIAS.
Thrown by a local write path of language entries (e.g.
__construct(private readonly array $invalid_values)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc