ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Portfolio\Settings\SettingsManager Class Reference
+ Collaboration diagram for ILIAS\Portfolio\Settings\SettingsManager:

Public Member Functions

 __construct (protected InternalDataService $data, protected InternalRepoService $repo, protected InternalDomainService $domain)
 
 create (Settings $settings)
 
 update (Settings $settings)
 
 getById (int $id)
 

Detailed Description

Definition at line 27 of file SettingsManager.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Portfolio\Settings\SettingsManager::__construct ( protected InternalDataService  $data,
protected InternalRepoService  $repo,
protected InternalDomainService  $domain 
)

Definition at line 29 of file SettingsManager.php.

33 {
34 }

Member Function Documentation

◆ create()

ILIAS\Portfolio\Settings\SettingsManager::create ( Settings  $settings)

Definition at line 36 of file SettingsManager.php.

36 : void
37 {
38 $this->repo->settings()->create($settings);
39 }

◆ getById()

ILIAS\Portfolio\Settings\SettingsManager::getById ( int  $id)

Definition at line 46 of file SettingsManager.php.

46 : ?Settings
47 {
48 return $this->repo->settings()->getById($id);
49 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

References $id.

◆ update()

ILIAS\Portfolio\Settings\SettingsManager::update ( Settings  $settings)

Definition at line 41 of file SettingsManager.php.

41 : void
42 {
43 $this->repo->settings()->update($settings);
44 }

The documentation for this class was generated from the following file: