ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
LanguageDataNotSavedException.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Language\Setup;
22
28final class LanguageDataNotSavedException extends \RuntimeException
29{
30 public function __construct(string $module, string $lang_key)
31 {
32 parent::__construct(sprintf(
33 "Data for module '%s' of language '%s' is not correctly saved. "
34 . "Please check the collation of your database tables lng_data and lng_modules. It must be utf8_unicode_ci.",
35 $module,
36 $lang_key
37 ), 409);
38 }
39}
The module array just written to lng_modules could not be read back - almost always a wrong collation...
if(!isset($arguments[0])) if(count( $arguments) > 3) if(! $remove_from_lang &&isset($arguments[2]) &&!is_dir($arguments[2])) $module
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc