ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
$
c
d
e
f
g
h
i
j
l
m
n
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
k
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
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Modules
Pages
class.ilCertificateMigrationRepository.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
7
class
ilCertificateMigrationRepository
8
{
12
private
$database
;
13
17
private
$logger
;
18
23
public
function
__construct
(
ilDBInterface
$database
,
ilLogger
$logger
)
24
{
25
$this->database =
$database
;
26
$this->logger =
$logger
;
27
}
28
32
public
function
deleteFromMigrationJob
(
int
$userId)
33
{
34
$this->logger->log(sprintf(
'START - Delete all certificate migration jobs for user(user_id: "%s")'
, $userId));
35
$sql =
'DELETE FROM il_cert_bgtask_migr WHERE usr_id = '
. $this->database->quote($userId,
'integer'
);
36
37
$this->database->manipulate($sql);
38
39
$this->logger->log(sprintf(
'END - Delete all certificate migration jobs for user(user_id: "%s")'
, $userId));
40
}
41
}
ilCertificateMigrationRepository\__construct
__construct(ilDBInterface $database, ilLogger $logger)
Definition:
class.ilCertificateMigrationRepository.php:23
ilCertificateMigrationRepository\$logger
$logger
Definition:
class.ilCertificateMigrationRepository.php:17
ilCertificateMigrationRepository\deleteFromMigrationJob
deleteFromMigrationJob(int $userId)
Definition:
class.ilCertificateMigrationRepository.php:32
ilCertificateMigrationRepository\$database
$database
Definition:
class.ilCertificateMigrationRepository.php:12
ilDBInterface
ilCertificateMigrationRepository
Definition:
class.ilCertificateMigrationRepository.php:7
php
ilLogger
Component logger with individual log levels by component id.
Definition:
class.ilLogger.php:19
Services
Certificate
classes
Migration
class.ilCertificateMigrationRepository.php
Generated on Thu Feb 27 2025 19:01:54 for ILIAS by
1.8.13 (using
Doxyfile
)