ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Settings.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\MediaPool\Settings;
22 
23 class Settings
24 {
25  public function __construct(
26  protected int $id,
27  protected int $default_width,
28  protected int $default_height,
29  protected bool $for_translation
30  ) {
31  }
32 
33  public function getId(): int
34  {
35  return $this->id;
36  }
37 
38  public function getDefaultWidth(): int
39  {
40  return $this->default_width;
41  }
42 
43  public function getDefaultHeight(): int
44  {
45  return $this->default_height;
46  }
47 
48  public function getForTranslation(): bool
49  {
50  return $this->for_translation;
51  }
52 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(protected int $id, protected int $default_width, protected int $default_height, protected bool $for_translation)
Definition: Settings.php:25