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 "tstamp" => array(
"integer", time())
28 public static function get($a_object_id)
34 $set =
$ilDB->query(
"SELECT * FROM object_data_del" .
35 " WHERE obj_id = " .
$ilDB->quote($a_object_id,
"integer"));
36 return $ilDB->fetchAssoc($set);
An exception for terminatinating execution or to throw for unit testing.
static add(ilObject $a_object)
Class ilObject Basic functions for all objects.
getType()
get object type @access public
getId()
get object id @access public
getTitle()
get object title @access public