ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilPDCalendarBlockGUI.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
6
16
class
ilPDCalendarBlockGUI
extends
ilCalendarBlockGUI
17
{
18
public
static
string
$block_type
=
"pdcal"
;
19
protected
bool
$initialized
=
false
;
20
24
public
function
__construct
()
25
{
26
parent::__construct
();
27
$this->
setBlockId
(
'0'
);
28
}
29
33
public
function
getBlockType
(): string
34
{
35
return
self::$block_type;
36
}
37
41
protected
function
initCategories
(): void
42
{
43
if
(!$this->initialized) {
44
if
(
ilCalendarUserSettings::_getInstance
()->getCalendarSelectionType() ==
ilCalendarUserSettings::CAL_SELECTION_MEMBERSHIP
) {
45
$this->mode =
ilCalendarCategories::MODE_PERSONAL_DESKTOP_MEMBERSHIP
;
46
}
else
{
47
$this->mode =
ilCalendarCategories::MODE_PERSONAL_DESKTOP_ITEMS
;
48
}
49
50
$cats =
\ilCalendarCategories::_getInstance
();
51
if
($this->
getForceMonthView
()) {
52
// nothing to do here
53
} elseif (!$cats->getMode()) {
54
$cats->initialize($this->mode, (
int
) $this->requested_ref_id,
true
);
55
}
56
}
57
$this->initialized =
true
;
58
}
59
63
public
function
returnToUpperContext
(): void
64
{
65
$this->
ctrl
->redirectByClass(
"ildashboardgui"
,
"show"
);
66
}
67
}
ilBlockGUI\setBlockId
setBlockId(string $a_block_id="0")
Definition:
class.ilBlockGUI.php:147
ilCalendarCategories\MODE_PERSONAL_DESKTOP_MEMBERSHIP
const MODE_PERSONAL_DESKTOP_MEMBERSHIP
Definition:
class.ilCalendarCategories.php:33
ilPDCalendarBlockGUI\initCategories
initCategories()
Definition:
class.ilPDCalendarBlockGUI.php:41
ilCalendarUserSettings\CAL_SELECTION_MEMBERSHIP
const CAL_SELECTION_MEMBERSHIP
Definition:
class.ilCalendarUserSettings.php:11
ilPDCalendarBlockGUI
Calendar blocks, displayed on personal desktop.
Definition:
class.ilPDCalendarBlockGUI.php:16
ilPDCalendarBlockGUI\returnToUpperContext
returnToUpperContext()
Definition:
class.ilPDCalendarBlockGUI.php:63
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:52
ilCalendarBlockGUI\getForceMonthView
getForceMonthView()
Definition:
class.ilCalendarBlockGUI.php:199
ilCalendarUserSettings\_getInstance
static _getInstance()
Definition:
class.ilCalendarUserSettings.php:59
ilPDCalendarBlockGUI\__construct
__construct()
Definition:
class.ilPDCalendarBlockGUI.php:24
ilCalendarCategories\_getInstance
static _getInstance($a_usr_id=0)
get singleton instance
Definition:
class.ilCalendarCategories.php:89
ilPDCalendarBlockGUI\$block_type
static string $block_type
Definition:
class.ilPDCalendarBlockGUI.php:18
ilCalendarBlockGUI
Calendar blocks, displayed in different contexts, e.g.
Definition:
class.ilCalendarBlockGUI.php:33
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ilPDCalendarBlockGUI\getBlockType
getBlockType()
Definition:
class.ilPDCalendarBlockGUI.php:33
ilPDCalendarBlockGUI\$initialized
bool $initialized
Definition:
class.ilPDCalendarBlockGUI.php:19
ilCalendarCategories\MODE_PERSONAL_DESKTOP_ITEMS
const MODE_PERSONAL_DESKTOP_ITEMS
Definition:
class.ilCalendarCategories.php:34
Services
Calendar
classes
class.ilPDCalendarBlockGUI.php
Generated on Thu Apr 10 2025 22:01:56 for ILIAS by
1.8.13 (using
Doxyfile
)