ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
SettingsManager.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Glossary\Settings
;
22
23
use
ILIAS\Glossary\InternalDataService
;
24
use
ILIAS\Glossary\InternalRepoService
;
25
use
ILIAS\Glossary\InternalDomainService
;
26
use
ILIAS\Glossary\Settings\Settings
;
27
28
class
SettingsManager
29
{
30
public
function
__construct
(
31
protected
InternalDataService
$data
,
32
protected
InternalRepoService
$repo,
33
protected
InternalDomainService
$domain
34
) {
35
}
36
37
public
function
update
(
Settings
$settings): void
38
{
39
$this->repo->settings()->update($settings);
40
}
41
42
public
function
getByObjId
(
int
$id
): ?
Settings
43
{
44
return
$this->repo->settings()->getById(
$id
);
45
}
46
}
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\Glossary\InternalDataService
Definition:
class.InternalDataService.php:26
ILIAS\Glossary\InternalDomainService
Definition:
class.InternalDomainService.php:35
ILIAS\Glossary\InternalRepoService
Definition:
class.InternalRepoService.php:26
ILIAS\Glossary\Settings\SettingsManager
Definition:
SettingsManager.php:29
ILIAS\Glossary\Settings\SettingsManager\getByObjId
getByObjId(int $id)
Definition:
SettingsManager.php:42
ILIAS\Glossary\Settings\SettingsManager\update
update(Settings $settings)
Definition:
SettingsManager.php:37
ILIAS\Glossary\Settings\SettingsManager\__construct
__construct(protected InternalDataService $data, protected InternalRepoService $repo, protected InternalDomainService $domain)
Definition:
SettingsManager.php:30
ILIAS\Glossary\Settings\Settings
Definition:
Settings.php:24
$data
$data
Definition:
ltiregistration.php:29
ILIAS\Glossary\Settings
Definition:
class.GUIService.php:21
components
ILIAS
Glossary
Settings
SettingsManager.php
Generated on Sat Oct 18 2025 23:02:40 for ILIAS by
1.9.4 (using
Doxyfile
)