ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilObjectDataDeletionLog Class Reference
+ Collaboration diagram for ilObjectDataDeletionLog:

Static Public Member Functions

static add (ilObject $a_object)
 
static get ($a_object_id)
 

Detailed Description

Definition at line 12 of file class.ilObjectDataDeletionLog.php.

Member Function Documentation

◆ add()

static ilObjectDataDeletionLog::add ( ilObject  $a_object)
static

Definition at line 14 of file class.ilObjectDataDeletionLog.php.

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 }
getType()
get object type @access public
getId()
get object id @access public
getTitle()
get object title @access public
global $ilDB

References $ilDB, ilObject\getId(), ilObject\getTitle(), and ilObject\getType().

Referenced by ilObject\delete().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get()

static ilObjectDataDeletionLog::get (   $a_object_id)
static

Definition at line 26 of file class.ilObjectDataDeletionLog.php.

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 }

References $ilDB.

Referenced by ilBadgeUserTableGUI\__construct(), and ilBadge\getParentMeta().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: