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.ilBookingPrefBookCron.php
Go to the documentation of this file.
1
<?php
2
25
class
ilBookingPrefBookCron
extends
ilCronJob
26
{
27
protected
ilLanguage
$lng
;
28
29
public
function
__construct
()
30
{
31
global
$DIC
;
32
33
$this->
lng
= $DIC->language();
34
}
35
36
public
function
getId
(): string
37
{
38
return
"book_pref_book"
;
39
}
40
41
public
function
getTitle
(): string
42
{
43
$lng =
$this->lng
;
44
45
$lng->
loadLanguageModule
(
"book"
);
46
47
return
$lng->
txt
(
"book_pref_book_cron"
);
48
}
49
50
public
function
getDescription
(): string
51
{
52
$lng =
$this->lng
;
53
54
$lng->
loadLanguageModule
(
"book"
);
55
56
return
$lng->
txt
(
"book_pref_book_cron_info"
);
57
}
58
59
public
function
getDefaultScheduleType
():
int
60
{
61
return
self::SCHEDULE_TYPE_DAILY;
62
}
63
64
public
function
getDefaultScheduleValue
(): ?
int
65
{
66
return
null;
67
}
68
69
public
function
hasAutoActivation
(): bool
70
{
71
return
true
;
72
}
73
74
public
function
hasFlexibleSchedule
(): bool
75
{
76
return
true
;
77
}
78
79
public
function
run
():
ilCronJobResult
80
{
81
$cron_status =
ilCronJobResult::STATUS_NO_ACTION
;
82
$message
=
""
;
83
84
$auto_book =
new
ilBookingPrefAutoBooking
();
85
$auto_book->run();
86
87
$cron_status =
ilCronJobResult::STATUS_OK
;
88
89
$cron_result =
new
ilCronJobResult
();
90
$cron_result->setStatus($cron_status);
91
92
return
$cron_result;
93
}
94
}
ilBookingPrefBookCron\run
run()
Definition:
class.ilBookingPrefBookCron.php:79
ilBookingPrefBookCron\getDefaultScheduleValue
getDefaultScheduleValue()
Definition:
class.ilBookingPrefBookCron.php:64
ilLanguage
ilLanguage\txt
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
Definition:
class.ilLanguage.php:172
ilBookingPrefBookCron\getDefaultScheduleType
getDefaultScheduleType()
Definition:
class.ilBookingPrefBookCron.php:59
ilBookingPrefBookCron\__construct
__construct()
Definition:
class.ilBookingPrefBookCron.php:29
ilBookingPrefBookCron\hasFlexibleSchedule
hasFlexibleSchedule()
Definition:
class.ilBookingPrefBookCron.php:74
ilCronJob
Definition:
class.ilCronJob.php:21
ilBookingPrefBookCron
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilBookingPrefBookCron.php:25
ilBookingPrefBookCron\getTitle
getTitle()
Definition:
class.ilBookingPrefBookCron.php:41
ilLanguage\loadLanguageModule
loadLanguageModule(string $a_module)
Load language module.
Definition:
class.ilLanguage.php:228
ilBookingPrefBookCron\hasAutoActivation
hasAutoActivation()
Definition:
class.ilBookingPrefBookCron.php:69
$DIC
global $DIC
Definition:
feed.php:28
ilBookingPrefBookCron\getId
getId()
Definition:
class.ilBookingPrefBookCron.php:36
ILIAS\Repository\lng
lng()
Definition:
trait.GlobalDICDomainServices.php:56
ilBookingPrefBookCron\getDescription
getDescription()
Definition:
class.ilBookingPrefBookCron.php:50
ilCronJobResult\STATUS_OK
const STATUS_OK
Definition:
class.ilCronJobResult.php:25
ilBookingPrefAutoBooking
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilBookingPrefAutoBooking.php:23
$message
$message
Definition:
xapiexit.php:32
ilCronJobResult
Definition:
class.ilCronJobResult.php:21
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ilBookingPrefBookCron\$lng
ilLanguage $lng
Definition:
class.ilBookingPrefBookCron.php:27
ilCronJobResult\STATUS_NO_ACTION
const STATUS_NO_ACTION
Definition:
class.ilCronJobResult.php:24
Modules
BookingManager
classes
class.ilBookingPrefBookCron.php
Generated on Fri Apr 4 2025 22:01:40 for ILIAS by
1.8.13 (using
Doxyfile
)