ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
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
$ilDB
;
17
18
$ilDB->insert(
"object_data_del"
,
array
(
19
"obj_id"
=>
array
(
"integer"
, $a_object->
getId
()),
20
"type"
=>
array
(
"text"
, $a_object->
getType
()),
21
"title"
=>
array
(
"text"
, $a_object->
getTitle
()),
22
"tstamp"
=>
array
(
"integer"
,
time
())
23
));
24
}
25
26
public
static
function
get
($a_object_id)
27
{
28
global
$ilDB
;
29
30
$set = $ilDB->query(
"SELECT * FROM object_data_del"
.
31
" WHERE obj_id = "
.$ilDB->quote($a_object_id,
"integer"
));
32
return
$ilDB->fetchAssoc($set);
33
}
34
}
ilObjectDataDeletionLog
Definition:
class.ilObjectDataDeletionLog.php:12
ilObject
Class ilObject Basic functions for all objects.
Definition:
class.ilObject.php:15
ilObject\getId
getId()
get object id public
Definition:
class.ilObject.php:290
ilObjectDataDeletionLog\add
static add(ilObject $a_object)
Definition:
class.ilObjectDataDeletionLog.php:14
ilObject\getTitle
getTitle()
get object title public
Definition:
class.ilObject.php:366
ilObject\getType
getType()
get object type public
Definition:
class.ilObject.php:331
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
$ilDB
global $ilDB
Definition:
storeScorm2004.php:16
php
time
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
Definition:
40duplicateStyle.php:39
Services
Object
classes
class.ilObjectDataDeletionLog.php
Generated on Fri Feb 21 2025 19:01:16 for ILIAS by
1.8.13 (using
Doxyfile
)