ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
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.ilObjectDataDeletionLog.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
12
class
ilObjectDataDeletionLog
13
{
14
public
static
function
add
(
ilObject
$a_object)
15
{
16
global
$DIC
;
17
18
$ilDB
= $DIC->database();
19
20
$ilDB
->insert(
"object_data_del"
, array(
21
"obj_id"
=> array(
"integer"
, $a_object->
getId
()),
22
"type"
=> array(
"text"
, $a_object->
getType
()),
23
"title"
=> array(
"text"
, $a_object->
getTitle
()),
24
"description"
=> array(
"clob"
, $a_object->
getLongDescription
()),
25
"tstamp"
=> array(
"integer"
, time())
26
));
27
}
28
29
public
static
function
get
($a_object_id)
30
{
31
global
$DIC
;
32
33
$ilDB
= $DIC->database();
34
35
$set =
$ilDB
->query(
"SELECT * FROM object_data_del"
.
36
" WHERE obj_id = "
.
$ilDB
->quote($a_object_id,
"integer"
));
37
return
$ilDB
->fetchAssoc($set);
38
}
39
}
ilObjectDataDeletionLog
Definition:
class.ilObjectDataDeletionLog.php:12
ilObject
ilObject\getId
getId()
get object id public
Definition:
class.ilObject.php:319
ilObjectDataDeletionLog\add
static add(ilObject $a_object)
Definition:
class.ilObjectDataDeletionLog.php:14
$DIC
global $DIC
Definition:
goto.php:24
ilObject\getTitle
getTitle()
get object title public
Definition:
class.ilObject.php:395
ilObject\getType
getType()
get object type public
Definition:
class.ilObject.php:360
$ilDB
global $ilDB
Definition:
storeScorm2004.php:16
ilObject\getLongDescription
getLongDescription()
get object long description (stored in object_description)
Definition:
class.ilObject.php:458
Services
Object
classes
class.ilObjectDataDeletionLog.php
Generated on Sat Apr 5 2025 21:01:34 for ILIAS by
1.8.13 (using
Doxyfile
)