ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
q
r
s
t
u
v
w
x
z
+
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
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilBookingPrefBookCron.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once
"Services/Cron/classes/class.ilCronJob.php"
;
6
13
class
ilBookingPrefBookCron
extends
ilCronJob
14
{
18
protected
$lng
;
19
23
public
function
__construct
()
24
{
25
global
$DIC
;
26
27
$this->lng = $DIC->language();
28
}
29
30
public
function
getId
()
31
{
32
return
"book_pref_book"
;
33
}
34
35
public
function
getTitle
()
36
{
37
$lng
=
$this->lng
;
38
39
$lng
->loadLanguageModule(
"book"
);
40
41
return
$lng
->txt(
"book_pref_book_cron"
);
42
}
43
44
public
function
getDescription
()
45
{
46
$lng
=
$this->lng
;
47
48
$lng
->loadLanguageModule(
"book"
);
49
50
return
$lng
->txt(
"book_pref_book_cron_info"
);
51
}
52
53
public
function
getDefaultScheduleType
()
54
{
55
return
self::SCHEDULE_TYPE_DAILY;
56
}
57
58
public
function
getDefaultScheduleValue
()
59
{
60
return
;
61
}
62
63
public
function
hasAutoActivation
()
64
{
65
return
true
;
66
}
67
68
public
function
hasFlexibleSchedule
()
69
{
70
return
true
;
71
}
72
73
public
function
run
()
74
{
75
$cron_status =
ilCronJobResult::STATUS_NO_ACTION
;
76
$message
=
""
;
77
78
$auto_book =
new
ilBookingPrefAutoBooking
();
79
$auto_book->run();
80
81
$cron_status =
ilCronJobResult::STATUS_OK
;
82
83
$cron_result =
new
ilCronJobResult
();
84
$cron_result->setStatus($cron_status);
85
86
return
$cron_result;
87
}
88
}
ilBookingPrefBookCron\run
run()
Definition:
class.ilBookingPrefBookCron.php:73
ilBookingPrefBookCron\getDefaultScheduleValue
getDefaultScheduleValue()
Definition:
class.ilBookingPrefBookCron.php:58
ilBookingPrefBookCron\getDefaultScheduleType
getDefaultScheduleType()
Definition:
class.ilBookingPrefBookCron.php:53
ilBookingPrefBookCron\__construct
__construct()
Constructor.
Definition:
class.ilBookingPrefBookCron.php:23
ilBookingPrefBookCron\hasFlexibleSchedule
hasFlexibleSchedule()
Definition:
class.ilBookingPrefBookCron.php:68
ilCronJob
Cron job application base class.
Definition:
class.ilCronJob.php:11
ilBookingPrefBookCron
Cron for booking pools.
Definition:
class.ilBookingPrefBookCron.php:13
ilBookingPrefBookCron\getTitle
getTitle()
Definition:
class.ilBookingPrefBookCron.php:35
ilBookingPrefBookCron\hasAutoActivation
hasAutoActivation()
Definition:
class.ilBookingPrefBookCron.php:63
ilBookingPrefBookCron\getId
getId()
Definition:
class.ilBookingPrefBookCron.php:30
ilBookingPrefBookCron\$lng
$lng
Definition:
class.ilBookingPrefBookCron.php:18
ilBookingPrefBookCron\getDescription
getDescription()
Definition:
class.ilBookingPrefBookCron.php:44
ilCronJobResult\STATUS_OK
const STATUS_OK
Definition:
class.ilCronJobResult.php:15
ilBookingPrefAutoBooking
Automatic booking of overdue pools using booking by preference.
Definition:
class.ilBookingPrefAutoBooking.php:10
$DIC
$DIC
Definition:
xapitoken.php:46
$message
$message
Definition:
xapiexit.php:14
ilCronJobResult
Cron job result data container.
Definition:
class.ilCronJobResult.php:11
ilCronJobResult\STATUS_NO_ACTION
const STATUS_NO_ACTION
Definition:
class.ilCronJobResult.php:14
Modules
BookingManager
classes
class.ilBookingPrefBookCron.php
Generated on Thu Apr 3 2025 20:00:46 for ILIAS by
1.8.13 (using
Doxyfile
)