51 define(
"TABLE_SEARCH_DATA",
"search_data");
55 $this->obj_id = $a_obj_id;
56 $this->user_id = $a_user_id;
73 $this->obj_id = $a_obj_id;
81 $this->title = $a_title;
89 $this->target = $a_target;
100 include_once
'Services/Search/classes/class.ilSearchObjectListFactory.php';
105 return array($item_list_gui->getCommandLink(
'view'),
106 $item_list_gui->getCommandFrame(
'view'));
111 $query =
"UPDATE ".TABLE_SEARCH_DATA.
" ".
112 "SET title = '".addslashes($a_title).
"' ".
113 "WHERE obj_id = '".$this->getObjId().
"' ".
114 "AND user_id = '".$this->getUserId().
"'";
116 $res = $this->ilias->db->query($query);
127 $query =
"SELECT * FROM ".TABLE_SEARCH_DATA.
" ".
128 "WHERE obj_id = '".$this->getObjId().
"' ".
129 "AND user_id = '".$this->getUserId().
"'";
131 $res = $this->ilias->db->query($query);
135 $this->
setTarget(unserialize(stripslashes($row->target)));