ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 $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 }
getType()
get object type @access public
getLongDescription()
get object long description (stored in object_description)
getId()
get object id @access public
getTitle()
get object title @access public
global $DIC
Definition: saml.php:7
global $ilDB

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

+ Here is the call graph for this function:

◆ get()

static ilObjectDataDeletionLog::get (   $a_object_id)
static

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

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 }

References $DIC, and $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: