ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
class.ilObjectGroupAR.php
Go to the documentation of this file.
1<?php
2
25{
26 public const DISPLAY = 'display';
27 public const DISPLAY_WITHOUT_TITLE = 'without_title';
28 public const DISPLAY_WITH_TITLE = 'with_title';
29 public const DISPLAY_WITH_TITLE_AND_TOGGLEABLE = 'with_title_and_toggleable';
30 public const DISPLAY_WITH_TITLE_AND_TOGGLEABLE_INITIALLY = self::DISPLAY_WITH_TITLE_AND_TOGGLEABLE . '_initially';
31 public const DISPLAY_WITH_TITLE_AND_TOGGLEABLE_INITIALLY_CLOSED = self::DISPLAY_WITH_TITLE_AND_TOGGLEABLE_INITIALLY . '_closed';
32 public const DISPLAY_WITH_TITLE_AND_TOGGLEABLE_INITIALLY_OPEN = self::DISPLAY_WITH_TITLE_AND_TOGGLEABLE_INITIALLY . '_open';
33
34 public static function returnDbTableName(): string
35 {
36 return 'obgr_data';
37 }
38
50 protected ?int $id;
51
61
71
80 protected ?string $list_presentation = "";
81
90 protected ?int $tile_size = 0;
91
92 public function getId(): int
93 {
94 return $this->id;
95 }
96
97 public function setId(int $id): void
98 {
99 $this->id = $id;
100 }
101
102 public function getDisplay(): string
103 {
104 return $this->display ?? self::DISPLAY_WITH_TITLE;
105 }
106
107 public function setDisplay(string $a_val): void
108 {
109 $this->display = $a_val;
110 }
111
113 {
114 return $this->toggleable_initially ?? self::DISPLAY_WITH_TITLE_AND_TOGGLEABLE_INITIALLY_OPEN;
115 }
116
117 public function setDisplayWithTitleAndToggleableInitially(string $a_val): void
118 {
119 $this->toggleable_initially = $a_val;
120 }
121
122 public function getListPresentation(): string
123 {
124 return (string) $this->list_presentation;
125 }
126
127 public function setListPresentation(string $a_val): void
128 {
129 $this->list_presentation = $a_val;
130 }
131
132 public function getTileSize(): int
133 {
134 return (int) $this->tile_size;
135 }
136
137 public function setTileSize(int $a_val): void
138 {
139 $this->tile_size = $a_val;
140 }
141}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setListPresentation(string $a_val)
setDisplayWithTitleAndToggleableInitially(string $a_val)
const DISPLAY_WITH_TITLE_AND_TOGGLEABLE_INITIALLY_CLOSED
setDisplay(string $a_val)
const DISPLAY_WITH_TITLE_AND_TOGGLEABLE_INITIALLY
const DISPLAY_WITH_TITLE_AND_TOGGLEABLE_INITIALLY_OPEN