42 $this->module = $a_module;
56 $query = sprintf(
"SELECT * FROM data_cache WHERE module = %s AND keyword = %s",
57 $ilDB->quote($this->module),
58 $ilDB->quote($a_keyword)
60 $res = $ilDB->query($query);
62 if ($res->numRows() == 1)
85 $query = sprintf(
"SELECT * FROM data_cache WHERE module = %s AND keyword = %s",
86 $ilDB->quote($a_module),
87 $ilDB->quote($a_keyword)
89 $res = $ilDB->query($query);
91 if ($res->numRows() == 1)
114 $query = sprintf(
"DELETE FROM data_cache WHERE module = %s",
117 $ilDB->query($query);
129 $query = sprintf(
"DELETE FROM data_cache WHERE keyword = %s AND module = %s",
130 $ilDB->quote($a_keyword),
131 $ilDB->quote($this->module)
133 $ilDB->query($query);
147 $sql = sprintf(
"DELETE FROM data_cache WHERE keyword = %s AND module = %s",
148 $ilDB->quote($a_key),
149 $ilDB->quote($this->module)
153 $sql = sprintf(
"INSERT INTO data_cache (module, keyword, value) VALUES (%s, %s, %s)",
154 $ilDB->quote($this->module),
155 $ilDB->quote($a_key),