ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
interface.Setting.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Administration;
22
28interface Setting
29{
30 // Get current module
31 public function getModule(): string;
32
33 // Read current module
34 public function read(): void;
35
36 // Get a setting
37 public function get(
38 string $a_keyword,
39 ?string $a_default_value = null
40 ): ?string;
41
42 // Delete all settings of current module
43 public function deleteAll(): void;
44
45 // Delete setting
46 public function delete(string $a_keyword): void;
47
48 // Get all settings as array
49 public function getAll(): array;
50
51 // Set a setting
52 public function set(string $a_key, string $a_val): void;
53
54 // Lookup a setting
55 public static function _lookupValue(
56 string $a_module,
57 string $a_keyword
58 ): ?string;
59}
static _lookupValue(string $a_module, string $a_keyword)