ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ 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
}
Settings
$data
$data
Definition:
ltiregistration.php:29
ILIAS\MetaData\OERHarvester\Settings\Settings\SettingsManager\getByObjId
getByObjId(int $id)
Definition:
SettingsManager.php:42
ILIAS\MetaData\OERHarvester\Settings\Settings\SettingsManager\update
update(Settings $settings)
Definition:
SettingsManager.php:37
ILIAS\Export\InternalDomainService
Definition:
class.InternalDomainService.php:25
InternalRepoService
InternalDomainService
ILIAS\Glossary\Settings
Definition:
class.GUIService.php:21
InternalDataService
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
SettingsInterface
ILIAS\MetaData\OERHarvester\Settings\Settings\SettingsManager\__construct
__construct(protected InternalDataService $data, protected InternalRepoService $repo, protected InternalDomainService $domain)
Definition:
SettingsManager.php:30
ILIAS\MetaData\OERHarvester\Settings\Settings\SettingsManager
Definition:
SettingsManager.php:27
components
ILIAS
Glossary
Settings
SettingsManager.php
Generated on Sun Aug 31 2025 23:02:25 for ILIAS by
1.8.13 (using
Doxyfile
)