ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 bool $autoplay_mode,
33 protected int $nr_initial_videos,
34 protected bool $new_items_in_lp
35 ) {
36 }
37
38 public function getId(): int
39 {
40 return $this->id;
41 }
42
43 public function getPublicFiles(): bool
44 {
45 return $this->public_files;
46 }
47
48 public function getDownloadable(): bool
49 {
50 return $this->downloadable;
51 }
52
53 public function getDefaultAccess(): int
54 {
55 return $this->default_access;
56 }
57
58 public function getSortMode(): int
59 {
60 return $this->sort_mode;
61 }
62
63 public function getViewMode(): string
64 {
65 return $this->view_mode;
66 }
67
68 public function getAutoplayMode(): bool
69 {
70 return $this->autoplay_mode;
71 }
72
73 public function getNumberInitialVideos(): int
74 {
75 return $this->nr_initial_videos;
76 }
77
78 public function getNewItemsInLearningProgress(): bool
79 {
80 return $this->new_items_in_lp;
81 }
82}
$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 bool $autoplay_mode, protected int $nr_initial_videos, protected bool $new_items_in_lp)
Definition: Settings.php:25