ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
Settings.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24{
25 public function __construct(
26 protected int $id,
27 protected bool $public_files,
28 protected bool $downloadable,
29 protected int $default_access,
30 protected int $sort_mode,
31 protected string $view_mode,
32 protected int $nr_initial_videos,
33 protected bool $new_items_in_lp
34 ) {
35 }
36
37 public function getId(): int
38 {
39 return $this->id;
40 }
41
42 public function getPublicFiles(): bool
43 {
44 return $this->public_files;
45 }
46
47 public function getDownloadable(): bool
48 {
49 return $this->downloadable;
50 }
51
52 public function getDefaultAccess(): int
53 {
54 return $this->default_access;
55 }
56
57 public function getSortMode(): int
58 {
59 return $this->sort_mode;
60 }
61
62 public function getViewMode(): string
63 {
64 return $this->view_mode;
65 }
66
67 public function getNumberInitialVideos(): int
68 {
69 return $this->nr_initial_videos;
70 }
71
72 public function getNewItemsInLearningProgress(): bool
73 {
74 return $this->new_items_in_lp;
75 }
76}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(protected int $id, protected bool $public_files, protected bool $downloadable, protected int $default_access, protected int $sort_mode, protected string $view_mode, protected int $nr_initial_videos, protected bool $new_items_in_lp)
Definition: Settings.php:25