SQL Inventory

List of all SQL mentioned in the code..

ValueCountFile:Line
"SELECT * FROM " . $this->db->quoteIdentifier(self::ITEMS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"SELECT * FROM " . $this->db->quoteIdentifier(self::ITEMS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer') . " " . "AND link_id = " . $this->db->quote($link_id, 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"SELECT COUNT(*) AS num FROM " . $this->db->quoteIdentifier(self::ITEMS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"SELECT * FROM " . $this->db->quoteIdentifier(self::PARAMS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer') . " " . "AND link_id = " . $this->db->quote($item->getLinkId( ), 'integer') . " " . "AND param_id = " . $this->db->quote($param_id, 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"SELECT * FROM " . $this->db->quoteIdentifier(self::LISTS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"SELECT COUNT(*) AS num FROM " . $this->db->quoteIdentifier(self::LISTS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"DELETE FROM " . $this->db->quoteIdentifier(self::ITEMS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"DELETE FROM " . $this->db->quoteIdentifier(self::PARAMS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"DELETE FROM " . $this->db->quoteIdentifier(self::ITEMS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer') . " " . "AND link_id = " . $this->db->quote($link_id, 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"DELETE FROM " . $this->db->quoteIdentifier(self::PARAMS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer') . " " . "AND link_id = " . $this->db->quote($link_id, 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"DELETE FROM " . $this->db->quoteIdentifier(self::PARAMS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer') . " " . "AND link_id = " . $this->db->quote($link_id, 'integer') . " " . "AND param_id = " . $this->db->quote($param_id, 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"DELETE FROM " . $this->db->quoteIdentifier(self::LISTS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"SELECT * FROM " . $this->db->quoteIdentifier(self::PARAMS_TABLE) . " " . "WHERE webr_id = " . $this->db->quote($this->getWebrId( ), 'integer') . " " . "AND link_id = " . $this->db->quote($link_id, 'integer')1
  • /components/ILIAS/WebResource/classes/Repository/class.ilWebLinkDatabaseRepository.php
"DELETE FROM webr_params WHERE value = " . $this->db->quote(2, 'integer')1
  • /components/ILIAS/WebResource/classes/Setup/class.ilWebResourceDropValidSteps.php
"SELECT version, version_tstamp" . " FROM " . self::DB_TABLE_NAME . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/RemoteFile/classes/class.ilObjRemoteFile.php
'UPDATE `il_bibl_data` SET `rid` = %s WHERE `id` = %s;'1
  • /components/ILIAS/Bibliographic/classes/class.ilBibliographicDataSet.php
"SELECT id FROM il_bibl_data WHERE rid = " . $this->database->quote($identification->serialize( ), 'text')1
  • /components/ILIAS/Bibliographic/classes/class.ilObjBibliographicStakeholder.php
"DELETE FROM il_bibl_attribute WHERE il_bibl_attribute.entry_id IN " . "(SELECT il_bibl_entry.id FROM il_bibl_entry WHERE il_bibl_entry.data_id = " . $this->db->quote($this->getId( ), "integer") . ")"1
  • /components/ILIAS/Bibliographic/classes/class.ilObjBibliographic.php
"DELETE FROM il_bibl_data WHERE id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/Bibliographic/classes/class.ilObjBibliographic.php
"SELECT DISTINCT(a.value) FROM il_bibl_data AS d JOIN il_bibl_entry AS e ON e.data_id = d.id JOIN il_bibl_attribute AS a on a.entry_id = e.id WHERE a.name = %s AND d.id = %s"1
  • /components/ILIAS/Bibliographic/classes/Attribute/class.ilBiblAttributeFactory.php
"SELECT (e.id), e.type FROM il_bibl_entry AS e WHERE data_id = %s"1
  • /components/ILIAS/Bibliographic/classes/Entry/class.ilBiblEntryFactory.php
"SELECT DISTINCT (e.id), e.type FROM il_bibl_entry AS e JOIN il_bibl_attribute AS a ON a.entry_id = e.id WHERE data_id = %s"1
  • /components/ILIAS/Bibliographic/classes/Entry/class.ilBiblEntryFactory.php
"DELETE FROM il_bibl_entry WHERE data_id = %s"1
  • /components/ILIAS/Bibliographic/classes/Entry/class.ilBiblEntryFactory.php
'SELECT * FROM il_bibl_data'1
  • /components/ILIAS/Bibliographic/classes/Setup/class.ilBibliograficDB80.php
"UPDATE `object_data` SET `offline` = %s WHERE `obj_id` = %s AND `type` = %s AND `offline` IS NULL"1
  • /components/ILIAS/Bibliographic/classes/Setup/class.ilBibliograficDB80.php
"SELECT DISTINCT(il_bibl_attribute.name), il_bibl_data.file_type FROM il_bibl_data JOIN il_bibl_entry ON il_bibl_entry.data_id = il_bibl_data.id JOIN il_bibl_attribute ON il_bibl_attribute.entry_id = il_bibl_entry.id WHERE il_bibl_data.id = %s;"1
  • /components/ILIAS/Bibliographic/classes/Field/class.ilBiblFieldFactory.php
"UPDATE {$tablename} SET position = position + 1 WHERE data_type = %s AND position >= %s;"1
  • /components/ILIAS/Bibliographic/classes/Field/class.ilBiblFieldFactory.php
"UPDATE {$tablename} SET position = (@i := @i + 1) WHERE data_type = %s ORDER BY position"1
  • /components/ILIAS/Bibliographic/classes/Field/class.ilBiblFieldFactory.php
"SELECT MAX(position) + 1 as next_position FROM {$tablename} WHERE data_type = %s;"1
  • /components/ILIAS/Bibliographic/classes/Field/class.ilBiblFieldFactory.php
'select tree from tree ' . 'where child = ' . $db->quote($node_id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_tree . ' ' . 'WHERE parent = ' . $this->db->quote($a_node, 'integer') . ' ' . 'AND tree = ' . $this->db->quote($this->tree_id, 'integer' . ' ' . 'ORDER BY lft')1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_tree . ' ' . $this->buildJoin( ) . "WHERE parent = %s " . "AND " . $this->table_tree . "." . $this->tree_pk . " = %s " . $order_clause1
  • /components/ILIAS/Tree/classes/class.ilTree.php
"SELECT * FROM " . $this->table_tree . " " . $this->buildJoin( ) . "WHERE parent = %s " . "AND " . $this->table_tree . "." . $this->tree_pk . " = %s " . "AND " . $this->table_obj_data . ".type = %s "1
  • /components/ILIAS/Tree/classes/class.ilTree.php
"SELECT * FROM " . $this->table_tree . " " . $this->buildJoin( ) . "WHERE parent = %s " . "AND " . $this->table_tree . "." . $this->tree_pk . " = %s " . "AND " . $this->table_obj_data . ".type = %s " . "ORDER BY " . $this->table_tree . ".lft"1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_tree . ' ' . $this->buildJoin( ) . 'WHERE parent = ' . $this->db->quote($a_node_id, 'integer') . ' ' . 'AND ' . $this->table_tree . '.' . $this->tree_pk . ' = ' . $this->db->quote($this->tree_id, 'integer') . ' ' . $filter . $order_clause1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * ' . 'FROM ' . $this->table_tree . ' ' . $this->buildJoin( ) . ' ' . 'WHERE ' . $inClause . ' ' . 'AND ' . $this->table_tree . '.' . $this->tree_pk . ' = ' . $this->db->quote($this->tree_id, 'integer') . ' ' . 'ORDER BY depth'1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT t.depth, t.parent, t.child ' . 'FROM ' . $this->table_tree . ' t ' . 'WHERE ' . $this->db->in("child", $a_node_ids, false, "integer") . 'AND ' . $this->tree_pk . ' = ' . $this->db->quote($this->tree_id, "integer")1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT t.depth,t.parent,t.child,d.obj_id,d.type,d.title ' . 'FROM ' . $this->table_tree . ' t ' . 'JOIN ' . $this->table_obj_reference . ' r ON r.ref_id = t.child ' . 'JOIN ' . $this->table_obj_data . ' d ON d.obj_id = r.obj_id ' . 'WHERE ' . $this->db->in('t.child', $data, false, 'integer') . ' ' . 'ORDER BY t.depth '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT lft,rgt FROM ' . $this->table_tree . ' ' . 'WHERE ' . $this->tree_pk . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_tree . ' ' . 'WHERE ' . $this->tree_pk . ' = %s ' . 'ORDER BY lft'1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_obj_reference . ' WHERE ' . $this->ref_pk . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT MAX(depth) depth FROM ' . $this->table_tree1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT depth FROM ' . $this->table_tree . ' ' . 'WHERE child = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT depth FROM ' . $this->table_tree . ' ' . 'WHERE child = %s ' . 'AND ' . $this->tree_pk . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_tree . ' ' . 'WHERE child = ' . $this->db->quote($a_node_id, 'integer')1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_tree . ' ' . $this->buildJoin( ) . 'WHERE ' . $this->table_tree . '.child = %s ' . 'AND ' . $this->table_tree . '.' . $this->tree_pk . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT title,description FROM object_translation ' . 'WHERE obj_id = %s ' . 'AND lang_code = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_tree . ' ' . 'WHERE ' . $this->table_tree . '.child = %s ' . 'AND ' . $this->table_tree . '.' . $this->tree_pk . ' = %s'1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_tree . ' s, ' . $this->table_tree . ' v ' . $innerjoin . 'WHERE s.child = %s ' . 'AND s.parent = v.child ' . 'AND s.' . $this->tree_pk . ' = %s ' . 'AND v.' . $this->tree_pk . ' = %s'1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'INSERT INTO ' . $this->table_tree . ' (' . $this->tree_pk . ', child,parent,lft,rgt,depth) ' . 'VALUES ' . '(%s,%s,%s,%s,%s,%s)'1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'DELETE FROM ' . $this->table_tree . ' WHERE ' . $this->tree_pk . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT ' . $this->tree_pk . ' FROM ' . $this->table_tree . ' ' . 'WHERE child = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT ' . $this->tree_pk . ', child FROM ' . $this->table_tree . ' ' . 'WHERE ' . $this->db->in("child", $a_node_ids, false, "integer")1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_tree . ' ' . $this->buildJoin( ) . 'WHERE ' . $this->table_tree . '.' . $this->tree_pk . ' < %s ' . 'AND ' . $this->table_tree . '.parent = %s'1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT ' . $this->table_obj_data . '.obj_id FROM ' . $this->table_tree . ' ' . $this->buildJoin( ) . 'WHERE ' . $this->table_tree . '.' . $this->tree_pk . ' < ' . $this->db->quote(0, 'integer') . ' ' . 'AND ' . $this->db->in($this->table_obj_data . '.obj_id', $a_obj_ids, false, 'integer')1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT parent FROM ' . $this->table_tree . ' ' . 'WHERE child = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT parent FROM ' . $this->table_tree . ' ' . 'WHERE child = %s ' . 'AND ' . $this->tree_pk . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT child FROM ' . $this->table_tree . ' ' . 'WHERE parent = %s ' . 'AND ' . $this->tree_pk . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'UPDATE ' . $this->table_tree . ' SET lft = %s WHERE child = %s'1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'UPDATE ' . $this->table_tree . ' SET lft = %s WHERE child = %s AND tree = %s'1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_tree . ' ' . 'WHERE parent = ' . $this->db->quote($node_id, 'integer') . ' ' . 'ORDER BY lft'1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'UPDATE ' . $this->table_tree . ' SET rgt = %s WHERE child = %s'1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'UPDATE ' . $this->table_tree . ' SET rgt = %s WHERE child = %s AND tree = %s'1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'DELETE FROM ' . $a_db_table . ' ' . 'WHERE tree = %s ' . 'AND child = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_tree . ' ' . 'WHERE child = %s ' . 'AND tree = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT * FROM ' . $this->table_tree . ' ' . 'WHERE parent = %s '1
  • /components/ILIAS/Tree/classes/class.ilTree.php
"SELECT " . $fields . " FROM " . $this->getTreeTable( ) . " " . $this->buildJoin( ) . " WHERE " . $this->getTableReference( ) . "." . $this->ref_pk . " IN (" . $query . ")" . " AND " . $this->db->in($this->getObjectDataTable( ) . "." . $this->obj_pk, $a_obj_ids, false, "integer")1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'DELETE FROM tree where ' . 'child = ' . $this->db->quote($a_node_id, 'integer') . ' ' . 'AND tree = ' . $this->db->quote($a_tree_id, 'integer')1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'SELECT DISTINCT(o.type) ' . $this->db->quoteIdentifier('type') . ' FROM tree t JOIN object_reference r ON child = r.ref_id ' . 'JOIN object_data o on r.obj_id = o.obj_id ' . 'WHERE tree < ' . $this->db->quote(0, 'integer') . ' ' . 'AND child = -tree ' . 'GROUP BY o.type'1
  • /components/ILIAS/Tree/classes/class.ilTree.php
'select tree,child,parent from tree ' . 'where ' . $this->db->in('child', $ref_ids, false, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/class.ilTreeTrashQueries.php
'select parent from tree ' . 'where child = ' . $this->db->quote($deleted_node, \ilDBConstants::T_INTEGER) . ' ' . 'and tree = ' . $this->db->quote($deleted_node * -1, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/class.ilTreeTrashQueries.php
'select distinct(type) obj_type from object_data obd ' . 'join object_reference obr on obd.obj_id = obr.obj_id ' . 'where ref_id in (' . $subtreequery . ' ' . ') '1
  • /components/ILIAS/Tree/classes/class.ilTreeTrashQueries.php
'SELECT ref_id, obd.obj_id, type, title, description, deleted, deleted_by '1
  • /components/ILIAS/Tree/classes/class.ilTreeTrashQueries.php
'SELECT COUNT(ref_id) max_entries '1
  • /components/ILIAS/Tree/classes/class.ilTreeTrashQueries.php
'SELECT child FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE path BETWEEN ' . $this->db->quote($node['path'], 'text') . ' AND ' . $this->db->quote($node['path'] . '.Z', 'text') . ' ' . 'AND child != %s ' . 'AND ' . $this->getTree( )->getTreePk( ) . ' = %s'1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'SELECT ' . $fields . ' ' . 'FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . $join . ' ' . 'WHERE ' . $this->getTree( )->getTreeTable( ) . '.path ' . 'BETWEEN ' . $this->db->quote($a_node['path'], 'text') . ' AND ' . $this->db->quote($a_node['path'] . '.Z', 'text') . ' ' . 'AND ' . $this->getTree( )->getTreeTable( ) . '.' . $this->getTree( )->getTreePk( ) . ' < 0 ' . $type_str . ' ' . 'ORDER BY ' . $this->getTree( )->getTreeTable( ) . '.path'1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'SELECT ' . $fields . ' ' . 'FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . $join . ' ' . 'WHERE ' . $this->getTree( )->getTreeTable( ) . '.path ' . 'BETWEEN ' . $this->db->quote($a_node['path'], 'text') . ' AND ' . $this->db->quote($a_node['path'] . '.Z', 'text') . ' ' . 'AND ' . $this->getTree( )->getTreeTable( ) . '.' . $this->getTree( )->getTreePk( ) . ' = ' . $this->db->quote($this->getTree( )->getTreeId( ), 'integer') . ' ' . $type_str . ' ' . 'ORDER BY ' . $this->getTree( )->getTreeTable( ) . '.path'1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'SELECT path FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE child = ' . $this->db->quote($a_endnode, 'integer') . ' '1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'SELECT parent, depth, path FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE child = %s ' . ' ' . 'AND ' . $this->getTree( )->getTreePk( ) . ' = %s'1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'SELECT * FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE ' . $this->getTree( )->getTreeTable( ) . '.child = %s ' . 'AND ' . $this->getTree( )->getTreeTable( ) . '.' . $this->getTree( )->getTreePk( ) . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'DELETE FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE path BETWEEN ' . $this->db->quote($node['path'], 'text') . ' ' . 'AND ' . $this->db->quote($node['path'] . '.Z', 'text') . ' ' . 'AND ' . $this->getTree( )->getTreePk( ) . ' = ' . $this->db->quote($this->getTree( )->getTreeId( ), 'integer')1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
' UPDATE ' . $this->getTree( )->getTreeTable( ) . ' ' . 'SET tree = %s' . ' ' . 'WHERE ' . $this->getTree( )->getTreePk( ) . ' = %s ' . 'AND path BETWEEN %s AND %s'1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'SELECT depth, child, parent, path FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE ' . $this->db->in('child', array($a_source_id, $a_target_id), false, 'integer') . ' ' . 'AND tree = ' . $this->db->quote($this->getTree( )->getTreeId( ), 'integer')1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'SELECT MAX(depth) max_depth ' . 'FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE path BETWEEN %s AND %s' . ' ' . 'AND tree = %s '1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' ' . 'SET parent = CASE WHEN parent = ' . $this->db->quote($source_parent, 'integer') . ' ' . 'THEN ' . $this->db->quote($a_target_id, 'integer') . ' ' . 'ELSE parent END, path = ' . $this->db->concat(array(array($this->db->quote($target_path, 'text'), 'text'), array($this->db->substr('path', strrpos('.' . $source_path, '.')), 'text'))) . ' ' . ',depth = depth + ' . $this->db->quote($depth_diff, 'integer') . ' ' . 'WHERE path BETWEEN ' . $this->db->quote($source_path, 'text') . ' ' . 'AND ' . $this->db->quote($source_path . '.Z', 'text') . ' '1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'SELECT DISTINCT * FROM tree WHERE parent = %s'1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
' UPDATE tree SET path = CONCAT(COALESCE(' . $db->quote($parentPath, 'text') . ', \'\'), COALESCE( ' . $db->cast("child", "text") . ' , \'\')) WHERE parent = %s'1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'SELECT child FROM tree WHERE parent = %s'1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
" SELECT t1." . $this->getTree( )->getTreePk( ) . ", t1.path FROM " . $this->getTree( )->getTreeTable( ) . " t1 WHERE t1.child = " . $this->db->quote($a_endnode_id, 'integer') . $treeClause11
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
"SELECT t2." . $this->getTree( )->getTreePk( ) . ", t2.child child, t2.parent parent, type, t2.path path " . "FROM " . $this->getTree( )->getTreeTable( ) . " t2 " . "JOIN " . $this->getTree( )->getTableReference( ) . " obr ON t2.child = obr.ref_id " . "JOIN " . $this->getTree( )->getObjectDataTable( ) . " obd ON obr.obj_id = obd.obj_id " . "WHERE t2.path BETWEEN " . $this->db->quote($path, 'text') . " AND " . $this->db->quote($path . '.Z', 'text') . $treeClause2 . ' ' . "ORDER BY t2.path"1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'select ' . $this->getTree( )->getTreePk( ) . ', child from ' . $this->getTree( )->getTreeTable( ) . ' child where not exists ' . '( ' . 'select child from ' . $this->getTree( )->getTreeTable( ) . ' parent where child.parent = parent.child and ' . '(child.path BETWEEN parent.path AND CONCAT(parent.path,' . $this->db->quote('Z', 'text') . ') )' . ')' . 'and ' . $this->getTree( )->getTreePk( ) . ' = ' . $this->getTree( )->getTreeId( ) . ' and child <> 1'1
  • /components/ILIAS/Tree/classes/class.ilMaterializedPathTree.php
'SELECT s.child FROM ' . $this->getTree( )->getTreeTable( ) . ' s, ' . $this->getTree( )->getTreeTable( ) . ' t ' . 'WHERE t.child = %s ' . 'AND s.lft > t.lft ' . 'AND s.rgt < t.rgt ' . 'AND s.' . $this->getTree( )->getTreePk( ) . ' = %s'1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT ' . $fields . ' ' . "FROM " . $this->getTree( )->getTreeTable( ) . " " . $join . ' ' . "WHERE " . $this->getTree( )->getTreeTable( ) . '.lft ' . 'BETWEEN ' . $this->db->quote($a_node['lft'], 'integer') . ' ' . 'AND ' . $this->db->quote($a_node['rgt'], 'integer') . ' ' . "AND " . $this->getTree( )->getTreeTable( ) . "." . $this->getTree( )->getTreePk( ) . ' < 0 ' . $type_str . ' ' . "ORDER BY " . $this->getTree( )->getTreeTable( ) . ".lft"1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT ' . $fields . ' ' . "FROM " . $this->getTree( )->getTreeTable( ) . " " . $join . ' ' . "WHERE " . $this->getTree( )->getTreeTable( ) . '.lft ' . 'BETWEEN ' . $this->db->quote($a_node['lft'], 'integer') . ' ' . 'AND ' . $this->db->quote($a_node['rgt'], 'integer') . ' ' . "AND " . $this->getTree( )->getTreeTable( ) . "." . $this->getTree( )->getTreePk( ) . " = " . $this->db->quote($this->getTree( )->getTreeId( ), 'integer') . ' ' . $type_str . ' ' . "ORDER BY " . $this->getTree( )->getTreeTable( ) . ".lft"1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'lft = CASE WHEN lft > %s THEN lft + 2 ELSE lft END, ' . 'rgt = CASE WHEN rgt > %s THEN rgt + 2 ELSE rgt END '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'lft = CASE WHEN lft > %s THEN lft + 2 ELSE lft END, ' . 'rgt = CASE WHEN rgt > %s THEN rgt + 2 ELSE rgt END ' . 'WHERE ' . $this->getTree( )->getTreePk( ) . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT rgt,lft,parent FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE child = %s ' . 'AND ' . $this->getTree( )->getTreePk( ) . ' = %s'1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT MAX(rgt) max_rgt FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE parent = %s '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT MAX(rgt) max_rgt FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE parent = %s ' . 'AND ' . $this->getTree( )->getTreePk( ) . ' = %s'1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'lft = CASE WHEN lft > %s THEN lft + %s ELSE lft END, ' . 'rgt = CASE WHEN rgt >= %s THEN rgt + %s ELSE rgt END '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'lft = CASE WHEN lft > %s THEN lft + %s ELSE lft END, ' . 'rgt = CASE WHEN rgt >= %s THEN rgt + %s ELSE rgt END ' . 'WHERE ' . $this->getTree( )->getTreePk( ) . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT * FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE child = %s '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'lft = CASE WHEN lft > %s THEN lft + 2 ELSE lft END, ' . 'rgt = CASE WHEN rgt >= %s THEN rgt + 2 ELSE rgt END '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'lft = CASE WHEN lft > %s THEN lft + 2 ELSE lft END, ' . 'rgt = CASE WHEN rgt >= %s THEN rgt + 2 ELSE rgt END ' . 'WHERE ' . $this->getTree( )->getTreePk( ) . ' = %s'1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'lft = CASE WHEN lft > %s THEN lft + 2 ELSE lft END, ' . 'rgt = CASE WHEN rgt > %s THEN rgt + 2 ELSE rgt END '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'lft = CASE WHEN lft > %s THEN lft + 2 ELSE lft END, ' . 'rgt = CASE WHEN rgt > %s THEN rgt + 2 ELSE rgt END ' . 'WHERE ' . $this->getTree( )->getTreePk( ) . ' = %s'1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'INSERT INTO ' . $this->getTree( )->getTreeTable( ) . ' (' . $this->getTree( )->getTreePk( ) . ',child,parent,lft,rgt,depth) ' . 'VALUES (%s,%s,%s,%s,%s,%s)'1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT * FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE child = ' . $this->db->quote($a_node_id, 'integer') . ' ' . 'AND ' . $this->getTree( )->getTreePk( ) . ' = ' . $this->db->quote($this->getTree( )->getTreeId( ), 'integer')1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'DELETE FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE lft BETWEEN %s AND %s ' . 'AND rgt BETWEEN %s AND %s ' . 'AND ' . $this->getTree( )->getTreePk( ) . ' = %s'1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'lft = CASE WHEN lft > %s THEN lft - %s ELSE lft END, ' . 'rgt = CASE WHEN rgt > %s THEN rgt - %s ELSE rgt END '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'lft = CASE WHEN lft > %s THEN lft - %s ELSE lft END, ' . 'rgt = CASE WHEN rgt > %s THEN rgt - %s ELSE rgt END ' . 'WHERE ' . $this->getTree( )->getTreePk( ) . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' ' . 'SET tree = ' . $this->db->quote(-1 * $node['child'], 'integer') . ' ' . 'WHERE ' . $this->getTree( )->getTreePk( ) . ' = ' . $this->db->quote($this->getTree( )->getTreeId( ), 'integer') . ' ' . 'AND lft BETWEEN ' . $this->db->quote($node['lft'], 'integer') . ' AND ' . $this->db->quote($node['rgt'], 'integer') . ' '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT ' . $qSelect . ' ' . 'FROM ' . $this->getTree( )->getTreeTable( ) . ' t0 ' . $qJoin . ' ' . 'WHERE t0.child = %s '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT ' . $qSelect . ' ' . 'FROM ' . $this->getTree( )->getTreeTable( ) . ' t0 ' . $qJoin . ' ' . 'WHERE t0.' . $this->getTree( )->getTreePk( ) . ' = %s ' . 'AND t0.child = %s '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
"SELECT T2.child " . "FROM " . $this->getTree( )->getTreeTable( ) . " T1, " . $this->getTree( )->getTreeTable( ) . " T2 " . "WHERE T1.child = %s " . "AND T1.lft BETWEEN T2.lft AND T2.rgt " . "ORDER BY T2.depth"1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
"SELECT T2.child " . "FROM " . $this->getTree( )->getTreeTable( ) . " T1, " . $this->getTree( )->getTreeTable( ) . " T2 " . "WHERE T1.child = %s " . "AND T1.lft BETWEEN T2.lft AND T2.rgt " . "AND T1." . $this->getTree( )->getTreePk( ) . " = %s " . "AND T2." . $this->getTree( )->getTreePk( ) . " = %s " . "ORDER BY T2.depth"1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT * FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE ( child = %s OR child = %s ) ' . 'AND ' . $this->getTree( )->getTreePk( ) . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'lft = CASE WHEN lft > %s THEN lft + %s ELSE lft END, ' . 'rgt = CASE WHEN rgt >= %s THEN rgt + %s ELSE rgt END '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'parent = CASE WHEN parent = %s THEN %s ELSE parent END, ' . 'rgt = rgt + %s, ' . 'lft = lft + %s, ' . 'depth = depth + %s ' . 'WHERE lft >= %s ' . 'AND rgt <= %s '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'UPDATE ' . $this->getTree( )->getTreeTable( ) . ' SET ' . 'lft = CASE WHEN lft >= %s THEN lft - %s ELSE lft END, ' . 'rgt = CASE WHEN rgt >= %s THEN rgt - %s ELSE rgt END '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
"SELECT t2.lft lft, t2.rgt rgt, t2.child child, t2.parent parent, type " . "FROM " . $this->getTree( )->getTreeTable( ) . " t1 " . "JOIN " . $this->getTree( )->getTreeTable( ) . " t2 ON (t2.lft BETWEEN t1.lft AND t1.rgt) " . "JOIN " . $this->getTree( )->getTableReference( ) . " obr ON t2.child = obr.ref_id " . "JOIN " . $this->getTree( )->getObjectDataTable( ) . " obd ON obr.obj_id = obd.obj_id " . "WHERE t1.child = " . $this->db->quote($a_endnode_id, 'integer') . " " . "AND t1." . $this->getTree( )->getTreePk( ) . " = " . $this->db->quote($this->getTree( )->getTreeId( ), 'integer') . " " . "AND t2." . $this->getTree( )->getTreePk( ) . " = " . $this->db->quote($this->getTree( )->getTreeId( ), 'integer') . " " . "ORDER BY t2.lft"1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'select ' . $this->getTree( )->getTreePk( ) . ', child from ' . $this->getTree( )->getTreeTable( ) . ' child where not exists ' . '( ' . 'select child from ' . $this->getTree( )->getTreeTable( ) . ' parent where child.parent = parent.child and (parent.lft < child.lft) and (parent.rgt > child.rgt) ' . ')' . 'and ' . $this->getTree( )->getTreePk( ) . ' = ' . $this->getTree( )->getTreeId( ) . ' and child <> 1'1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT count(*) cnt FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . $this->getTree( )->buildJoin( ) . 'WHERE lft <= %s ' . 'AND type = %s ' . 'AND parent = %s ' . 'AND ' . $this->getTree( )->getTreeTable( ) . '.' . $this->getTree( )->getTreePk( ) . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT count(*) cnt FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . $this->getTree( )->buildJoin( ) . 'WHERE lft <= %s ' . 'AND parent = %s ' . 'AND ' . $this->getTree( )->getTreeTable( ) . '.' . $this->getTree( )->getTreePk( ) . ' = %s '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT * FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . $this->getTree( )->buildJoin( ) . 'WHERE lft > %s ' . 'AND ' . $this->getTree( )->getObjectDataTable( ) . '.type = %s ' . 'AND ' . $this->getTree( )->getTreeTable( ) . '.' . $this->getTree( )->getTreePk( ) . ' = %s ' . 'ORDER BY lft '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT * FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . $this->getTree( )->buildJoin( ) . 'WHERE lft > %s ' . 'AND ' . $this->getTree( )->getTreeTable( ) . '.' . $this->getTree( )->getTreePk( ) . ' = %s ' . 'ORDER BY lft '1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT * FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . $this->getTree( )->buildJoin( ) . 'WHERE lft < %s ' . 'AND ' . $this->getTree( )->getObjectDataTable( ) . '.type = %s ' . 'AND ' . $this->getTree( )->getTreeTable( ) . '.' . $this->getTree( )->getTreePk( ) . ' = %s ' . 'ORDER BY lft DESC'1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
'SELECT * FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . $this->getTree( )->buildJoin( ) . 'WHERE lft < %s ' . 'AND ' . $this->getTree( )->getTreeTable( ) . '.' . $this->getTree( )->getTreePk( ) . ' = %s ' . 'ORDER BY lft DESC'1
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php
"SELECT * FROM object_data " . " WHERE type = %s "1
  • /components/ILIAS/Tree/classes/Setup/class.ilTreeAdminNodeAddedObjective.php
"SELECT * FROM object_reference " . " WHERE obj_id = %s "1
  • /components/ILIAS/Tree/classes/Setup/class.ilTreeAdminNodeAddedObjective.php
'UPDATE tree SET lft = %s WHERE child = %s'1
  • /components/ILIAS/Tree/classes/Setup/class.ilTreeImplementationSwitch.php
'SELECT child FROM tree WHERE parent = ' . $db->quote($node_id, ilDBConstants::T_INTEGER) . ' ORDER BY lft'1
  • /components/ILIAS/Tree/classes/Setup/class.ilTreeImplementationSwitch.php
'UPDATE tree SET rgt = %s WHERE child = %s'1
  • /components/ILIAS/Tree/classes/Setup/class.ilTreeImplementationSwitch.php
'SELECT child FROM tree first ' . 'WHERE EXISTS ( ' . 'SELECT child FROM tree second WHERE first.child = second.child ' . 'GROUP BY child HAVING COUNT(child) > 1 ) ' . 'ORDER BY depth DESC'1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT * FROM tree WHERE child = ' . $ilDB->quote($a_child, ilDBConstants::T_INTEGER) . ' AND tree = ' . $ilDB->quote($a_tree_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT obj_id FROM object_reference WHERE ref_id = ' . $ilDB->quote($a_child, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT title, description, type FROM object_data ' . 'WHERE obj_id = ' . $ilDB->quote($ref_row->obj_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT * FROM tree WHERE tree = ' . $ilDB->quote($a_tree_id, ilDBConstants::T_INTEGER) . ' ' . 'AND child = ' . $ilDB->quote($a_childs, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT * FROM tree first ' . 'WHERE EXISTS ( ' . 'SELECT child FROM tree second WHERE first.child = second.child ' . 'GROUP BY child HAVING COUNT(child) > 1 ) ' . 'AND child = ' . $ilDB->quote($a_duplicate_id, ilDBConstants::T_INTEGER) . ' ' . 'ORDER BY depth DESC'1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT child FROM tree ' . 'WHERE parent = ' . $ilDB->quote($dup_id, ilDBConstants::T_INTEGER) . ' ' . 'AND tree = ' . $ilDB->quote($tree_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'DELETE FROM tree ' . 'WHERE child = ' . $ilDB->quote($dup_id, ilDBConstants::T_INTEGER) . ' ' . 'AND tree = ' . $ilDB->quote($tree_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT child, count(child) num FROM tree ' . 'GROUP BY child ' . 'HAVING count(child) > 1'1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT obj_id FROM object_reference ' . 'WHERE ref_id = ' . $this->db->quote($a_ref_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT type, title FROM object_data ' . 'WHERE obj_id = ' . $this->db->quote($row->obj_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'DELETE FROM object_reference WHERE ref_id = ' . $this->db->quote($a_ref_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT ref_id FROM object_reference ' . 'LEFT JOIN tree ON ref_id = child ' . 'WHERE child IS NULL'1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT tree, child FROM tree ' . 'WHERE child = ' . $this->db->quote($ref_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT child FROM tree ' . 'WHERE parent = ' . $this->db->quote($a_ref_id, ilDBConstants::T_INTEGER) . ' ' . 'AND tree = ' . $this->db->quote($a_tree_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT tree, child FROM tree ' . 'WHERE child = ' . $this->db->quote($row->child, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'DELETE from tree ' . 'WHERE tree = ' . $this->db->quote($a_tree_id, ilDBConstants::T_INTEGER) . ' ' . 'AND child = ' . $this->db->quote($a_ref_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT child FROM tree ' . 'LEFT JOIN object_reference ON child = ref_id ' . 'WHERE ref_id IS NULL'1
  • /components/ILIAS/Tree/classes/SystemCheck/class.ilSCTreeTasks.php
'SELECT * FROM osc_conversation WHERE ' . $this->db->in('id', $conversationIds, false, 'text')1
  • /components/ILIAS/OnScreenChat/classes/Repository/Conversation.php
" SELECT osc_messages.* FROM osc_messages WHERE osc_messages.conversation_id = %s AND $inParticipants ORDER BY osc_messages.timestamp DESC "1
  • /components/ILIAS/OnScreenChat/classes/Repository/Conversation.php
'SELECT DISTINCT(conversation_id) FROM osc_activity WHERE user_id = %s'1
  • /components/ILIAS/OnScreenChat/classes/Repository/Subscriber.php
'SELECT DISTINCT(conversation_id) FROM osc_messages WHERE user_id = %s'1
  • /components/ILIAS/OnScreenChat/classes/Repository/Subscriber.php
'SELECT DISTINCT(participants) FROM osc_conversation WHERE ' . $in1
  • /components/ILIAS/OnScreenChat/classes/Repository/Subscriber.php
'UPDATE osc_messages SET message = ' . $replaced_message1
  • /components/ILIAS/OnScreenChat/classes/Setup/UpdateSteps.php
'Show login page'1
  • /components/ILIAS/Init/classes/class.ilStartUpGUI.php
'SELECT EXISTS(SELECT 1 FROM usr_pwassist WHERE pwassist_id = %s) AS hit'1
  • /components/ILIAS/Init/classes/PasswordAssistance/Repository/PasswordAssistanceDbRepository.php
'SELECT * FROM usr_pwassist WHERE user_id = ' . $this->db->quote($usr_id->toInt( ), \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Init/classes/PasswordAssistance/Repository/PasswordAssistanceDbRepository.php
'SELECT * FROM usr_pwassist WHERE pwassist_id = ' . $this->db->quote($hash->value( ), \ilDBConstants::T_TEXT)1
  • /components/ILIAS/Init/classes/PasswordAssistance/Repository/PasswordAssistanceDbRepository.php
'DELETE FROM usr_pwassist ' . 'WHERE pwassist_id = ' . $this->db->quote($hash->value( ), \ilDBConstants::T_TEXT) . ' ' . 'OR user_id = ' . $this->db->quote($usr_id->toInt( ), \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Init/classes/PasswordAssistance/Repository/PasswordAssistanceDbRepository.php
'INSERT INTO usr_pwassist (pwassist_id, expires, user_id, ctime) VALUES (%s, %s, %s, %s)'1
  • /components/ILIAS/Init/classes/PasswordAssistance/Repository/PasswordAssistanceDbRepository.php
'DELETE FROM usr_pwassist WHERE pwassist_id = ' . $this->db->quote($session->hash( )->value( ), \ilDBConstants::T_TEXT)1
  • /components/ILIAS/Init/classes/PasswordAssistance/Repository/PasswordAssistanceDbRepository.php
"INSERT INTO crs_timings_usr_accept (crs_id,usr_id,visible,accept,remark) " . "VALUES( " . $this->db->quote($this->getCourseId( ), 'integer') . ", " . $this->db->quote($this->getUserId( ), 'integer') . ", " . $this->db->quote($this->isVisible( ), 'integer') . ", " . $this->db->quote($this->isAccepted( ), 'integer') . ", " . $this->db->quote($this->getRemark( ), 'text') . " " . ")"1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingAccepted.php
"Select a single choice"1
  • /components/ILIAS/UI/src/examples/Input/Field/Section/nested.php
'show the hidden tool'1
  • /components/ILIAS/UI/src/examples/Layout/Page/Standard/ui.php
'Show Card'1
  • /components/ILIAS/UI/src/examples/Popover/Standard/show_card_in_popover.php
'Show me some Series'1
  • /components/ILIAS/UI/src/examples/Popover/Standard/show_popover_with_vertical_scrollbars.php
'Show Listing'1
  • /components/ILIAS/UI/src/examples/Popover/Listing/base.php
'Show Close Button Demo'1
  • /components/ILIAS/UI/src/examples/Button/Close/modal.php
'Show Prompt with Form'1
  • /components/ILIAS/UI/src/examples/Prompt/Standard/form.php
'Show Prompt with Parameter'1
  • /components/ILIAS/UI/src/examples/Prompt/Standard/parameters.php
'Show Prompt with a lot of Items'1
  • /components/ILIAS/UI/src/examples/Prompt/Standard/parameters.php
'Delete Items'1
  • /components/ILIAS/UI/src/examples/Modal/Interruptive/show_modal_on_button_click_async_rendered.php
'Delete ' . $item1
  • /components/ILIAS/UI/src/examples/Modal/Interruptive/show_modal_on_button_click_async_rendered.php
'Show Text'1
  • /components/ILIAS/UI/src/examples/Modal/LightboxTextPage/show_a_single_text.php
'Show Texts'1
  • /components/ILIAS/UI/src/examples/Modal/LightboxTextPage/show_multiple_texts.php
'Show some fancy images and texts'1
  • /components/ILIAS/UI/src/examples/Modal/Lightbox/show_different_page_types.php
'Show some fancy images'1
  • /components/ILIAS/UI/src/examples/Modal/LightboxImagePage/show_multiple_images.php
'Show Image'1
  • /components/ILIAS/UI/src/examples/Modal/LightboxImagePage/show_a_single_image.php
'Show some standard interruptive items'1
  • /components/ILIAS/UI/src/examples/Modal/InterruptiveItem/Standard/base.php
'Show some key-value interruptive Items'1
  • /components/ILIAS/UI/src/examples/Modal/InterruptiveItem/KeyValue/base.php
'delete from ' . $this->getTable( ) . ' ' . 'where ' . $this->buildPrimaryWhere( )1
  • /components/ILIAS/ADT/classes/Types/MultiEnum/class.ilADTMultiEnumDBBridge.php
'delete from ' . $this->getTable( ) . ' ' . 'where ' . $this->buildPrimaryWhere( ) . ' ' . 'and value_index != ' . $this->db->quote('', ilDBConstants::T_TEXT)1
  • /components/ILIAS/ADT/classes/Types/LocalizedText/class.ilADTLocalizedTextDBBridge.php
"SELECT " . $this->getElementId( ) . " FROM " . $this->getSubTableName( ) . " WHERE " . $this->buildPrimaryWhere( )1
  • /components/ILIAS/ADT/classes/Bridges/class.ilADTMultiDBBridge.php
"SELECT * FROM " . $this->properties->getTable( ) . " WHERE " . $this->properties->buildPrimaryWhere( )1
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecord.php
"DELETE FROM " . $this->properties->getTable( ) . " WHERE " . $this->properties->buildPrimaryWhere( )1
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecord.php
"SELECT * FROM " . $table . " WHERE " . $this->properties->buildPrimaryWhere( )1
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecordByType.php
"SELECT " . $this->getElementIdColumn( ) . " FROM " . $table . " WHERE " . $this->properties->buildPrimaryWhere( )1
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecordByType.php
"DELETE FROM " . $table . " WHERE " . $this->properties->buildPrimaryWhere( ) . " AND " . $this->db->in($this->getElementIdColumn( ), $element_ids, false, $this->element_column_type)1
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecordByType.php
"DELETE FROM " . $a_table . "_" . $table . " WHERE " . $where1
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecordByType.php
"DELETE FROM " . $a_table . "_" . $found . " WHERE " . $where1
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecordByType.php
"SELECT * FROM " . $sub_table . " WHERE " . $where1
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecordByType.php
"SELECT * FROM " . $a_table . "_" . $found . " WHERE " . $where1
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecordByType.php
'insert into ' . $table_name . ' ( '1
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecordByType.php
"UPDATE " . $a_table . "_" . $found . " SET " . $value_col . "=" . $ilDB->quote($a_value, $type_map[$found]) . " WHERE " . $where1
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecordByType.php
"SELECT *" . $a_additional_fields . " FROM " . $a_table . "_" . $found . " WHERE field_id = " . $ilDB->quote($a_field_id, "integer") . " AND " . $a_condition1
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecordByType.php
"SELECT MAX(" . $this->il_db->quoteIdentifier($seq_field) . ") ma FROM " . $this->il_db->quoteIdentifier($a_table)1
  • /components/ILIAS/Database/classes/class.ilDBAnalyzer.php
"SELECT COUNT(*) AS cnt FROM benchmark"1
  • /components/ILIAS/Database/classes/class.ilBenchmark.php
"SELECT * FROM benchmark"1
  • /components/ILIAS/Database/classes/class.ilBenchmark.php
"SELECT DISTINCT(table_name) FROM abstraction_progress "1
  • /components/ILIAS/Database/classes/class.ilDBGenerator.php
"SELECT MAX(" . self::FIELD_STEP . ") AS " . self::FIELD_STEP . " FROM " . self::TABLE_NAME . " WHERE " . self::FIELD_CLASS . " = " . $this->db->quote($class, "text")1
  • /components/ILIAS/Database/classes/Setup/class.ilDBStepExecutionDB.php
"SELECT MAX(" . self::FIELD_STEP . ") AS " . self::FIELD_STEP . " FROM " . self::TABLE_NAME . " WHERE " . self::FIELD_CLASS . " = " . $this->db->quote($class, "text") . " AND " . self::FIELD_FINISHED . " IS NOT NULL"1
  • /components/ILIAS/Database/classes/Setup/class.ilDBStepExecutionDB.php
'SELECT @@GLOBAL.innodb_default_row_format AS row_format;'1
  • /components/ILIAS/Database/classes/Setup/class.ilDatabaseEnvironmentValidObjective.php
'DELETE FROM il_db_steps WHERE finished IS NULL'1
  • /components/ILIAS/Database/classes/Setup/class.ilDatabaseResetStepsObjective.php
'SELECT class FROM il_db_steps WHERE finished IS NULL'1
  • /components/ILIAS/Database/classes/Setup/class.ilDatabaseResetStepsObjective.php
"SELECT table_name FROM INFORMATION_SCHEMA.TABLES WHERE ENGINE != %s AND table_schema = %s;"1
  • /components/ILIAS/Database/classes/Setup/class.ilMysqlMyIsamToInnoDbMigration.php
"SHOW TABLES LIKE :table_name"1
  • /components/ILIAS/Database/classes/PDO/class.ilDBPdo.php
"INSERT INTO " . $this->quoteIdentifier($table_name) . " (" . $fields_string . ") VALUES (" . $values_string . ")"1
  • /components/ILIAS/Database/classes/PDO/class.ilDBPdo.php
'SELECT VERSION()'1
  • /components/ILIAS/Database/classes/PDO/class.ilDBPdo.php
"SELECT VERSION() AS version"1
  • /components/ILIAS/Database/classes/PDO/class.ilDBPdo.php
'SHOW ENGINES'1
  • /components/ILIAS/Database/classes/PDO/class.ilDBPdoMySQL.php
"INSERT INTO $sequence_name ($seqcol_name) VALUES (NULL)"1
  • /components/ILIAS/Database/classes/PDO/class.ilDBPdoMySQL.php
'SELECT LAST_INSERT_ID() AS next'1
  • /components/ILIAS/Database/classes/PDO/class.ilDBPdoMySQL.php
"DELETE FROM $sequence_name WHERE $seqcol_name < $value"1
  • /components/ILIAS/Database/classes/PDO/class.ilDBPdoMySQL.php
"SHOW COLUMNS FROM $table LIKE " . $this->db_instance->quote($field_name)1
  • /components/ILIAS/Database/classes/PDO/Reverse/class.ilDBPdoReverse.php
'SHOW TABLES ' . ($database ? ' IN ' . $database : '')1
  • /components/ILIAS/Database/classes/PDO/Manager/class.ilDBPdoManager.php
"SHOW TABLES LIKE '%_seq'"1
  • /components/ILIAS/Database/classes/PDO/Manager/class.ilDBPdoManager.php
"INSERT INTO $sequence_name ($seqcol_name) VALUES (" . ($start - 1) . ')'1
  • /components/ILIAS/Database/classes/PDO/Manager/class.ilDBPdoManager.php
"SHOW COLUMNS FROM $table"1
  • /components/ILIAS/Database/classes/PDO/Manager/class.ilDBPdoManager.php
"SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE CONSTRAINT_TYPE='FOREIGN KEY';"1
  • /components/ILIAS/Database/classes/PDO/Manager/class.ilDBPdoManager.php
'SELECT COUNT(1) as violations FROM %s LEFT JOIN %s ON %s WHERE %s'1
  • /components/ILIAS/Database/classes/Integrity/Integrity.php
"SELECT MAX(" . ilDBStepExecutionDB::FIELD_STEP . ") AS " . ilDBStepExecutionDB::FIELD_STEP . " FROM " . ilDBStepExecutionDB::TABLE_NAME . " WHERE " . ilDBStepExecutionDB::FIELD_CLASS . " = CLASS"1
  • /components/ILIAS/Database/tests/Setup/ilDBStepExecutionDBTest.php
"SELECT MAX(" . ilDBStepExecutionDB::FIELD_STEP . ") AS " . ilDBStepExecutionDB::FIELD_STEP . " FROM " . ilDBStepExecutionDB::TABLE_NAME . " WHERE " . ilDBStepExecutionDB::FIELD_CLASS . " = CLASS" . " AND " . ilDBStepExecutionDB::FIELD_FINISHED . " IS NOT NULL"1
  • /components/ILIAS/Database/tests/Setup/ilDBStepExecutionDBTest.php
"SELECT * FROM container_reference " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/ContainerReference/classes/class.ilContainerReference.php
"SELECT ref_id FROM object_reference obr " . "JOIN container_reference cr ON obr.obj_id = cr.target_obj_id " . "WHERE cr.obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/ContainerReference/classes/class.ilContainerReference.php
'SELECT title,title_type FROM container_reference cr ' . 'JOIN object_data od ON cr.obj_id = od.obj_id ' . 'WHERE cr.obj_id = ' . $ilDB->quote($obj_id, 'integer')1
  • /components/ILIAS/ContainerReference/classes/class.ilContainerReference.php
"SELECT title FROM object_data od " . "JOIN container_reference cr ON target_obj_id = od.obj_id " . "WHERE cr.obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/ContainerReference/classes/class.ilContainerReference.php
"SELECT * FROM container_reference " . "WHERE obj_id = " . $ilDB->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/ContainerReference/classes/class.ilContainerReference.php
"INSERT INTO container_reference (obj_id, target_obj_id, title_type) " . "VALUES( " . $ilDB->quote($this->getId( ), 'integer') . ", " . $ilDB->quote($this->getTargetId( ), 'integer') . ", " . $ilDB->quote($this->getTitleType( ), 'integer') . ' ' . ")"1
  • /components/ILIAS/ContainerReference/classes/class.ilContainerReference.php
"SELECT target_obj_id FROM container_reference " . "WHERE obj_id = " . $ilDB->quote($obj_id, 'integer') . " "1
  • /components/ILIAS/ContainerReference/classes/class.ilContainerReferenceAccess.php
' UPDATE il_adn_notifications SET has_language_limitation = 0; '1
  • /components/ILIAS/AdministrativeNotification/classes/Setup/class.ilADNDatabaseObjective.php
' UPDATE il_adn_notifications SET limited_to_languages = "[]"; '1
  • /components/ILIAS/AdministrativeNotification/classes/Setup/class.ilADNDatabaseObjective.php
"SELECT * FROM il_dcl_data WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/DataCollection/classes/class.ilObjDataCollectionAccess.php
"SELECT stloc2.value AS ext_id, f." . $this->db->quoteIdentifier('datatype_id') . " FROM il_dcl_stloc2_value AS stloc2 " . "INNER JOIN il_dcl_record_field AS rf ON (rf." . $this->db->quoteIdentifier('id') . " = stloc2." . $this->db->quoteIdentifier('record_field_id') . ") " . "INNER JOIN il_dcl_field AS f ON (rf." . $this->db->quoteIdentifier('field_id') . " = f." . $this->db->quoteIdentifier('id') . ") " . "INNER JOIN il_dcl_table AS t ON (t." . $this->db->quoteIdentifier('id') . " = f." . $this->db->quoteIdentifier('table_id') . ") " . "WHERE t." . $this->db->quoteIdentifier('obj_id') . " = " . $this->db->quote($dcl_obj_id, 'integer') . " " . "AND f.datatype_id IN (" . implode(',', array_keys($dependencies)) . ") AND stloc2." . $this->db->quoteIdentifier('value') . " IS NOT NULL"1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionExporter.php
"SELECT page_id FROM page_object " . "WHERE parent_type = " . $this->db->quote('dclf', 'text') . " AND parent_id = " . $this->db->quote($dcl_obj_id, 'integer')1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionExporter.php
"SELECT * FROM il_dcl_data WHERE id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/DataCollection/classes/class.ilObjDataCollection.php
"DELETE FROM il_dcl_data WHERE id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/DataCollection/classes/class.ilObjDataCollection.php
'SELECT id FROM il_dcl_table WHERE obj_id = ' . $this->db->quote($this->getId( ), 'integer') . $only_visible . ' ORDER BY -table_order DESC'1
  • /components/ILIAS/DataCollection/classes/class.ilObjDataCollection.php
'SELECT id FROM il_dcl_table WHERE obj_id = ' . $this->db->quote($this->getId( ), 'integer') . ' ORDER BY -table_order DESC '1
  • /components/ILIAS/DataCollection/classes/class.ilObjDataCollection.php
"SELECT id FROM il_dcl_table WHERE obj_id = " . $this->db->quote($this->getId( ), "integer") . " ORDER BY title ASC"1
  • /components/ILIAS/DataCollection/classes/class.ilObjDataCollection.php
'SELECT * FROM il_dcl_table WHERE obj_id = ' . $ilDB->quote($obj_id, 'integer') . ' AND title = ' . $ilDB->quote($title, 'text')1
  • /components/ILIAS/DataCollection/classes/class.ilObjDataCollection.php
'SELECT * FROM il_dcl_table WHERE obj_id = ' . $this->db->quote($a_rec['id'], 'integer') . ' ORDER BY id'1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionDataSet.php
'SELECT * FROM il_dcl_record WHERE table_id = ' . $this->db->quote($a_rec['id'], 'integer')1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionDataSet.php
'SELECT il_dcl_field.*, il_dcl_datatype.title as datatype_title FROM il_dcl_field INNER JOIN il_dcl_datatype ON il_dcl_field.datatype_id = il_dcl_datatype.id WHERE table_id = ' . $this->db->quote($a_rec['id'], 'integer')1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionDataSet.php
'SELECT * FROM il_dcl_tableview WHERE table_id = ' . $this->db->quote($a_rec['id'], 'integer')1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionDataSet.php
'SELECT * FROM il_dcl_tfield_set WHERE table_id = ' . $this->db->quote($a_rec['id'], 'integer')1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionDataSet.php
'SELECT * FROM il_dcl_field_prop WHERE field_id = ' . $this->db->quote($a_rec['id'], 'integer')1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionDataSet.php
'SELECT * FROM il_dcl_sel_opts WHERE field_id = ' . $this->db->quote($a_rec['id'], 'integer')1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionDataSet.php
'SELECT rf.*, d.storage_location FROM il_dcl_record_field AS rf' . ' INNER JOIN il_dcl_field AS f ON (f.id = rf.field_id)' . ' INNER JOIN il_dcl_datatype AS d ON (f.datatype_id = d.id) ' . ' WHERE rf.record_id = ' . $this->db->quote($a_rec['id'], 'integer')1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionDataSet.php
'SELECT rf.id AS record_field_id, st1.value AS value1, st2.value AS value2, st3.value AS value3 FROM il_dcl_record_field AS rf ' . 'LEFT JOIN il_dcl_stloc1_value AS st1 ON (st1.record_field_id = rf.id) ' . 'LEFT JOIN il_dcl_stloc2_value AS st2 ON (st2.record_field_id = rf.id) ' . 'LEFT JOIN il_dcl_stloc3_value AS st3 ON (st3.record_field_id = rf.id) ' . 'WHERE rf.record_id = ' . $this->db->quote($a_rec['id'], 'integer')1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionDataSet.php
'SELECT * FROM il_dcl_tview_set WHERE tableview_id = ' . $this->db->quote($a_rec['id'], 'integer')1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionDataSet.php
' SELECT tview_set.id AS tview_set_id, st1.value AS value1, st2.value AS value2, st3.value AS value3, st1.id AS id1, st2.id AS id2, st3.id AS id3 FROM il_dcl_tview_set AS tview_set LEFT JOIN il_dcl_stloc1_default AS st1 ON (st1.tview_set_id = tview_set.id) LEFT JOIN il_dcl_stloc2_default AS st2 ON (st2.tview_set_id = tview_set.id) LEFT JOIN il_dcl_stloc3_default AS st3 ON (st3.tview_set_id = tview_set.id) WHERE tview_set.id = ' . $this->db->quote($a_rec['id'], 'integer')1
  • /components/ILIAS/DataCollection/classes/class.ilDataCollectionDataSet.php
'SELECT id FROM il_dcl_field WHERE is_unique = %s AND datatype_id IN (%s, %s, %s, %s)'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps11.php
"UPDATE il_dcl_tableview " . "SET description=" . $this->db->quote("", "text") . "WHERE description is null"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
"UPDATE il_dcl_tview_set " . "SET in_filter=0 " . "WHERE in_filter is null"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
"UPDATE il_dcl_tview_set " . "SET visible=0 " . "WHERE visible is null"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
"UPDATE il_dcl_tview_set " . "SET filter_changeable=0 " . "WHERE filter_changeable is null"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
"UPDATE il_dcl_tfield_set " . "SET exportable=0 " . "WHERE exportable is null"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
"DELETE FROM il_dcl_datatype WHERE id = %s"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
"UPDATE il_dcl_field_prop, il_dcl_field SET name='link_detail_page_text' WHERE name='link_detail_page' AND il_dcl_field_prop.field_id=il_dcl_field.id AND il_dcl_field.datatype_id=2"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'UPDATE il_dcl_field_prop prop INNER JOIN il_dcl_field field ON field.id = prop.field_id ' . 'SET name = "link_detail_page_mob" WHERE field.datatype_id = %s AND name = "link_detail_page"'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'UPDATE il_dcl_stloc1_value v ' . 'INNER JOIN il_dcl_record_field rf ON rf.id = v.record_field_id ' . 'INNER JOIN il_dcl_field f ON f.id = rf.field_id ' . 'SET v.value = REPLACE(v.value, "<br />", "\r\n") WHERE f.datatype_id = %s'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'UPDATE il_dcl_field_prop SET value = "" WHERE value IS NULL'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'SELECT field_id FROM il_dcl_field_prop WHERE name = "plugin_hook_name" AND value = %s'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'INSERT INTO il_dcl_datatype (id, title, ildb_type, storage_location, sort) SELECT GREATEST(MAX(id), 1000) + 1, %s, %s, %s, GREATEST(MAX(sort), 10000) + 10 FROM il_dcl_datatype;'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'UPDATE il_dcl_field SET datatype_id = %s WHERE id = %s'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'DELETE FROM il_dcl_field_prop WHERE name = "plugin_hook_name" AND value = %s'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'DELETE FROM il_dcl_datatype WHERE id = %s'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'SELECT id FROM il_dcl_datatype WHERE id LIKE %s'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'SELECT * FROM page_object INNER JOIN il_dcl_tableview ON page_id = id WHERE rendered_content IS NOT NULL AND parent_type = %s'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'SELECT * FROM il_dcl_field WHERE table_id = %s'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'UPDATE page_object SET content = %s, rendered_content = %s WHERE page_id = %s'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'SELECT id FROM il_dcl_datatype WHERE id = %s AND title = %s'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
'UPDATE il_dcl_datatype SET title = %s WHERE id = %s'1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php
"SELECT * FROM il_dcl_field AS field WHERE datatype_id = 6 LIMIT 1;"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionStorageMigration.php
"SELECT * FROM il_dcl_record_field AS record_field WHERE record_field.field_id = %s;"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionStorageMigration.php
"SELECT id, rid, file_id, record_field_id FROM $integer_storage AS storage JOIN file_data AS file ON file.file_id = storage.value WHERE storage.record_field_id = %s;"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionStorageMigration.php
"DELETE FROM $integer_storage WHERE id = %s;"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionStorageMigration.php
"DELETE FROM history WHERE obj_id = %s"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionStorageMigration.php
"DELETE FROM object_data WHERE obj_id = %s AND type = %s"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionStorageMigration.php
"SELECT COUNT(field.id) AS amount FROM il_dcl_field AS field WHERE field.datatype_id = 6;"1
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionStorageMigration.php
"SELECT * FROM il_dcl_table WHERE id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/DataCollection/classes/Table/class.ilDclTable.php
"DELETE FROM il_dcl_table WHERE id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/DataCollection/classes/Table/class.ilDclTable.php
"INSERT INTO il_dcl_table (" . "id" . ", obj_id" . ", title" . ", add_perm" . ", edit_perm" . ", delete_perm" . ", edit_by_owner" . ", limited" . ", limit_start" . ", limit_end" . ", is_visible" . ", export_enabled" . ", import_enabled" . ", default_sort_field_id" . ", default_sort_field_order" . ", description" . ", public_comments" . ", view_own_records_perm" . ", delete_by_owner, save_confirmation , table_order ) VALUES (" . $this->db->quote($this->getId( ), "integer") . "," . $this->db->quote($this->getObjId( ), "integer") . "," . $this->db->quote($this->getTitle( ), "text") . "," . $this->db->quote($this->getAddPerm( ) ? 1 : 0, "integer") . "," . $this->db->quote($this->getEditPerm( ) ? 1 : 0, "integer") . "," . $this->db->quote($this->getDeletePerm( ) ? 1 : 0, "integer") . "," . $this->db->quote($this->getEditByOwner( ) ? 1 : 0, "integer") . "," . $this->db->quote($this->getLimited( ) ? 1 : 0, "integer") . "," . $this->db->quote($this->getLimitStart( ), "timestamp") . "," . $this->db->quote($this->getLimitEnd( ), "timestamp") . "," . $this->db->quote($this->getIsVisible( ) ? 1 : 0, "integer") . "," . $this->db->quote($this->getExportEnabled( ) ? 1 : 0, "integer") . "," . $this->db->quote($this->getImportEnabled( ) ? 1 : 0, "integer") . "," . $this->db->quote($this->getDefaultSortField( ), "text") . "," . $this->db->quote($this->getDefaultSortFieldOrder( ), "text") . "," . $this->db->quote($this->getDescription( ), "text") . "," . $this->db->quote($this->getPublicCommentsEnabled( ), "integer") . "," . $this->db->quote($this->getViewOwnRecordsPerm( ), "integer") . "," . $this->db->quote($this->getDeleteByOwner( ) ? 1 : 0, 'integer') . "," . $this->db->quote($this->getSaveConfirmation( ) ? 1 : 0, 'integer') . "," . $this->db->quote($this->getOrder( ), 'integer') . ")"1
  • /components/ILIAS/DataCollection/classes/Table/class.ilDclTable.php
"SELECT id FROM il_dcl_record WHERE table_id = " . $this->db->quote($this->id, "integer")1
  • /components/ILIAS/DataCollection/classes/Table/class.ilDclTable.php
"SELECT DISTINCT il_dcl_field.*, il_dcl_tfield_set.field_order FROM il_dcl_field INNER JOIN il_dcl_tfield_set ON ( il_dcl_tfield_set.field NOT IN ('owner', 'last_update', 'last_edit_by', 'id', 'create_date') AND il_dcl_tfield_set.table_id = il_dcl_field.table_id AND il_dcl_tfield_set.field = " . $this->db->cast("il_dcl_field.id", "text") . ") WHERE il_dcl_field.table_id = %s ORDER BY il_dcl_tfield_set.field_order ASC"1
  • /components/ILIAS/DataCollection/classes/Table/class.ilDclTable.php
"SELECT * FROM il_dcl_table WHERE id = " . $table_id1
  • /components/ILIAS/DataCollection/classes/Table/class.ilDclTable.php
'SELECT id FROM il_dcl_table WHERE title = ' . $ilDB->quote($title, 'text') . ' AND obj_id = ' . $ilDB->quote($obj_id, 'integer')1
  • /components/ILIAS/DataCollection/classes/Table/class.ilDclTable.php
'SELECT MAX(table_order) AS table_order FROM il_dcl_table WHERE obj_id = ' . $this->db->quote($this->getCollectionObject( )->getId( ), 'integer')1
  • /components/ILIAS/DataCollection/classes/Table/class.ilDclTable.php
'UPDATE il_dcl_table SET table_order = ' . $this->db->quote($this->table_order, 'integer') . ' WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/DataCollection/classes/Table/class.ilDclTable.php
'SELECT * FROM il_dcl_field WHERE table_id = ' . $ilDB->quote($obj_id, 'integer') . ' AND title = ' . $ilDB->quote($title, 'text')1
  • /components/ILIAS/DataCollection/classes/Table/class.ilDclTable.php
"SELECT DISTINCT record.id, record.owner"1
  • /components/ILIAS/DataCollection/classes/Table/class.ilDclTable.php
"DELETE FROM il_rating WHERE " . "obj_id = " . $ilDB->quote($this->getRecord( )->getId( ), "integer") . " AND " . "obj_type = " . $ilDB->quote("dcl_record", "text") . " AND " . "sub_obj_id = " . $ilDB->quote((int) $this->getField( )->getId( ), "integer") . " AND " . $ilDB->equals("sub_obj_type", "dcl_field", "text", true)1
  • /components/ILIAS/DataCollection/classes/Fields/Rating/class.ilDclRatingRecordFieldModel.php
"DELETE FROM il_dcl_record_field WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/DataCollection/classes/Fields/Rating/class.ilDclRatingRecordFieldModel.php
" SELECT status_changed, status FROM ut_lp_marks WHERE usr_id = " . $usr_id . " AND obj_id = " . $obj_id1
  • /components/ILIAS/DataCollection/classes/Fields/IliasReference/class.ilDclIliasReferenceRecordFieldModel.php
'INSERT INTO il_dcl_datatype (id, title, ildb_type, storage_location, sort) SELECT GREATEST(MAX(id), %s) + 1, %s, %s, %s, GREATEST(MAX(sort), %s * 10) + 10 FROM il_dcl_datatype;'1
  • /components/ILIAS/DataCollection/classes/Fields/Plugin/class.ilDclFieldTypePlugin.php
"SELECT * FROM il_dcl_datatype WHERE id = " . $ilDB->quote($this->getId( ), "integer") . " ORDER BY sort"1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclDatatype.php
"SELECT * FROM il_dcl_datatype ORDER BY sort"1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclDatatype.php
'SELECT value FROM lng_data WHERE identifier IN (' . $identifiers . ')'1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclStandardField.php
'SELECT value, identifier FROM lng_data WHERE identifier IN (' . $identifiers . ')'1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclStandardField.php
'SELECT id FROM il_dcl_field WHERE title = ' . $ilDB->quote($title, 'text') . ' AND table_id = ' . $ilDB->quote($table_id, 'integer')1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseFieldModel.php
"SELECT * FROM il_dcl_field WHERE id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseFieldModel.php
"INSERT INTO il_dcl_field (" . "id" . ", table_id" . ", datatype_id" . ", title" . ", description" . " ) VALUES (" . $this->db->quote($this->getId( ), "integer") . "," . $this->db->quote($this->getTableId( ), "integer") . "," . $this->db->quote($this->getDatatypeId( ), "integer") . "," . $this->db->quote($this->getTitle( ), "text") . "," . $this->db->quote($this->getDescription( ), "text") . ")"1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseFieldModel.php
"DELETE FROM il_dcl_field_prop WHERE field_id = " . $this->db->quote($this->getId( ), "text")1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseFieldModel.php
"DELETE FROM il_dcl_field WHERE id = " . $this->db->quote($this->getId( ), "text")1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseFieldModel.php
"Select * From il_dcl_record WHERE id = " . $this->db->quote($this->getId( ), "integer") . " ORDER BY id"1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseRecordModel.php
"INSERT INTO il_dcl_record ( id, table_id, create_date, Last_update, owner, last_edit_by ) VALUES (" . $this->db->quote($this->getId( ), "integer") . "," . $this->db->quote($this->getTableId( ), "integer") . "," . $this->db->quote($this->getCreateDate( )->get(IL_CAL_DATETIME), "timestamp") . "," . $this->db->quote($this->getLastUpdate( )->get(IL_CAL_DATETIME), "timestamp") . "," . $this->db->quote($this->getOwner( ), "integer") . "," . $this->db->quote($this->getLastEditBy( ), "integer") . " )"1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseRecordModel.php
"DELETE FROM il_dcl_record WHERE id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseRecordModel.php
"SELECT * FROM il_dcl_record_field WHERE field_id = " . $this->db->quote($this->getField( )->getId( ), "integer") . " AND record_id = " . $this->db->quote($this->getRecord( )->getId( ), "integer")1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseRecordFieldModel.php
"INSERT INTO il_dcl_record_field (id, record_id, field_id) VALUES (" . $this->db->quote($id, "integer") . ", " . $this->db->quote($this->getRecord( )->getId( ), "integer") . ", " . $this->db->quote($this->getField( )->getId( ), "text") . ")"1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseRecordFieldModel.php
"DELETE FROM il_dcl_stloc" . $storage_location . "_value WHERE record_field_id = " . $this->db->quote($this->id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseRecordFieldModel.php
"DELETE FROM il_dcl_stloc" . $storage_location . "_value WHERE record_field_id = " . $this->db->quote($this->id, "integer")1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseRecordFieldModel.php
"DELETE FROM il_dcl_record_field WHERE id = " . $this->db->quote($this->id, "integer")1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseRecordFieldModel.php
"SELECT * FROM il_dcl_stloc" . $storage_location . "_value WHERE record_field_id = " . $this->db->quote($this->id, "integer")1
  • /components/ILIAS/DataCollection/classes/Fields/Base/class.ilDclBaseRecordFieldModel.php
"SELECT * FROM reg_er_assignments " . "WHERE role = " . $this->db->quote($role_id, 'integer')1
  • /components/ILIAS/Registration/classes/class.ilRegistrationRoleAssignments.php
"DELETE FROM reg_er_assignments "1
  • /components/ILIAS/Registration/classes/class.ilRegistrationRoleAssignments.php
"INSERT INTO reg_er_assignments (assignment_id,domain,role) " . "VALUES( " . $this->db->quote($next_id, 'integer') . ', ' . $this->db->quote($assignment['domain'], 'text') . ", " . $this->db->quote($assignment['role'], 'integer') . ")"1
  • /components/ILIAS/Registration/classes/class.ilRegistrationRoleAssignments.php
"SELECT * FROM reg_er_assignments "1
  • /components/ILIAS/Registration/classes/class.ilRegistrationRoleAssignments.php
"SELECT * FROM reg_access_limit "1
  • /components/ILIAS/Registration/classes/class.ilRegistrationRoleAccessLimitations.php
"DELETE FROM reg_access_limit " . "WHERE role_id = " . $this->db->quote($role_id, 'integer')1
  • /components/ILIAS/Registration/classes/class.ilRegistrationRoleAccessLimitations.php
"INSERT INTO reg_access_limit (role_id,limit_mode,limit_absolute," . "limit_relative_d,limit_relative_m) " . "VALUES( " . $this->db->quote($role_id, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($data['mode'], ilDBConstants::T_TEXT) . ", " . $this->db->quote($data['absolute'] ?? null, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($data['relative_d'] ?? null, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($data['relative_m'] ?? null, ilDBConstants::T_INTEGER) . " " . ")"1
  • /components/ILIAS/Registration/classes/class.ilRegistrationRoleAccessLimitations.php
"SELECT code_id FROM " . self::DB_TABLE . " WHERE code = %s"1
  • /components/ILIAS/Registration/classes/class.ilRegistrationCode.php
"SELECT COUNT(*) AS cnt FROM " . self::DB_TABLE . $where1
  • /components/ILIAS/Registration/classes/class.ilRegistrationCode.php
"SELECT * FROM " . self::DB_TABLE . $where1
  • /components/ILIAS/Registration/classes/class.ilRegistrationCode.php
"SELECT * FROM " . self::DB_TABLE . " WHERE " . $ilDB->in("code_id", $ids, false, "integer")1
  • /components/ILIAS/Registration/classes/class.ilRegistrationCode.php
"DELETE FROM " . self::DB_TABLE . " WHERE " . $ilDB->in("code_id", $ids, false, "integer")1
  • /components/ILIAS/Registration/classes/class.ilRegistrationCode.php
"SELECT DISTINCT(generated_on) genr FROM " . self::DB_TABLE . " ORDER BY genr"1
  • /components/ILIAS/Registration/classes/class.ilRegistrationCode.php
"SELECT code FROM " . self::DB_TABLE . $where . " ORDER BY code_id"1
  • /components/ILIAS/Registration/classes/class.ilRegistrationCode.php
"SELECT used FROM " . self::DB_TABLE . " WHERE code = " . $ilDB->quote($code, "text")1
  • /components/ILIAS/Registration/classes/class.ilRegistrationCode.php
'SELECT alimit, alimitdt FROM reg_registration_codes ' . 'WHERE used = ' . $ilDB->quote(0, 'integer') . ' ' . 'AND reg_enabled = ' . $ilDB->quote(1, 'integer') . ' ' . 'AND code = ' . $ilDB->quote($a_code, 'text')1
  • /components/ILIAS/Registration/classes/class.ilRegistrationCode.php
"SELECT role FROM " . self::DB_TABLE . " WHERE code = " . $ilDB->quote($code, "text")1
  • /components/ILIAS/Registration/classes/class.ilRegistrationCode.php
"SELECT role, role_local, alimit, alimitdt, reg_enabled, ext_enabled" . " FROM " . self::DB_TABLE . " WHERE code = " . $ilDB->quote($code, "text")1
  • /components/ILIAS/Registration/classes/class.ilRegistrationCode.php
'delete obj_id: ' . $obj_id . ', ref_id: ' . $ref_id . ', type: ' . $type . ', title: ' . $title1
  • /components/ILIAS/Repository/Deletion/EventStandardAdapter.php
'SELECT tree FROM tree WHERE parent = ' . $db->quote($ref_id, \ilDBConstants::T_INTEGER) . ' AND tree < 0 ' . ' AND tree = -1 * child'1
  • /components/ILIAS/Repository/Deletion/TreeDBRepo.php
"SELECT * FROM tst_tests WHERE obj_fi=%s"1
  • /components/ILIAS/Repository/classes/class.ilRepositoryExplorer.php
'DELETE FROM `settings` WHERE `keyword`="item_cmd_asynch"'1
  • /components/ILIAS/Repository/classes/Setup/class.ilRepository9DBUpdateSteps.php
'DELETE FROM desktop_item WHERE item_id = %s'1
  • /components/ILIAS/Repository/Setup/class.RepositoryDBUpdateSteps.php
'DELETE FROM rep_rec_content_role WHERE ref_id = %s'1
  • /components/ILIAS/Repository/Setup/class.RepositoryDBUpdateSteps.php
'DELETE FROM il_new_item_grp WHERE type = %s'1
  • /components/ILIAS/Repository/Setup/class.RepositoryDBUpdateSteps.php
"SELECT last_visited FROM usr_data " . " WHERE usr_id = " . $ilDB->quote($ilUser->getId( ), "integer")1
  • /components/ILIAS/Repository/LastVisited/class.ilNavigationHistory.php
'delete obj_id: ' . $node_obj->getId( ) . ', ref_id: ' . $node_obj->getRefId( ) . ', type: ' . $node_obj->getType( ) . ', title: ' . $node_obj->getTitle( )1
  • /components/ILIAS/Repository/Trash/class.ilRepUtil.php
'SELECT tree FROM tree WHERE parent = ' . $ilDB->quote($a_node_id, ilDBConstants::T_INTEGER) . ' AND tree < 0 ' . ' AND tree = -1 * child'1
  • /components/ILIAS/Repository/Trash/class.ilRepUtil.php
"SELECT child" . " FROM tree" . " JOIN object_reference ref ON (tree.child = ref.ref_id)" . " JOIN object_data od ON (od.obj_id = ref.obj_id)" . " WHERE tree.tree < " . $ilDB->quote(0, "integer") . " AND od.type = " . $ilDB->quote($a_type, "text")1
  • /components/ILIAS/Repository/Trash/class.ilRepUtil.php
"SELECT obj_id" . " FROM object_data " . " WHERE type = " . $ilDB->quote("typ", "text") . " AND title = " . $ilDB->quote($a_type, "text")1
  • /components/ILIAS/Repository/Trash/class.ilRepUtil.php
"DELETE FROM object_data" . " WHERE obj_id = " . $ilDB->quote($type_id, "integer")1
  • /components/ILIAS/Repository/Trash/class.ilRepUtil.php
"DELETE FROM rbac_ta" . " WHERE typ_id = " . $ilDB->quote($type_id, "integer")1
  • /components/ILIAS/Repository/Trash/class.ilRepUtil.php
"SELECT ops_id" . " FROM rbac_operations " . " WHERE class = " . $ilDB->quote("create", "text") . " AND operation = " . $ilDB->quote("create_" . $a_type, "text")1
  • /components/ILIAS/Repository/Trash/class.ilRepUtil.php
"DELETE FROM rbac_operations" . " WHERE ops_id = " . $ilDB->quote($create_ops_id, "integer")1
  • /components/ILIAS/Repository/Trash/class.ilRepUtil.php
"DELETE FROM rbac_templates" . " WHERE ops_id = " . $ilDB->quote($create_ops_id, "integer")1
  • /components/ILIAS/Repository/Trash/class.ilRepUtil.php
"DELETE FROM rbac_ta" . " WHERE typ_id = " . $ilDB->quote($parent_type_id, "integer") . " AND ops_id = " . $ilDB->quote($create_ops_id, "integer")1
  • /components/ILIAS/Repository/Trash/class.ilRepUtil.php
"SELECT object_data.*, ref_id FROM object_data " . "LEFT JOIN object_reference ON object_data.obj_id = object_reference.obj_id " . "LEFT JOIN tree ON object_reference.ref_id = tree.child " . "WHERE tree.child IS NULL " . "AND (object_reference.obj_id IS NOT NULL " . " OR object_data.type <> 'file' AND " . $ilDB->in('object_data.type', $this->rbac_object_types, false, 'text') . ")"1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"SELECT object_data.*, ref_id FROM object_data " . "LEFT JOIN object_reference ON object_data.obj_id = object_reference.obj_id " . "LEFT JOIN tree ON object_reference.ref_id = tree.child " . "WHERE object_reference.ref_id = " . $ilDB->quote(RECOVERY_FOLDER_ID, 'integer') . " " . "AND object_data.type='rolf'"1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"SELECT object_data.*, ref_id FROM object_data " . "LEFT JOIN object_reference ON object_data.obj_id = object_reference.obj_id " . "LEFT JOIN tree ON object_reference.ref_id = tree.child " . "WHERE object_reference.ref_id =" . $ilDB->quote(RECOVERY_FOLDER_ID, "integer") . " " . "AND object_data.type='rolf'"1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"SELECT object_reference.* FROM object_reference " . "LEFT JOIN object_data ON object_data.obj_id = object_reference.obj_id " . "WHERE object_data.obj_id IS NULL " . "OR " . $ilDB->in('object_data.type', $this->rbac_object_types, true, 'text')1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"SELECT tree.*,object_reference.ref_id FROM tree " . "LEFT JOIN object_reference ON tree.child = object_reference.ref_id " . "LEFT JOIN object_data ON object_reference.obj_id = object_data.obj_id " . "WHERE object_reference.ref_id IS NULL or object_data.obj_id IS NULL"1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"SELECT T1.tree,T1.child,T1.parent," . "T2.tree deleted,T2.parent grandparent " . "FROM tree T1 " . "LEFT JOIN tree T2 ON T2.child=T1.parent " . "WHERE (T2.tree!=1 OR T2.tree IS NULL) AND T1.parent!=0"1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"SELECT object_data.*,tree.tree,tree.child,tree.parent,deleted " . "FROM object_data " . "LEFT JOIN object_reference ON object_data.obj_id=object_reference.obj_id " . "LEFT JOIN tree ON tree.child=object_reference.ref_id " . " WHERE tree != 1 " . " ORDER BY deleted"1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"DELETE FROM object_reference WHERE ref_id= " . $this->db->quote($entry["ref_id"], 'integer') . " AND obj_id = " . $this->db->quote($entry["obj_id"], 'integer') . " "1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"DELETE FROM tree WHERE child='" . $entry["child"] . "'"1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"INSERT INTO object_reference (ref_id, obj_id) " . "VALUES (" . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($a_obj_id, 'integer') . ")"1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"DELETE FROM tree WHERE tree!=1"1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
'SELECT child FROM tree GROUP BY child HAVING COUNT(*) > 1'1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"SELECT tree.*,ref.ref_id,dat.obj_id objobj_id,ref.obj_id refobj_id,ref.deleted,dat.* " . "FROM tree " . "RIGHT JOIN object_reference ref ON tree.child = ref.ref_id " . "RIGHT JOIN object_data dat ON ref.obj_id = dat.obj_id " . "ORDER BY tree, lft, type, dat.title"1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"SELECT child FROM mep_tree "1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"SELECT DISTINCT(obj_id) FROM object_reference_ws"1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"SELECT id FROM usr_portfolio"1
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php
"DELETE FROM rep_rec_content_role WHERE " . " role_id = %s AND ref_id = %s"1
  • /components/ILIAS/Repository/RecommendedContent/classes/class.ilRecommendedContentDBRepository.php
"DELETE FROM rep_rec_content_obj WHERE " . " user_id = %s AND ref_id = %s"1
  • /components/ILIAS/Repository/RecommendedContent/classes/class.ilRecommendedContentDBRepository.php
"DELETE FROM rep_rec_content_obj WHERE " . " ref_id = %s"1
  • /components/ILIAS/Repository/RecommendedContent/classes/class.ilRecommendedContentDBRepository.php
"DELETE FROM rep_rec_content_role WHERE " . " ref_id = %s"1
  • /components/ILIAS/Repository/RecommendedContent/classes/class.ilRecommendedContentDBRepository.php
"DELETE FROM rep_rec_content_obj WHERE " . " user_id = %s"1
  • /components/ILIAS/Repository/RecommendedContent/classes/class.ilRecommendedContentDBRepository.php
"DELETE FROM rep_rec_content_role WHERE " . " role_id = %s"1
  • /components/ILIAS/Repository/RecommendedContent/classes/class.ilRecommendedContentDBRepository.php
"SELECT * FROM rep_rec_content_obj " . " WHERE user_id = %s AND ref_id = %s"1
  • /components/ILIAS/Repository/RecommendedContent/classes/class.ilRecommendedContentDBRepository.php
"SELECT DISTINCT ref_id FROM rep_rec_content_role " . " WHERE " . $db->in("role_id", $role_ids, false, "integer")1
  • /components/ILIAS/Repository/RecommendedContent/classes/class.ilRecommendedContentDBRepository.php
"SELECT max(pos) mpos FROM il_new_item_grp"1
  • /components/ILIAS/Repository/Administration/class.ilObjRepositorySettings.php
"INSERT INTO il_new_item_grp" . " (id, titles, pos) VALUES (" . $ilDB->quote($seq, "integer") . ", " . $ilDB->quote(serialize($a_titles), "text") . ", " . $ilDB->quote($pos, "integer") . ")"1
  • /components/ILIAS/Repository/Administration/class.ilObjRepositorySettings.php
"UPDATE il_new_item_grp" . " SET titles = " . $ilDB->quote(serialize($a_titles), "text") . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Repository/Administration/class.ilObjRepositorySettings.php
"DELETE FROM il_new_item_grp" . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Repository/Administration/class.ilObjRepositorySettings.php
"SELECT * FROM il_new_item_grp ORDER BY pos"1
  • /components/ILIAS/Repository/Administration/class.ilObjRepositorySettings.php
"UPDATE il_new_item_grp" . " SET pos = " . $ilDB->quote($pos, "integer") . " WHERE id = " . $ilDB->quote($id, "integer")1
  • /components/ILIAS/Repository/Administration/class.ilObjRepositorySettings.php
"SELECT * FROM object_data " . " WHERE type = " . $ilDB->quote("typ", "text") . " AND title = " . $ilDB->quote($type, "text")1
  • /components/ILIAS/Repository/PluginSlot/class.ilRepositoryObjectPlugin.php
"INSERT INTO object_data " . "(obj_id, type, title, description, owner, create_date, last_update) VALUES (" . $ilDB->quote($t_id, "integer") . "," . $ilDB->quote("typ", "text") . "," . $ilDB->quote($type, "text") . "," . $ilDB->quote("Plugin " . $this->getPluginName( ), "text") . "," . $ilDB->quote(-1, "integer") . "," . $ilDB->quote(ilUtil::now( ), "timestamp") . "," . $ilDB->quote(ilUtil::now( ), "timestamp") . ")"1
  • /components/ILIAS/Repository/PluginSlot/class.ilRepositoryObjectPlugin.php
"SELECT * FROM rbac_ta " . " WHERE typ_id = " . $ilDB->quote($t_id, "integer") . " AND ops_id = " . $ilDB->quote($op, "integer")1
  • /components/ILIAS/Repository/PluginSlot/class.ilRepositoryObjectPlugin.php
"INSERT INTO rbac_ta " . "(typ_id, ops_id) VALUES (" . $ilDB->quote($t_id, "integer") . "," . $ilDB->quote($op, "integer") . ")"1
  • /components/ILIAS/Repository/PluginSlot/class.ilRepositoryObjectPlugin.php
"SELECT * FROM rbac_operations " . " WHERE class = " . $ilDB->quote("create", "text") . " AND operation = " . $ilDB->quote("create_" . $type, "text")1
  • /components/ILIAS/Repository/PluginSlot/class.ilRepositoryObjectPlugin.php
"INSERT INTO rbac_operations " . "(ops_id, operation, description, class) VALUES (" . $ilDB->quote($create_ops_id, "integer") . "," . $ilDB->quote("create_" . $type, "text") . "," . $ilDB->quote("create " . $type, "text") . "," . $ilDB->quote("create", "text") . ")"1
  • /components/ILIAS/Repository/PluginSlot/class.ilRepositoryObjectPlugin.php
"SELECT obj_id FROM object_data " . " WHERE type = " . $ilDB->quote("typ", "text") . " AND title = " . $ilDB->quote($par_type, "text")1
  • /components/ILIAS/Repository/PluginSlot/class.ilRepositoryObjectPlugin.php
"SELECT * FROM rbac_ta " . " WHERE typ_id = " . $ilDB->quote($rec["obj_id"], "integer") . " AND ops_id = " . $ilDB->quote($create_ops_id, "integer")1
  • /components/ILIAS/Repository/PluginSlot/class.ilRepositoryObjectPlugin.php
"INSERT INTO rbac_ta " . "(typ_id, ops_id) VALUES (" . $ilDB->quote($rec["obj_id"], "integer") . "," . $ilDB->quote($create_ops_id, "integer") . ")"1
  • /components/ILIAS/Repository/PluginSlot/class.ilRepositoryObjectPlugin.php
"DELETE FROM " . static::TABLE_NAME . PHP_EOL . "WHERE obj_id = " . $this->database->quote($obj_id, "integer") . PHP_EOL1
  • /components/ILIAS/LearningSequence/classes/Settings/class.ilLearningSequenceSettingsDB.php
"SELECT abstract, extro, abstract_image, extro_image, gallery" . PHP_EOL . "FROM " . static::TABLE_NAME . PHP_EOL . "WHERE obj_id = " . $this->database->quote($obj_id, "integer") . PHP_EOL1
  • /components/ILIAS/LearningSequence/classes/Settings/class.ilLearningSequenceSettingsDB.php
"SELECT page_id, parent_id, parent_type, count(page_id) AS cnt" . PHP_EOL . "FROM page_object" . PHP_EOL . "WHERE page_id = (parent_id * -1)" . PHP_EOL . "AND parent_type = 'cont'"1
  • /components/ILIAS/LearningSequence/classes/Setup/class.LSOMigratePageIdsIntro.php
"Update IDs of intro pages"1
  • /components/ILIAS/LearningSequence/classes/Setup/class.LSOMigratePageIdsIntro.php
'UPDATE page_object' . PHP_EOL . "SET page_id = parent_id, parent_type = 'lsoi'" . PHP_EOL . "WHERE page_id = " . $row['page_id'] . PHP_EOL . "AND parent_id = " . $row['parent_id'] . PHP_EOL . "AND parent_type = " . $this->db->quote($row['parent_type'], 'text')1
  • /components/ILIAS/LearningSequence/classes/Setup/class.LSOMigratePageIdsIntro.php
"UPDATE " . self::TABLE_NAME . " SET value = NULL WHERE value = 0"1
  • /components/ILIAS/LearningSequence/classes/Setup/class.ilLearningSequenceRectifyPostConditionsTableDBUpdateSteps.php
"SELECT page_id, parent_id, parent_type, count(page_id) AS cnt" . PHP_EOL . "FROM page_object" . PHP_EOL . "WHERE page_id = (parent_id * -2)" . PHP_EOL . "AND parent_type = 'cont'"1
  • /components/ILIAS/LearningSequence/classes/Setup/class.LSOMigratePageIdsExtro.php
"Update IDs of extro pages"1
  • /components/ILIAS/LearningSequence/classes/Setup/class.LSOMigratePageIdsExtro.php
'UPDATE page_object' . PHP_EOL . "SET page_id = parent_id, parent_type = 'lsoe'" . PHP_EOL . "WHERE page_id = " . $row['page_id'] . PHP_EOL . "AND parent_id = " . $row['parent_id'] . PHP_EOL . "AND parent_type = " . $this->db->quote($row['parent_type'], 'text')1
  • /components/ILIAS/LearningSequence/classes/Setup/class.LSOMigratePageIdsExtro.php
"DELETE FROM " . static::TABLE_NAME . PHP_EOL . "WHERE ref_id = " . $this->database->quote($ref_id, "integer") . PHP_EOL1
  • /components/ILIAS/LearningSequence/classes/Activation/class.ilLearningSequenceActivationDB.php
"SELECT ref_id, online, effective_online, activation_start_ts, activation_end_ts" . PHP_EOL . "FROM " . static::TABLE_NAME . PHP_EOL . "WHERE ref_id = " . $this->database->quote($ref_id, "integer") . PHP_EOL1
  • /components/ILIAS/LearningSequence/classes/Activation/class.ilLearningSequenceActivationDB.php
"SELECT ref_id, condition_operator, value" . PHP_EOL . "FROM " . static::TABLE_NAME . PHP_EOL . "WHERE ref_id IN (" . implode(',', $ref_ids) . ")" . PHP_EOL1
  • /components/ILIAS/LearningSequence/classes/PostConditions/class.ilLSPostConditionDB.php
"DELETE FROM " . static::TABLE_NAME . PHP_EOL . "WHERE ref_id IN (" . implode(',', $ref_ids) . ")" . PHP_EOL1
  • /components/ILIAS/LearningSequence/classes/PostConditions/class.ilLSPostConditionDB.php
"DELETE FROM " . static::TABLE_NAME . PHP_EOL . "WHERE lso_ref_id = " . $this->db->quote($lso_ref_id, "integer") . PHP_EOL1
  • /components/ILIAS/LearningSequence/classes/Player/class.ilLSStateDB.php
"SELECT usr_id, current_item, states, first_access, last_access" . PHP_EOL . "FROM " . static::TABLE_NAME . PHP_EOL . "WHERE lso_ref_id = " . $this->db->quote($lso_ref_id, "integer") . PHP_EOL1
  • /components/ILIAS/LearningSequence/classes/Player/class.ilLSStateDB.php
'SELECT ref_id, online, effective_online, activation_start_ts, activation_end_ts' . PHP_EOL . 'FROM lso_activation' . PHP_EOL . 'WHERE ref_id = 22' . PHP_EOL1
  • /components/ILIAS/LearningSequence/tests/Activation/ilLearningSequenceActivationDBTest.php
'SELECT ref_id, online, effective_online, activation_start_ts, activation_end_ts' . PHP_EOL . 'FROM lso_activation' . PHP_EOL . 'WHERE ref_id = 33' . PHP_EOL1
  • /components/ILIAS/LearningSequence/tests/Activation/ilLearningSequenceActivationDBTest.php
'DELETE FROM lso_activation' . PHP_EOL . 'WHERE ref_id = 44' . PHP_EOL1
  • /components/ILIAS/LearningSequence/tests/Activation/ilLearningSequenceActivationDBTest.php
"SELECT ref_id, condition_operator, value" . PHP_EOL . "FROM post_conditions" . PHP_EOL . "WHERE ref_id IN (20,22)" . PHP_EOL1
  • /components/ILIAS/LearningSequence/tests/PostConditions/ilLSPostConditionDBTest.php
"SELECT ref_id, condition_operator, value" . PHP_EOL . "FROM post_conditions" . PHP_EOL . "WHERE ref_id IN (33,44)" . PHP_EOL1
  • /components/ILIAS/LearningSequence/tests/PostConditions/ilLSPostConditionDBTest.php
"DELETE FROM post_conditions" . PHP_EOL . "WHERE ref_id IN (20,22)" . PHP_EOL1
  • /components/ILIAS/LearningSequence/tests/PostConditions/ilLSPostConditionDBTest.php
"DELETE FROM like_data WHERE " . " user_id = " . $ilDB->quote($a_user_id, "integer") . " AND obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND obj_type = " . $ilDB->quote($a_obj_type, "text") . " AND sub_obj_id = " . $ilDB->quote($a_sub_obj_id, "integer") . " AND sub_obj_type = " . $ilDB->quote($a_sub_obj_type, "text") . " AND news_id = " . $ilDB->quote($a_news_id, "integer") . " AND like_type = " . $ilDB->quote($a_like_type, "integer")1
  • /components/ILIAS/Like/classes/class.ilLikeData.php
"SELECT * FROM like_data " . " WHERE " . $ilDB->in("obj_id", $a_obj_ids, false, "integer") . " ORDER by exp_ts DESC"1
  • /components/ILIAS/Like/classes/class.ilLikeData.php
"SELECT (" . $this->db->quote("A", "text") . " = " . $this->db->quote("Ä", "text") . ") t FROM DUAL "1
  • /components/ILIAS/Form/classes/class.ilAlphabetInputGUI.php
' INSERT INTO addressbook_mlist ( ml_id, user_id, title, description, createdate, changedate, lmode ) VALUES(%s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/Contact/classes/class.ilMailingList.php
' UPDATE addressbook_mlist SET title = %s, description = %s, changedate = %s, lmode = %s WHERE ml_id = %s AND user_id = %s'1
  • /components/ILIAS/Contact/classes/class.ilMailingList.php
'DELETE FROM addressbook_mlist WHERE ml_id = %s AND user_id = %s'1
  • /components/ILIAS/Contact/classes/class.ilMailingList.php
'SELECT * FROM addressbook_mlist WHERE ml_id = %s AND user_id =%s'1
  • /components/ILIAS/Contact/classes/class.ilMailingList.php
'SELECT a_id, usr_data.usr_id FROM addressbook_mlist_ass ' . 'INNER JOIN usr_data ON usr_data.usr_id = addressbook_mlist_ass.usr_id WHERE ml_id = %s'1
  • /components/ILIAS/Contact/classes/class.ilMailingList.php
'INSERT INTO addressbook_mlist_ass (a_id, ml_id, usr_id) VALUES(%s, %s, %s)'1
  • /components/ILIAS/Contact/classes/class.ilMailingList.php
'DELETE FROM addressbook_mlist_ass WHERE a_id = %s'1
  • /components/ILIAS/Contact/classes/class.ilMailingList.php
'DELETE FROM addressbook_mlist_ass WHERE ml_id = %s'1
  • /components/ILIAS/Contact/classes/class.ilMailingList.php
'SELECT EXISTS(SELECT 1 FROM addressbook_mlist WHERE ml_id = %s AND user_id = %s) cnt'1
  • /components/ILIAS/Contact/classes/class.ilMailingLists.php
'SELECT EXISTS(SELECT 1 FROM addressbook_mlist WHERE user_id = %s) cnt'1
  • /components/ILIAS/Contact/classes/class.ilMailingLists.php
'SELECT * FROM addressbook_mlist WHERE user_id = %s'1
  • /components/ILIAS/Contact/classes/class.ilMailingLists.php
'DELETE ass FROM addressbook_mlist_ass ass INNER JOIN addressbook_mlist list ON ass.ml_id = list.ml_id WHERE list.user_id = %s'1
  • /components/ILIAS/Contact/classes/class.ilMailingLists.php
'DELETE FROM addressbook_mlist WHERE user_id = %s'1
  • /components/ILIAS/Contact/classes/class.ilMailingLists.php
'DELETE FROM addressbook_mlist_ass WHERE usr_id = ' . $this->db->quote($this->user->getId( ), 'integer')1
  • /components/ILIAS/Contact/classes/class.ilMailingLists.php
'DELETE FROM'1
  • /components/ILIAS/Contact/tests/ilBuddySystemRelationRepositoryTestCase.php
'DELETE FROM buddylist WHERE usr_id = %s OR buddy_usr_id = %s'1
  • /components/ILIAS/Contact/BuddySystem/classes/class.ilBuddySystemRelationRepository.php
'DELETE FROM buddylist_requests WHERE usr_id = %s OR buddy_usr_id = %s'1
  • /components/ILIAS/Contact/BuddySystem/classes/class.ilBuddySystemRelationRepository.php
'DELETE FROM buddylist WHERE usr_id = %s AND buddy_usr_id = %s'1
  • /components/ILIAS/Contact/BuddySystem/classes/class.ilBuddySystemRelationRepository.php
'DELETE FROM buddylist WHERE buddy_usr_id = %s AND usr_id = %s'1
  • /components/ILIAS/Contact/BuddySystem/classes/class.ilBuddySystemRelationRepository.php
'DELETE FROM buddylist_requests WHERE usr_id = %s AND buddy_usr_id = %s'1
  • /components/ILIAS/Contact/BuddySystem/classes/class.ilBuddySystemRelationRepository.php
'DELETE FROM buddylist_requests WHERE buddy_usr_id = %s AND usr_id = %s'1
  • /components/ILIAS/Contact/BuddySystem/classes/class.ilBuddySystemRelationRepository.php
'SELECT usr_id FROM usr_data WHERE (active = 1 AND time_limit_unlimited = 1) OR (active = 1 AND time_limit_unlimited = 0 AND time_limit_from < %s AND time_limit_until > %s)'1
  • /components/ILIAS/Course/classes/class.ilTimingsCronReminder.php
'INSERT INTO ' . ilCourseConstants::CRON_TIMINGS_EXCEEDED_TABLE . ' (user_id, ref_id, sent) VALUES ' . ' (%s,%s,%s)'1
  • /components/ILIAS/Course/classes/class.ilTimingsCronReminder.php
'INSERT INTO ' . ilCourseConstants::CRON_TIMINGS_STARTED_TABLE . ' (user_id, ref_id, sent) VALUES ' . ' (%s,%s,%s)'1
  • /components/ILIAS/Course/classes/class.ilTimingsCronReminder.php
'SELECT * FROM ' . $table . ' WHERE ' . 'user_id = %s'1
  • /components/ILIAS/Course/classes/class.ilTimingsCronReminder.php
'SELECT tutorial_support_block FROM crs_settings' . ' WHERE obj_id = ' . $GLOBALS['DIC']['ilDB']->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
'SELECT show_members FROM crs_settings ' . 'WHERE obj_id = ' . $GLOBALS['DIC']['ilDB']->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
"SELECT * FROM crs_settings " . "WHERE obj_id = " . $ilDB->quote($a_course_id, 'integer') . " " . "AND sub_notify = 1"1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
'SELECT timing_mode FROM crs_settings ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
"SELECT abo FROM crs_settings WHERE obj_id = " . $ilDB->quote($a_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
"SELECT * FROM crs_settings WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
"UPDATE crs_settings SET " . 'tutorial_support_block = ' . $this->db->quote($this->getTutorialSupportBlockSettingValue( ), 'integer') . ", " . "syllabus = " . $this->db->quote($this->getSyllabus( ), 'text') . ", " . "contact_name = " . $this->db->quote($this->getContactName( ), 'text') . ", " . "contact_responsibility = " . $this->db->quote($this->getContactResponsibility( ), 'text') . ", " . "contact_phone = " . $this->db->quote($this->getContactPhone( ), 'text') . ", " . "contact_email = " . $this->db->quote($this->getContactEmail( ), 'text') . ", " . "contact_consultation = " . $this->db->quote($this->getContactConsultation( ), 'text') . ", " . "activation_type = " . $this->db->quote(!$this->getOfflineStatus( ), 'integer') . ", " . "sub_limitation_type = " . $this->db->quote($this->getSubscriptionLimitationType( ), 'integer') . ", " . "sub_start = " . $this->db->quote($this->getSubscriptionStart( ), 'integer') . ", " . "sub_end = " . $this->db->quote($this->getSubscriptionEnd( ), 'integer') . ", " . "sub_type = " . $this->db->quote($this->getSubscriptionType( ), 'integer') . ", " . "sub_password = " . $this->db->quote($this->getSubscriptionPassword( ), 'text') . ", " . "sub_mem_limit = " . $this->db->quote((int) $this->isSubscriptionMembershipLimited( ), 'integer') . ", " . "sub_max_members = " . $this->db->quote($this->getSubscriptionMaxMembers( ), 'integer') . ", " . "sub_notify = " . $this->db->quote($this->getSubscriptionNotify( ), 'integer') . ", " . "view_mode = " . $this->db->quote($this->getViewMode( ), 'integer') . ", " . 'timing_mode = ' . $this->db->quote($this->getTimingMode( ), 'integer') . ', ' . "abo = " . $this->db->quote($this->getAboStatus( ), 'integer') . ", " . "waiting_list = " . $this->db->quote($this->enabledWaitingList( ), 'integer') . ", " . "important = " . $this->db->quote($this->getImportantInformation( ), 'text') . ", " . 'target_group = ' . $this->db->quote($this->getTargetGroup( ), \ilDBConstants::T_TEXT) . ', ' . "show_members = " . $this->db->quote($this->getShowMembers( ), 'integer') . ", " . "show_members_export = " . $this->db->quote($this->getShowMembersExport( ), 'integer') . ", " . "latitude = " . $this->db->quote($this->getLatitude( ), 'text') . ", " . "longitude = " . $this->db->quote($this->getLongitude( ), 'text') . ", " . "location_zoom = " . $this->db->quote($this->getLocationZoom( ), 'integer') . ", " . "enable_course_map = " . $this->db->quote((int) $this->getEnableCourseMap( ), 'integer') . ", " . 'session_limit = ' . $this->db->quote($this->isSessionLimitEnabled( ), 'integer') . ', ' . 'session_prev = ' . $this->db->quote($this->getNumberOfPreviousSessions( ), 'integer') . ', ' . 'session_next = ' . $this->db->quote($this->getNumberOfNextSessions( ), 'integer') . ', ' . 'reg_ac_enabled = ' . $this->db->quote($this->isRegistrationAccessCodeEnabled( ), 'integer') . ', ' . 'reg_ac = ' . $this->db->quote($this->getRegistrationAccessCode( ), 'text') . ', ' . 'auto_notification = ' . $this->db->quote((int) $this->getAutoNotification( ), 'integer') . ', ' . 'status_dt = ' . $this->db->quote($this->getStatusDetermination( ), ilDBConstants::T_INTEGER) . ', ' . 'mail_members_type = ' . $this->db->quote($this->getMailToMembersType( ), 'integer') . ', ' . 'period_start = ' . $this->db->quote(\ilCalendarUtil::convertDateToUtcDBTimestamp($this->getCourseStart( )), \ilDBConstants::T_TIMESTAMP) . ', ' . 'period_end = ' . $this->db->quote(\ilCalendarUtil::convertDateToUtcDBTimestamp($this->getCourseEnd( )), \ilDBConstants::T_TIMESTAMP) . ', ' . 'period_time_indication = ' . $this->db->quote($this->getCourseStartTimeIndication( ) ? 1 : 0, \ilDBConstants::T_INTEGER) . ', ' . 'auto_wait = ' . $this->db->quote((int) $this->hasWaitingListAutoFill( ), 'integer') . ', ' . 'leave_end = ' . $this->db->quote(($this->getCancellationEnd( ) && !$this->getCancellationEnd( )->isNull( )) ? $this->getCancellationEnd( )->get(IL_CAL_UNIX) : null, 'integer') . ', ' . 'min_members = ' . $this->db->quote($this->getSubscriptionMinMembers( ), 'integer') . ' ' . "WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
"INSERT INTO crs_settings (obj_id,syllabus,contact_name,contact_responsibility," . "contact_phone,contact_email,contact_consultation," . "sub_limitation_type,sub_start,sub_end,sub_type,sub_password,sub_mem_limit," . "sub_max_members,sub_notify,view_mode,timing_mode,abo," . "latitude,longitude,location_zoom,enable_course_map,waiting_list,show_members,show_members_export, " . "session_limit,session_prev,session_next, reg_ac_enabled, reg_ac, auto_notification, status_dt, " . "mail_members_type, tutorial_support_block) " . "VALUES( " . $this->db->quote($this->getId( ), 'integer') . ", " . $this->db->quote($this->getSyllabus( ), 'text') . ", " . $this->db->quote($this->getContactName( ), 'text') . ", " . $this->db->quote($this->getContactResponsibility( ), 'text') . ", " . $this->db->quote($this->getContactPhone( ), 'text') . ", " . $this->db->quote($this->getContactEmail( ), 'text') . ", " . $this->db->quote($this->getContactConsultation( ), 'text') . ", " . $this->db->quote(ilCourseConstants::IL_CRS_SUBSCRIPTION_DEACTIVATED, 'integer') . ", " . $this->db->quote($this->getSubscriptionStart( ), 'integer') . ", " . $this->db->quote($this->getSubscriptionEnd( ), 'integer') . ", " . $this->db->quote(ilCourseConstants::IL_CRS_SUBSCRIPTION_DIRECT, 'integer') . ", " . $this->db->quote($this->getSubscriptionPassword( ), 'text') . ", " . "0, " . $this->db->quote($this->getSubscriptionMaxMembers( ), 'integer') . ", " . "1, " . "0, " . $this->db->quote(ilCourseConstants::IL_CRS_VIEW_TIMING_ABSOLUTE, 'integer') . ', ' . $this->db->quote($this->getAboStatus( ), 'integer') . ", " . $this->db->quote($this->getLatitude( ), 'text') . ", " . $this->db->quote($this->getLongitude( ), 'text') . ", " . $this->db->quote($this->getLocationZoom( ), 'integer') . ", " . $this->db->quote($this->getEnableCourseMap( ), 'integer') . ", " . "1, " . "1," . '0,' . $this->db->quote($this->isSessionLimitEnabled( ), 'integer') . ', ' . $this->db->quote($this->getNumberOfPreviousSessions( ), 'integer') . ', ' . $this->db->quote($this->getNumberOfPreviousSessions( ), 'integer') . ', ' . $this->db->quote($this->isRegistrationAccessCodeEnabled( ), 'integer') . ', ' . $this->db->quote($this->getRegistrationAccessCode( ), 'text') . ', ' . $this->db->quote((int) $this->getAutoNotification( ), 'integer') . ', ' . $this->db->quote($this->getStatusDetermination( ), 'integer') . ', ' . $this->db->quote($this->getMailToMembersType( ), 'integer') . ', ' . $this->db->quote($this->getTutorialSupportBlockSettingValue( ), 'integer') . ' ' . ")"1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
"SELECT * FROM crs_settings WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
'SELECT obj_id FROM object_data WHERE type = ' . $ilDB->quote('rolt', 'text') . ' AND title = ' . $ilDB->quote('il_crs_non_member', 'text')1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
"DELETE FROM crs_settings " . "WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
"SELECT obj_id FROM crs_settings " . "WHERE reg_ac_enabled = " . $ilDB->quote(1, 'integer') . " " . "AND reg_ac = " . $ilDB->quote($a_code, 'text')1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
"SELECT leave_end" . " FROM crs_settings" . " WHERE obj_id = " . $ilDB->quote($a_course_id, "integer")1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
"SELECT obj_id, min_members" . " FROM crs_settings" . " WHERE min_members > " . $ilDB->quote(0, "integer") . " AND sub_mem_limit = " . $ilDB->quote(1, "integer") . " AND ((leave_end IS NOT NULL" . " AND leave_end < " . $ilDB->quote($now, "text") . ")" . " OR (leave_end IS NULL" . " AND sub_end IS NOT NULL" . " AND sub_end < " . $ilDB->quote($now, "text") . "))" . " AND (period_start IS NULL OR period_start > " . $ilDB->quote($now_dt, ilDBConstants::T_TEXT) . ")"1
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
"DELETE FROM object_data WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilObjCourseGrouping.php
"DELETE FROM crs_groupings " . "WHERE crs_grp_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilObjCourseGrouping.php
"INSERT INTO object_data " . "(obj_id, type,title,description,owner,create_date,last_update) " . "VALUES " . "(" . $this->db->quote($this->getId( ), "integer") . "," . $this->db->quote($this->type, "text") . "," . $this->db->quote($this->getTitle( ), "text") . "," . $this->db->quote($this->getDescription( ), "text") . "," . $this->db->quote($this->user->getId( ), "integer") . "," . $this->db->now( ) . "," . $this->db->now( ) . ')'1
  • /components/ILIAS/Course/classes/class.ilObjCourseGrouping.php
"INSERT INTO crs_groupings (crs_grp_id,crs_ref_id,crs_id,unique_field) " . "VALUES (" . $this->db->quote($this->getId( ), 'integer') . ", " . $this->db->quote($a_course_ref_id, 'integer') . ", " . $this->db->quote($a_course_id, 'integer') . ", " . $this->db->quote($this->getUniqueField( ), 'text') . " " . ")"1
  • /components/ILIAS/Course/classes/class.ilObjCourseGrouping.php
"UPDATE object_data " . "SET title = " . $this->db->quote($this->getTitle( ), 'text') . ", " . "description = " . $this->db->quote($this->getDescription( ), 'text') . " " . "WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer') . " " . "AND type = " . $this->db->quote($this->getType( ), 'text') . " "1
  • /components/ILIAS/Course/classes/class.ilObjCourseGrouping.php
"UPDATE crs_groupings " . "SET unique_field = " . $this->db->quote($this->getUniqueField( ), 'text') . " " . "WHERE crs_grp_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilObjCourseGrouping.php
"UPDATE conditions " . "SET value = " . $this->db->quote($this->getUniqueField( ), 'text') . " " . "WHERE trigger_obj_id = " . $this->db->quote($this->getId( ), 'integer') . " " . "AND trigger_type = 'crsg'"1
  • /components/ILIAS/Course/classes/class.ilObjCourseGrouping.php
"SELECT * FROM object_data " . "WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilObjCourseGrouping.php
"SELECT * FROM crs_groupings " . "WHERE crs_grp_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilObjCourseGrouping.php
"SELECT * FROM object_data WHERE type = 'crsg' ORDER BY title"1
  • /components/ILIAS/Course/classes/class.ilObjCourseGrouping.php
"DELETE FROM crs_groupings " . "WHERE crs_id = " . $ilDB->quote($a_course_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilObjCourseGrouping.php
"SELECT * FROM crs_groupings " . "WHERE crs_id = " . $ilDB->quote($a_course_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilObjCourseGrouping.php
"SELECT * FROM crs_lm_history " . "WHERE usr_id = " . $this->db->quote($this->getUserId( ), 'integer') . " " . "AND crs_ref_id = " . $this->db->quote($this->getCourseRefId( ), 'integer') . " " . "ORDER BY last_access "1
  • /components/ILIAS/Course/classes/class.ilCourseLMHistory.php
"SELECT * FROM crs_lm_history " . "WHERE usr_id = " . $this->db->quote($this->getUserId( ), 'integer') . " " . "AND crs_ref_id = " . $this->db->quote($this->getCourseRefId( ), 'integer') . ""1
  • /components/ILIAS/Course/classes/class.ilCourseLMHistory.php
"DELETE FROM crs_lm_history WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilCourseLMHistory.php
" SELECT DISTINCT obd.obj_id, obd.type, obd2.title" . " FROM rbac_ua ua" . " JOIN rbac_fa fa ON (ua.rol_id = fa.rol_id)" . " JOIN object_reference obr ON (fa.parent = obr.ref_id)" . " JOIN object_data obd ON (obr.obj_id = obd.obj_id)" . " JOIN object_data obd2 ON (ua.rol_id = obd2.obj_id)" . " WHERE obd.type = " . $ilDB->quote("crs", "text") . " AND fa.assign = " . $ilDB->quote("y", "text") . " AND ua.usr_id = " . $ilDB->quote($a_usr_id, "integer") . " AND " . $ilDB->in("obd.obj_id", $a_obj_ids, false, "integer")1
  • /components/ILIAS/Course/classes/class.ilCourseLP.php
"DELETE FROM crs_start " . "WHERE crs_start_id = " . $this->db->quote($a_crs_start_id, 'integer') . " " . "AND crs_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilCourseStart.php
"SELECT * FROM crs_start " . "WHERE crs_id = " . $this->db->quote($this->getId( ), 'integer') . " " . "AND item_ref_id = " . $this->db->quote($a_item_ref_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilCourseStart.php
"INSERT INTO crs_start (crs_start_id,crs_id,item_ref_id) " . "VALUES( " . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($this->getId( ), 'integer') . ", " . $this->db->quote($a_item_ref_id, 'integer') . " " . ")"1
  • /components/ILIAS/Course/classes/class.ilCourseStart.php
"SELECT * FROM crs_start " . "WHERE crs_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilCourseStart.php
"SELECT passed FROM obj_members " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Course/classes/class.ilCourseParticipants.php
"UPDATE obj_members SET " . "passed = " . $ilDB->quote($a_passed, 'integer') . ", " . "origin = " . $ilDB->quote($origin, 'integer') . ", " . "origin_ts = " . $ilDB->quote(time( ), 'integer') . " " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Course/classes/class.ilCourseParticipants.php
"INSERT INTO obj_members (passed,obj_id,usr_id,notification,blocked,origin,origin_ts) " . "VALUES ( " . $ilDB->quote((int) $a_passed, 'integer') . ", " . $ilDB->quote($a_obj_id, 'integer') . ", " . $ilDB->quote($a_usr_id, 'integer') . ", " . $ilDB->quote(0, 'integer') . ", " . $ilDB->quote(0, 'integer') . ", " . $ilDB->quote($origin, 'integer') . ", " . $ilDB->quote($origin_ts, 'integer') . ") ON DUPLICATE KEY UPDATE passed = VALUES(passed), origin = VALUES(origin), origin_ts = VALUES(origin_ts) "1
  • /components/ILIAS/Course/classes/class.ilCourseParticipants.php
"SELECT origin, origin_ts" . " FROM obj_members" . " WHERE obj_id = " . $this->ilDB->quote($this->obj_id, "integer") . " AND usr_id = " . $this->ilDB->quote($a_usr_id, "integer")1
  • /components/ILIAS/Course/classes/class.ilCourseParticipants.php
"SELECT origin_ts FROM obj_members" . " WHERE usr_id = " . $ilDB->quote($a_usr_id, "integer") . " AND obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND passed = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Course/classes/class.ilCourseParticipants.php
"SELECT usr_id,obj_id FROM obj_members" . " WHERE " . $ilDB->in("usr_id", $a_usr_ids, false, "integer") . " AND " . $ilDB->in("obj_id", $a_obj_ids, false, "integer") . " AND passed = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Course/classes/class.ilCourseParticipants.php
"SELECT * FROM crs_settings " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/class.ilObjCourseAccess.php
'SELECT sub_limitation_type, sub_start, sub_end, sub_mem_limit, sub_max_members FROM crs_settings ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Course/classes/class.ilObjCourseAccess.php
'SELECT period_start, period_end, period_time_indication FROM crs_settings ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Course/classes/class.ilObjCourseAccess.php
"INSERT INTO crs_file (file_id,course_id,file_name,file_size,file_type) " . "VALUES( " . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($this->getCourseId( ), 'integer') . ", " . $this->db->quote($this->getFileName( ), 'text') . ", " . $this->db->quote($this->getFileSize( ), 'integer') . ", " . $this->db->quote($this->getFileType( ), 'text') . " " . ")"1
  • /components/ILIAS/Course/classes/class.ilCourseFile.php
"DELETE FROM crs_file " . "WHERE file_id = " . $this->db->quote($this->getFileId( ), 'integer') . ""1
  • /components/ILIAS/Course/classes/class.ilCourseFile.php
"DELETE FROM crs_file " . "WHERE course_id = " . $ilDB->quote($a_course_id, 'integer') . ""1
  • /components/ILIAS/Course/classes/class.ilCourseFile.php
"SELECT * FROM crs_file " . "WHERE course_id = " . $ilDB->quote($a_course_id, 'integer') . ""1
  • /components/ILIAS/Course/classes/class.ilCourseFile.php
"SELECT * FROM crs_file WHERE file_id = " . $this->db->quote($this->file_id, 'integer')1
  • /components/ILIAS/Course/classes/class.ilCourseFile.php
"INSERT INTO crs_timings_planed (item_id,usr_id,planed_start,planed_end) " . "VALUES( " . $this->db->quote($this->getItemId( ), 'integer') . ", " . $this->db->quote($this->getUserId( ), 'integer') . ", " . $this->db->quote($this->getPlanedStartingTime( ), 'integer') . ", " . $this->db->quote($this->getPlanedEndingTime( ), 'integer') . " " . ")"1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingPlaned.php
"DELETE FROM crs_timings_planed " . "WHERE item_id = " . $ilDB->quote($a_item_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingPlaned.php
"SELECT * FROM crs_timings_planed " . "WHERE item_id = " . $ilDB->quote($a_item_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingPlaned.php
"SELECT * FROM crs_timings_planed " . "WHERE item_id = " . $ilDB->quote($a_item_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingPlaned.php
"DELETE FROM crs_timings_planed " . "WHERE item_id = " . $ilDB->quote($a_item_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingPlaned.php
"DELETE FROM crs_timings_planed " . "WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingPlaned.php
"SELECT * FROM crs_timings_planed " . "WHERE item_id = " . $this->db->quote($this->getItemId( ), 'integer') . " " . "AND usr_id = " . $this->db->quote($this->getUserId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingPlaned.php
'DELETE FROM crs_timings_user WHERE ' . $this->db->in('ref_id', $this->item_ids, false, 'integer') . ' ' . 'AND usr_id = ' . $this->db->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingsUser.php
'SELECT crsi.obj_id sub_ref_id, oref.ref_id, oref.obj_id, crsi.suggestion_start' . ',crsi.suggestion_end,crsi.changeable, crss.timing_mode' . ' FROM crs_settings crss' . ' JOIN object_reference oref ON (oref.obj_id = crss.obj_id AND oref.deleted IS NULL) ' . ' JOIN crs_items crsi ON (crsi.parent_id = oref.ref_id)' . ' JOIN object_reference iref ON (crsi.obj_id = iref.ref_id AND iref.deleted IS NULL) ' . ' WHERE crss.view_mode = ' . $ilDB->quote(ilCourseConstants::IL_CRS_VIEW_TIMING, 'integer') . ' AND ' . $ilDB->in('crss.obj_id', array_keys($course_members_map), false, 'integer') . ' AND crsi.timing_type = ' . $ilDB->quote(ilObjectActivation::TIMINGS_PRESETTING, 'integer')1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingsUser.php
'SELECT * FROM crs_timings_user' . ' WHERE ' . $ilDB->in('usr_id', $a_user_ids, false, 'integer') . ' AND ' . $ilDB->in('ref_id', $user_relevant, false, 'integer')1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingsUser.php
'SELECT oref.ref_id, oref.obj_id, od.type' . ' FROM object_reference oref' . ' JOIN object_data od ON (oref.obj_id = od.obj_id)' . ' WHERE ' . $ilDB->in('oref.ref_id', $a_ref_ids, false, 'integer')1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingsUser.php
'Delete event with disabled timing settings'1
  • /components/ILIAS/Course/classes/Timings/class.ilCalendarScheduleFilterTimings.php
"DELETE FROM crs_timings_usr_accept " . "WHERE crs_id = " . $this->db->quote($a_crs_id, 'integer') . " " . "AND usr_id = " . $this->db->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingAccepted.php
"DELETE FROM crs_timings_usr_accept " . "WHERE crs_id = " . $this->db->quote($a_crs_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingAccepted.php
"DELETE FROM crs_timings_usr_accept " . "WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . ""1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingAccepted.php
"SELECT * FROM crs_timings_usr_accept " . "WHERE crs_id = " . $this->db->quote($this->getCourseId( ), 'integer') . " " . "AND usr_id = " . $this->db->quote($this->getUserId( ), 'integer')1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingAccepted.php
'INSERT INTO crs_timings_user (ref_id, usr_id, sstart, ssend ) VALUES ( ' . $this->db->quote($this->getRefId( ), 'integer') . ', ' . $this->db->quote($this->getUserId( ), 'integer') . ', ' . $this->db->quote($this->getStart( )->get(IL_CAL_UNIX), 'integer') . ', ' . $this->db->quote($this->getEnd( )->get(IL_CAL_UNIX), 'integer') . ' ' . ')'1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingUser.php
'UPDATE crs_timings_user ' . 'SET sstart = ' . $this->db->quote($this->getStart( )->get(IL_CAL_UNIX), 'integer') . ', ' . 'ssend = ' . $this->db->quote($this->getEnd( )->get(IL_CAL_UNIX), 'integer') . ' ' . 'WHERE ref_id = ' . $this->db->quote($this->getRefId( ), 'integer') . ' ' . 'AND usr_id = ' . $this->db->quote($this->getUserId( ), 'integer')1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingUser.php
'DELETE FROM crs_timings_user ' . ' ' . 'WHERE ref_id = ' . $this->db->quote($this->getRefId( ), 'integer') . ' ' . 'AND usr_id = ' . $this->db->quote($this->getUserId( ), 'integer')1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingUser.php
'SELECT * FROM crs_timings_user ' . 'WHERE ref_id = ' . $this->db->quote($this->getRefId( ), 'integer') . ' ' . 'AND usr_id = ' . $this->db->quote($this->getUserId( ), 'integer')1
  • /components/ILIAS/Course/classes/Timings/class.ilTimingUser.php
'SELECT container_id FROM loc_tst_assignments ' . 'WHERE tst_ref_id = ' . $ilDB->quote($a_test_ref_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestAssignments.php
'DELETE FROM loc_tst_assignments ' . 'WHERE container_id = ' . $ilDB->quote($a_container_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestAssignments.php
'SELECT assignment_id FROM loc_tst_assignments ' . 'WHERE container_id = ' . $this->db->quote($this->getContainerId( ), 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestAssignments.php
'SELECT objective_id FROM loc_tst_assignments ' . 'WHERE tst_ref_id = ' . $ilDB->quote($a_test_ref_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestAssignments.php
'SELECT obj_id FROM loc_settings ' . 'WHERE itest = ' . $ilDB->quote($a_trst_ref_id, 'integer') . ' ' . 'OR qtest = ' . $ilDB->quote($a_trst_ref_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOSettings.php
'INSERT INTO loc_settings ' . '(obj_id, it_type,itest,qtest,it_start,qt_type,qt_start,reset_results,passed_obj_mode) VALUES ( ' . $this->db->quote($this->getObjId( ), 'integer') . ', ' . $this->db->quote($this->getInitialTestType( ), 'integer') . ', ' . $this->db->quote($this->getInitialTest( ), 'integer') . ', ' . $this->db->quote($this->getQualifiedTest( ), 'integer') . ', ' . $this->db->quote($this->isInitialTestStart( ), 'integer') . ', ' . $this->db->quote($this->getQualifyingTestType( ), 'integer') . ', ' . $this->db->quote($this->isQualifyingTestStart( ), 'integer') . ', ' . $this->db->quote($this->isResetResultsEnabled( ), 'integer') . ', ' . $this->db->quote($this->getPassedObjectiveMode( ), 'integer') . ' ' . ') '1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOSettings.php
'UPDATE loc_settings ' . ' ' . 'SET it_type = ' . $this->db->quote($this->getInitialTestType( ), 'integer') . ', ' . 'itest = ' . $this->db->quote($this->getInitialTest( ), 'integer') . ', ' . 'qtest = ' . $this->db->quote($this->getQualifiedTest( ), 'integer') . ', ' . 'it_start = ' . $this->db->quote($this->isInitialTestStart( ), 'integer') . ', ' . 'qt_type = ' . $this->db->quote($this->getQualifyingTestType( ), 'integer') . ', ' . 'qt_start = ' . $this->db->quote($this->isQualifyingTestStart( ), 'integer') . ', ' . 'reset_results = ' . $this->db->quote($this->isResetResultsEnabled( ), 'integer') . ', ' . 'passed_obj_mode = ' . $this->db->quote($this->getPassedObjectiveMode( ), 'integer') . ' ' . 'WHERE obj_id = ' . $this->db->quote($this->getObjId( ), 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOSettings.php
'SELECT * FROM loc_settings ' . 'WHERE obj_id = ' . $this->db->quote($this->getObjId( ), 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOSettings.php
'UPDATE loc_user_results ' . 'SET limit_perc = ' . $db->quote($a_limit, ilDBConstants::T_INTEGER) . ' ' . 'WHERE objective_id = ' . $db->quote($a_objective_id, ilDBConstants::T_INTEGER) . ' ' . 'AND type = ' . $db->quote($a_test_type, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
'SELECT * FROM loc_user_results ' . 'WHERE user_id = ' . $ilDB->quote($a_user_id, 'integer') . ' ' . 'AND course_id = ' . $ilDB->quote($a_course_obj_id, 'integer') . ' ' . 'AND objective_id = ' . $ilDB->quote($a_objective_id, 'integer') . ' ' . 'AND type = ' . $ilDB->quote($a_tst_type, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
'UPDATE loc_user_results ' . 'SET is_final = ' . $db->quote(0, 'integer') . ' ' . 'WHERE objective_id = ' . $db->quote($a_objective_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
"DELETE FROM loc_user_results" . " WHERE user_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
"DELETE FROM loc_user_results" . " WHERE course_id = " . $ilDB->quote($a_course_id, "integer")1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
'DELETE FROM loc_user_results ' . 'WHERE course_id = ' . $this->db->quote($this->course_obj_id, ilDBConstants::T_INTEGER) . ' ' . 'AND user_id = ' . $this->db->quote($this->user_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
"DELETE FROM loc_user_results" . " WHERE course_id = " . $ilDB->quote($a_course_id, "integer") . " AND " . $ilDB->in("user_id", $a_user_ids, false, "integer")1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
"SELECT objective_id" . " FROM loc_user_results" . " WHERE course_id = " . $this->db->quote($this->course_obj_id, "integer") . " AND user_id = " . $this->db->quote($this->user_id, "integer")1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
"SELECT *" . " FROM loc_user_results" . " WHERE course_id = " . $this->db->quote($this->course_obj_id, "integer") . " AND user_id = " . $this->db->quote($this->user_id, "integer")1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
"SELECT lor.objective_id, lor.user_id, lor.status, lor.is_final" . " FROM loc_user_results lor" . " JOIN crs_objectives cobj ON (cobj.objective_id = lor.objective_id)" . " WHERE " . $ilDB->in("lor.objective_id", $a_objective_ids, false, "integer")1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
"SELECT lor.objective_id, lor.user_id, lor.status, lor.type, lor.is_final" . " FROM loc_user_results lor" . " JOIN crs_objectives cobj ON (cobj.objective_id = lor.objective_id)" . " WHERE " . $ilDB->in("lor.objective_id", $a_objective_ids, false, "integer") . " AND cobj.active = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
'SELECT objective_id FROM loc_user_results ' . 'WHERE course_id = ' . $ilDB->quote($a_container_id, 'integer') . ' ' . 'AND user_id = ' . $ilDB->quote($a_user_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
"SELECT lor.objective_id, lor.user_id, lor.status, lor.is_final, lor.tstamp, lor.course_id, cobj.title" . " FROM loc_user_results lor" . " JOIN crs_objectives cobj ON (cobj.objective_id = lor.objective_id)" . " WHERE lor.user_id = " . $ilDB->quote($a_user_id, "integer") . " AND lor.type = " . $ilDB->quote(self::TYPE_QUALIFIED, "integer") . " AND lor.tstamp >= " . $ilDB->quote($a_from_ts, "integer") . " AND lor.tstamp <= " . $ilDB->quote($a_to_ts, "integer") . " AND lor.status = " . $ilDB->quote(self::STATUS_COMPLETED, "integer")1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUserResults.php
"SELECT crs_id FROM crs_objectives " . "WHERE objective_id = " . $ilDB->quote($a_objective_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
'SELECT passes from crs_objectives ' . 'WHERE objective_id = ' . $ilDB->quote($a_objective_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
'SELECT title,description from crs_objectives ' . 'WHERE objective_id = ' . $ilDB->quote($a_objective_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"SELECT * FROM crs_objectives " . "WHERE crs_id = " . $this->db->quote($this->course_obj->getId( ), 'integer') . ' ' . "ORDER BY position "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"INSERT INTO crs_objectives (crs_id,objective_id,active,title,description,position,created,passes) " . "VALUES( " . $this->db->quote($this->course_obj->getId( ), 'integer') . ", " . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($this->isActive( ), 'integer') . ', ' . $this->db->quote($this->getTitle( ), 'text') . ", " . $this->db->quote($this->getDescription( ), 'text') . ", " . $this->db->quote($this->__getLastPosition( ) + 1, 'integer') . ", " . $this->db->quote(time( ), 'integer') . ", " . $this->db->quote($this->getPasses( ), 'integer') . ' ' . ")"1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"UPDATE crs_objectives " . "SET title = " . $this->db->quote($this->getTitle( ), 'text') . ", " . 'active = ' . $this->db->quote($this->isActive( ), 'integer') . ', ' . "description = " . $this->db->quote($this->getDescription( ), 'text') . ", " . 'passes = ' . $this->db->quote($this->getPasses( ), 'integer') . ' ' . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND crs_id = " . $this->db->quote($this->course_obj->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"UPDATE crs_objectives " . "SET position = " . $this->db->quote((string) $a_position, 'integer') . " " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"DELETE FROM crs_objectives " . "WHERE crs_id = " . $this->db->quote($this->course_obj->getId( ), 'integer') . " " . "AND objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"UPDATE crs_objectives " . "SET position = position + 1 " . "WHERE position = " . $this->db->quote($this->__getPosition( ) - 1, 'integer') . " " . "AND crs_id = " . $this->db->quote($this->course_obj->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"UPDATE crs_objectives " . "SET position = position - 1 " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND crs_id = " . $this->db->quote($this->course_obj->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"UPDATE crs_objectives " . "SET position = position - 1 " . "WHERE position = " . $this->db->quote($this->__getPosition( ) + 1, 'integer') . " " . "AND crs_id = " . $this->db->quote($this->course_obj->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"UPDATE crs_objectives " . "SET position = position + 1 " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND crs_id = " . $this->db->quote($this->course_obj->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"SELECT * FROM crs_objectives " . "WHERE crs_id = " . $this->db->quote($this->course_obj->getId( ), 'integer') . " " . "AND objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"UPDATE crs_objectives " . "SET position = position - 1 " . "WHERE position > " . $this->db->quote($this->__getPosition( ), 'integer') . " " . "AND crs_id = " . $this->db->quote($this->course_obj->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"SELECT MAX(position) pos FROM crs_objectives " . "WHERE crs_id = " . $this->db->quote($this->course_obj->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"SELECT objective_id FROM crs_objectives " . "WHERE crs_id = " . $ilDB->quote($course_id, 'integer') . " " . 'AND active = ' . $ilDB->quote(1, 'integer') . ' ' . "ORDER BY position"1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"SELECT objective_id FROM crs_objectives " . "WHERE crs_id = " . $ilDB->quote($course_id, 'integer') . " " . "ORDER BY position"1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"DELETE FROM crs_objective_lm WHERE " . $in1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"DELETE FROM crs_objective_tst WHERE " . $in1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"DELETE FROM crs_objective_qst WHERE " . $in1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
"DELETE FROM crs_objectives WHERE crs_id = " . $ilDB->quote($course_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjective.php
'SELECT * FROM loc_tst_run ' . 'WHERE test_id = ' . $ilDB->quote($a_test_id, 'integer') . ' ' . 'AND objective_id = ' . $ilDB->quote($a_objective_id, 'integer') . ' ' . 'AND user_id = ' . $ilDB->quote($a_user_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestRun.php
'DELETE FROM loc_tst_run ' . 'WHERE container_id = ' . $ilDB->quote($a_container_id, 'integer') . ' ' . 'AND user_id = ' . $ilDB->quote($a_user_id, 'integer') . ' '1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestRun.php
'DELETE FROM loc_tst_run ' . 'WHERE container_id = ' . $ilDB->quote($a_container_id, 'integer') . ' ' . 'AND user_id = ' . $ilDB->quote($a_user_id, 'integer') . ' ' . 'AND test_id = ' . $ilDB->quote($a_test_id, 'integer') . ' '1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestRun.php
'SELECT objective_id FROM loc_tst_run ' . 'WHERE container_id = ' . $ilDB->quote($a_container_id, 'integer') . ' ' . 'AND user_id = ' . $ilDB->quote($a_user_id, 'integer') . ' ' . 'AND test_id = ' . $ilDB->quote($a_test_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestRun.php
'SELECT objective_id FROM loc_tst_run ' . 'WHERE container_id = ' . $ilDB->quote($a_container_id, 'integer') . ' ' . 'AND user_id = ' . $ilDB->quote($a_user_id, 'integer') . ' ' . 'AND test_id = ' . $ilDB->quote($a_test_id, 'integer') . ' '1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestRun.php
'DELETE FROM loc_tst_run ' . 'WHERE container_id = ' . $this->db->quote($this->getContainerId( ), 'integer') . ' ' . 'AND user_id = ' . $this->db->quote($this->getUserId( ), 'integer') . ' ' . 'AND test_id = ' . $this->db->quote($this->getTestId( ), 'integer') . ' ' . 'AND objective_id = ' . $this->db->quote($this->getObjectiveId( ), 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestRun.php
'INSERT INTO loc_tst_run ' . '(container_id, user_id, test_id, objective_id,max_points,questions) ' . 'VALUES( ' . $this->db->quote($this->getContainerId( ), 'integer') . ', ' . $this->db->quote($this->getUserId( ), 'integer') . ', ' . $this->db->quote($this->getTestId( ), 'integer') . ', ' . $this->db->quote($this->getObjectiveId( ), 'integer') . ', ' . $this->db->quote($this->getMaxPoints( ), 'integer') . ', ' . $this->db->quote(serialize($this->getQuestions( )), 'text') . ' ' . ')'1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestRun.php
'UPDATE loc_tst_run SET ' . 'max_points = ' . $this->db->quote($this->getMaxPoints( ), 'integer') . ', ' . 'questions = ' . $this->db->quote(serialize($this->getQuestions( )), 'text') . ' ' . 'WHERE container_id = ' . $this->db->quote($this->container_id, 'integer') . ' ' . 'AND user_id = ' . $this->db->quote($this->getUserId( ), 'integer') . ' ' . 'AND test_id = ' . $this->db->quote($this->getTestId( ), 'integer') . ' ' . 'AND objective_id = ' . $this->db->quote($this->getObjectiveId( ), 'integer') . ' '1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestRun.php
'SELECT * FROM loc_tst_run ' . 'WHERE container_id = ' . $this->db->quote($this->getContainerId( ), 'integer') . ' ' . 'AND user_id = ' . $this->db->quote($this->getUserId( ), 'integer') . ' ' . 'AND test_id = ' . $this->db->quote($this->getTestId( ), 'integer') . ' ' . 'AND objective_id = ' . $this->db->quote($this->getObjectiveId( ), 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestRun.php
'SELECT nr_of_tries FROM tst_tests ' . 'WHERE obj_fi = ' . $ilDB->quote(ilObject::_lookupObjId($a_test_ref_id), 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOUtils.php
"SELECT DISTINCT(ref_id) ref_id FROM crs_objective_lm " . "WHERE objective_id = " . $ilDB->quote($a_objective_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
"SELECT DISTINCT(com.ref_id) ref_id FROM crs_objectives co " . "JOIN crs_objective_lm com ON co.objective_id = com.objective_id " . "JOIN object_reference obr ON com.ref_id = obr.ref_id " . "JOIN object_data obd ON obr.obj_id = obd.obj_id " . "WHERE co.crs_id = " . $ilDB->quote($a_container_id, 'integer') . " " . "ORDER BY obd.title "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
"SELECT * FROM crs_objective_lm " . "WHERE ref_id = " . $this->db->quote($a_ref_id, 'integer') . " " . "AND objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND type != 'st' AND type != 'pg' "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
"SELECT * FROM crs_objective_lm " . "WHERE ref_id = " . $this->db->quote($a_ref_id, 'integer') . " " . "AND obj_id = " . $this->db->quote($a_obj_id, 'integer') . " " . "AND objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND (type = 'st' OR type = 'pg')"1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
"SELECT * FROM crs_objective_lm " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND ref_id = " . $this->db->quote($this->getLMRefId( ), 'integer') . " " . "AND obj_id = " . $this->db->quote($this->getLMObjId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
"SELECT * FROM crs_objective_lm " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND ref_id = " . $this->db->quote($this->getLMRefId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
"INSERT INTO crs_objective_lm (lm_ass_id,objective_id,ref_id,obj_id,type) " . "VALUES( " . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($this->getObjectiveId( ), 'integer') . ", " . $this->db->quote($this->getLMRefId( ), 'integer') . ", " . $this->db->quote($this->getLMObjId( ), 'integer') . ", " . $this->db->quote($this->getType( ), 'text') . ")"1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
"DELETE FROM crs_objective_lm " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND ref_id = " . $this->db->quote($ref_id, 'integer') . " " . "AND obj_id = " . $this->db->quote($obj_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
"SELECT * FROM crs_objective_lm " . "WHERE ref_id = " . $this->db->quote($ref_id, 'integer') . " " . "AND obj_id = " . $this->db->quote($obj_id, 'integer') . " " . "AND objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
"DELETE FROM crs_objective_lm " . "WHERE lm_ass_id = " . $this->db->quote($lm_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
"DELETE FROM crs_objective_lm " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
"UPDATE crs_objective_lm " . "SET position = " . $this->db->quote((string) $a_position, 'integer') . " " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND lm_ass_id = " . $this->db->quote($a_ass_id, "integer")1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
"SELECT position,lm_ass_id,lm.ref_id,lm.obj_id,lm.type FROM crs_objective_lm lm " . "JOIN object_reference obr ON lm.ref_id = obr.ref_id " . "JOIN object_data obd ON obr.obj_id = obd.obj_id " . "LEFT JOIN lm_data lmd ON lmd.obj_id = lm.obj_id " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "ORDER BY position,obd.title,lmd.title"1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveMaterials.php
'SELECT * FROM loc_rnd_qpl ' . 'WHERE container_id = ' . $ilDB->quote($a_container_id, 'integer') . ' ' . 'AND objective_id = ' . $ilDB->quote($a_objective_id, 'integer') . ' ' . 'AND tst_type = ' . $ilDB->quote($a_test_type, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLORandomTestQuestionPools.php
'SELECT * FROM loc_rnd_qpl ' . 'WHERE container_id = ' . $ilDB->quote($a_container_id, 'integer') . ' ' . 'AND objective_id = ' . $ilDB->quote($a_objective_id, 'integer') . ' ' . 'AND tst_id = ' . $ilDB->quote($a_test_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLORandomTestQuestionPools.php
'SELECT * FROM loc_rnd_qpl ' . 'WHERE container_id = ' . $ilDB->quote($a_container_id, 'integer') . ' ' . 'AND objective_id = ' . $ilDB->quote($a_objective_id, 'integer') . ' ' . 'AND tst_id = ' . $ilDB->quote($a_test_id, 'integer') . ' ' . 'AND tst_type = ' . $ilDB->quote($a_test_type, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLORandomTestQuestionPools.php
'SELECT objective_id FROM loc_rnd_qpl ' . 'WHERE container_id = ' . $ilDB->quote($a_container_id, 'integer') . ' ' . 'AND qp_seq = ' . $ilDB->quote($a_seq_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLORandomTestQuestionPools.php
'SELECT * FROM loc_rnd_qpl ' . 'WHERE container_id = ' . $this->db->quote($this->getContainerId( ), 'integer') . ' ' . 'AND objective_id = ' . $this->db->quote($this->getObjectiveId( ), 'integer') . ' ' . 'AND tst_type = ' . $this->db->quote($this->getTestType( ), 'integer') . ' ' . 'AND qp_seq = ' . $this->db->quote($this->getQplSequence( ), 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLORandomTestQuestionPools.php
'DELETE FROM loc_rnd_qpl ' . 'WHERE container_id = ' . $this->db->quote($this->getContainerId( ), 'integer') . ' ' . 'AND objective_id = ' . $this->db->quote($this->getObjectiveId( ), 'integer') . ' ' . 'AND tst_type = ' . $this->db->quote($this->getTestType( ), 'integer') . ' ' . 'AND qp_seq = ' . $this->db->quote($this->getQplSequence( ), 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLORandomTestQuestionPools.php
'DELETE FROM loc_rnd_qpl ' . 'WHERE container_id = ' . $db->quote($a_course_id, 'integer') . ' ' . 'AND objective_id = ' . $db->quote($a_objective_id, 'integer') . ' ' . 'AND tst_type = ' . $db->quote($a_tst_type, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLORandomTestQuestionPools.php
'INSERT INTO loc_rnd_qpl ' . '(container_id, objective_id, tst_type, tst_id, qp_seq, percentage) ' . 'VALUES ( ' . $this->db->quote($this->getContainerId( ), 'integer') . ', ' . $this->db->quote($this->getObjectiveId( ), 'integer') . ', ' . $this->db->quote($this->getTestType( ), 'integer') . ', ' . $this->db->quote($this->getTestId( ), 'integer') . ', ' . $this->db->quote($this->getQplSequence( ), 'integer') . ', ' . $this->db->quote($this->getLimit( ), ilDBConstants::T_INTEGER) . ' ' . ')'1
  • /components/ILIAS/Course/classes/Objectives/class.ilLORandomTestQuestionPools.php
'SELECT * FROM loc_rnd_qpl ' . 'WHERE objective_id = ' . $ilDB->quote($a_objective_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLORandomTestQuestionPools.php
"SELECT objective_id FROM crs_objective_status " . "WHERE " . $ilDB->in('objective_id', $objectives, false, 'integer') . ' ' . "AND user_id = " . $ilDB->quote($a_user_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
"SELECT objective_id FROM crs_objective_status " . "WHERE " . $ilDB->in('objective_id', $objectives, false, 'integer') . " " . "AND user_id = " . $ilDB->quote($a_user_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
"SELECT objective_id FROM crs_objective_status_p " . "WHERE " . $ilDB->in('objective_id', $objectives, false, 'integer') . ' ' . "AND user_id = " . $ilDB->quote($a_user_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
"DELETE FROM crs_objective_status " . "WHERE " . $this->db->in('objective_id', $objectives, false, 'integer') . ' ' . "AND user_id = " . $this->db->quote($this->getUserId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
"DELETE FROM crs_objective_status_p " . "WHERE " . $this->db->in('objective_id', $objectives, false, 'integer') . ' ' . "AND user_id = " . $this->db->quote($this->getUserId( ), ilDBConstants::T_INTEGER) . ""1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
"DELETE FROM loc_user_results " . "WHERE " . $this->db->in('objective_id', $objectives, false, 'integer') . ' ' . "AND user_id = " . $this->db->quote($this->getUserId( ), ilDBConstants::T_INTEGER) . ""1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
"SELECT status FROM crs_objective_status " . "WHERE objective_id = " . $this->db->quote($a_objective_id, 'integer') . " " . "AND user_id = " . $this->db->quote($this->getUserId( ), 'integer') . ""1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
"SELECT q2.question_id qid,q2.objective_id ob FROM crs_objective_qst q1, " . "crs_objective_qst q2 " . "WHERE q1.question_id = " . $ilDB->quote($a_question_id, 'integer') . " " . "AND q1.objective_id = q2.objective_id "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
"SELECT t.objective_id obj,t.ref_id ref, question_id,tst_status,tst_limit " . "FROM crs_objective_tst t JOIN crs_objective_qst q " . "ON (t.objective_id = q.objective_id AND t.ref_id = q.ref_id) " . "WHERE " . $ilDB->in('t.objective_id', $a_all_objectives, false, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
"SELECT question_id,points FROM qpl_questions " . "WHERE " . $ilDB->in('question_id', (array) $objectives['all_questions'], false, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
"SELECT question_fi, MAX(points) as reached FROM tst_test_result " . "JOIN tst_active ON (active_id = active_fi) " . "WHERE user_fi = " . $ilDB->quote($a_user_id, 'integer') . " " . "AND " . $ilDB->in('question_fi', (array) $objectives['all_questions'], false, 'integer') . " " . "GROUP BY question_fi,user_fi"1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
"SELECT COUNT(t1.crs_id) num,t1.crs_id FROM crs_objectives t1 " . "JOIN crs_objectives t2 WHERE t1.crs_id = t2.crs_id and " . $ilDB->in('t1.objective_id', $objective_ids, false, 'integer') . " " . "GROUP BY t1.crs_id"1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
"SELECT COUNT(cs.objective_id) num_passed FROM crs_objective_status cs " . "JOIN crs_objectives co ON cs.objective_id = co.objective_id " . "WHERE crs_id = " . $ilDB->quote($row->crs_id, 'integer') . " " . "AND user_id = " . $ilDB->quote($a_user_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveResult.php
'INSERT INTO loc_tst_assignments (assignment_id, container_id, assignment_type, objective_id, tst_ref_id) ' . 'VALUES ( ' . $this->db->quote($this->getAssignmentId( ), 'integer') . ', ' . $this->db->quote($this->getContainerId( ), 'integer') . ', ' . $this->db->quote($this->getAssignmentType( ), 'integer') . ', ' . $this->db->quote($this->getObjectiveId( ), 'integer') . ', ' . $this->db->quote($this->getTestRefId( ), 'integer') . ' ' . ') '1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestAssignment.php
'UPDATE loc_tst_assignments ' . 'SET container_id = ' . $this->db->quote($this->getContainerId( ), 'integer') . ', ' . 'assignment_type = ' . $this->db->quote($this->getAssignmentType( ), 'integer') . ', ' . 'objective_id = ' . $this->db->quote($this->getObjectiveId( ), 'integer') . ', ' . 'tst_ref_id = ' . $this->db->quote($this->getTestRefId( ), 'integer') . ' ' . 'WHERE assignment_id = ' . $this->db->quote($this->getAssignmentId( ), 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestAssignment.php
'DELETE FROM loc_tst_assignments ' . 'WHERE assignment_id = ' . $this->db->quote($this->getAssignmentId( ), 'integer') . ' '1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestAssignment.php
'SELECT * FROM loc_tst_assignments ' . 'WHERE assignment_id = ' . $this->db->quote($this->getAssignmentId( ), 'integer') . ' '1
  • /components/ILIAS/Course/classes/Objectives/class.ilLOTestAssignment.php
'SELECT objective_id FROM crs_objective_qst ' . 'WHERE question_id = ' . $ilDB->quote($a_qid, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"SELECT qst_ass_id FROM crs_objective_qst " . "WHERE ref_id = " . $ilDB->quote($a_test_id, 'integer') . " " . "AND objective_id = " . $ilDB->quote($a_objective_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"UPDATE crs_objective_tst " . "SET tst_status = " . $this->db->quote($test['tst_status'], 'integer') . ", " . "tst_limit_p = " . $this->db->quote($test['tst_limit'], 'integer') . " " . "WHERE objective_id = " . $this->db->quote($a_new_objective, 'integer') . " " . "AND ref_id = " . $this->db->quote($new_test_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"UPDATE crs_objective_tst " . "SET tst_status = " . $this->db->quote($this->getTestStatus( ), 'integer') . " " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND ref_id = " . $this->db->quote($this->getTestRefId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"SELECT * FROM crs_objective_tst " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND ref_id = " . $this->db->quote($this->getTestRefId( ), 'integer') . ""1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"SELECT tst_limit_p FROM crs_objective_tst " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND tst_status = " . $this->db->quote($this->getTestStatus( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"INSERT INTO crs_objective_tst (test_objective_id,objective_id,ref_id,obj_id,tst_status,tst_limit_p) " . "VALUES( " . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($this->getObjectiveId( ), 'integer') . ", " . $this->db->quote($this->getTestRefId( ), 'integer') . ", " . $this->db->quote($this->getTestObjId( ), 'integer') . ", " . $this->db->quote($this->getTestStatus( ), 'integer') . ", " . $this->db->quote($limit, 'integer') . " " . ")"1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"DELETE FROM crs_objective_qst " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND ref_id = " . $this->db->quote($a_test_ref_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"DELETE FROM crs_objective_tst " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND ref_id = " . $this->db->quote($a_test_ref_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"UPDATE crs_objective_tst " . "SET tst_limit_p = " . $ilDB->quote($a_limit, 'integer') . " " . "WHERE tst_status = " . $ilDB->quote($a_status, 'integer') . " " . "AND objective_id = " . $ilDB->quote($a_objective_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"UPDATE crs_objective_tst " . "SET tst_status = " . $this->db->quote($this->getTestStatus( ), 'integer') . ", " . "tst_limit_p = " . $this->db->quote($this->getTestSuggestedLimit( ), 'integer') . " " . "WHERE test_objective_id = " . $this->db->quote($a_objective_id, 'integer') . ""1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"SELECT * FROM crs_objective_tst cot " . "JOIN object_data obd ON cot.obj_id = obd.obj_id " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "ORDER BY title "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"SELECT * FROM crs_objective_tst " . "WHERE test_objective_id = " . $ilDB->quote($a_test_objective_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"UPDATE crs_objective_tst " . "SET tst_limit = " . $this->db->quote($points, 'integer') . " " . "WHERE test_objective_id = " . $this->db->quote($test_data['test_objective_id'], 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"DELETE FROM crs_objective_qst " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "AND question_id = " . $this->db->quote($this->getQuestionId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"INSERT INTO crs_objective_qst (qst_ass_id, objective_id,ref_id,obj_id,question_id) " . "VALUES( " . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($this->getObjectiveId( ), 'integer') . ", " . $this->db->quote($this->getTestRefId( ), 'integer') . ", " . $this->db->quote($this->getTestObjId( ), 'integer') . ", " . $this->db->quote($this->getQuestionId( ), 'integer') . ")"1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"SELECT * FROM crs_objective_qst " . "WHERE qst_ass_id = " . $this->db->quote($qst_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"DELETE FROM crs_objective_qst " . "WHERE qst_ass_id = " . $this->db->quote($qst_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"SELECT * FROM crs_objective_qst " . "WHERE ref_id = " . $this->db->quote($test_rid, 'integer') . " " . "AND obj_id = " . $this->db->quote($test_oid, 'integer') . " " . "AND objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
'DELETE FROM crs_objective_tst ' . 'WHERE ref_id = ' . $ilDB->quote($a_tst_ref_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
'DELETE FROM crs_objective_qst ' . 'WHERE ref_id = ' . $ilDB->quote($a_tst_ref_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
'DELETE from crs_objective_tst ' . 'WHERE objective_id = ' . $this->db->quote($this->getObjectiveId( ), 'integer') . ' ' . 'AND tst_status = ' . $this->db->quote($a_type, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
'DELETE from crs_objective_tst ' . 'WHERE objective_id = ' . $this->db->quote($this->getObjectiveId( ), 'integer') . ' ' . 'AND ' . $this->db->in('ref_id', $deletable_refs, false, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"DELETE FROM crs_objective_qst " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"DELETE FROM crs_objective_tst " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"SELECT * FROM crs_objective_tst " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"SELECT * FROM crs_objective_qst coq " . "JOIN qpl_questions qq ON coq.question_id = qq.question_id " . "WHERE objective_id = " . $this->db->quote($this->getObjectiveId( ), 'integer') . " " . "ORDER BY title"1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"SELECT co.objective_id FROM crs_objectives co JOIN " . "crs_objective_tst cot ON co.objective_id = cot.objective_id " . "WHERE crs_id = " . $ilDB->quote($a_course_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"SELECT crs_qst.objective_id objective_id FROM crs_objective_qst crs_qst, crs_objectives crs_obj " . "WHERE crs_qst.objective_id = crs_obj.objective_id " . "AND crs_qst.objective_id = " . $ilDB->quote($a_objective_id, 'integer') . " " . "AND ref_id = " . $ilDB->quote($a_tst_ref_id, 'integer') . " " . "AND question_id = " . $ilDB->quote($a_question_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
'SELECT question_id FROM crs_objective_qst ' . 'WHERE objective_id = ' . $ilDB->quote($a_objective, 'integer') . ' ' . 'AND obj_id = ' . $ilDB->quote($a_test_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
'SELECT tst_limit_p FROM crs_objective_tst ' . 'WHERE objective_id = ' . $ilDB->quote($a_objective_id, 'integer') . ' ' . 'AND obj_id = ' . $ilDB->quote($a_test_id, 'integer')1
  • /components/ILIAS/Course/classes/Objectives/class.ilCourseObjectiveQuestion.php
"DELETE FROM crs_f_definitions " . "WHERE obj_id = " . $ilDB->quote($a_container_id, 'integer') . " "1
  • /components/ILIAS/Course/classes/Export/class.ilCourseDefinedFieldDefinition.php
"SELECT * FROM crs_f_definitions " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND field_required = 1"1
  • /components/ILIAS/Course/classes/Export/class.ilCourseDefinedFieldDefinition.php
"SELECT field_name FROM crs_f_definitions " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Course/classes/Export/class.ilCourseDefinedFieldDefinition.php
"SELECT field_id FROM crs_f_definitions " . "WHERE obj_id = " . $ilDB->quote($a_container_id, 'integer') . " " . "ORDER BY " . self::IL_CDF_SORT_ID1
  • /components/ILIAS/Course/classes/Export/class.ilCourseDefinedFieldDefinition.php
"SELECT * FROM crs_f_definitions " . "WHERE field_id = " . $ilDB->quote($a_field_id, 'integer')1
  • /components/ILIAS/Course/classes/Export/class.ilCourseDefinedFieldDefinition.php
"INSERT INTO crs_f_definitions (field_id,obj_id,field_name,field_type,field_values,field_required,field_values_opt) " . "VALUES ( " . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($this->getObjId( ), 'integer') . ", " . $this->db->quote($this->getName( ), "text") . ", " . $this->db->quote($this->getType( ), 'integer') . ", " . $this->db->quote(serialize($this->getValues( )), 'text') . ", " . $this->db->quote($this->isRequired( ), 'integer') . ", " . $this->db->quote(serialize($this->getValueOptions( )), 'text') . ' ' . ") "1
  • /components/ILIAS/Course/classes/Export/class.ilCourseDefinedFieldDefinition.php
"UPDATE crs_f_definitions " . "SET field_name = " . $this->db->quote($this->getName( ), 'text') . ", " . "field_type = " . $this->db->quote($this->getType( ), 'integer') . ", " . "field_values = " . $this->db->quote(serialize($this->getValues( )), 'text') . ", " . "field_required = " . $this->db->quote($this->isRequired( ), 'integer') . ", " . 'field_values_opt = ' . $this->db->quote(serialize($this->getValueOptions( )), 'text') . ' ' . "WHERE field_id = " . $this->db->quote($this->getId( ), 'integer') . " " . "AND obj_id = " . $this->db->quote($this->getObjId( ), 'integer')1
  • /components/ILIAS/Course/classes/Export/class.ilCourseDefinedFieldDefinition.php
"DELETE FROM crs_f_definitions " . "WHERE field_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Export/class.ilCourseDefinedFieldDefinition.php
"SELECT * FROM crs_f_definitions " . "WHERE field_id = " . $this->db->quote($this->getId( ), 'integer') . " " . "AND obj_id = " . $this->db->quote($this->getObjId( ), 'integer') . " "1
  • /components/ILIAS/Course/classes/Export/class.ilCourseDefinedFieldDefinition.php
"SELECT * FROM crs_user_data " . $where1
  • /components/ILIAS/Course/classes/Export/class.ilCourseUserData.php
"SELECT COUNT(*) num_entries FROM crs_user_data " . "WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " " . "AND value != '' AND value IS NOT NULL " . $and . " " . " "1
  • /components/ILIAS/Course/classes/Export/class.ilCourseUserData.php
"DELETE FROM crs_user_data " . "WHERE usr_id = " . $ilDB->quote($a_user_id, 'integer')1
  • /components/ILIAS/Course/classes/Export/class.ilCourseUserData.php
"DELETE FROM crs_user_data " . "WHERE field_id = " . $ilDB->quote($a_field_id, 'integer')1
  • /components/ILIAS/Course/classes/Export/class.ilCourseUserData.php
"DELETE FROM crs_user_data " . "WHERE usr_id = " . $this->db->quote($this->user_id, 'integer') . " " . "AND field_id = " . $this->db->quote($this->field_id, 'integer')1
  • /components/ILIAS/Course/classes/Export/class.ilCourseUserData.php
"INSERT INTO crs_user_data (value,usr_id,field_id) " . "VALUES( " . $this->db->quote($this->getValue( ), 'text') . ", " . $this->db->quote($this->user_id, 'integer') . ", " . $this->db->quote($this->field_id, 'integer') . " " . ")"1
  • /components/ILIAS/Course/classes/Export/class.ilCourseUserData.php
"SELECT * FROM crs_user_data " . "WHERE usr_id = " . $this->db->quote($this->user_id, 'integer') . " " . "AND field_id = " . $this->db->quote($this->field_id, 'integer')1
  • /components/ILIAS/Course/classes/Export/class.ilCourseUserData.php
"SELECT * FROM il_rating_cat" . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Rating/classes/class.ilRatingCategory.php
"SELECT max(pos) pos FROM il_rating_cat" . " WHERE parent_id = " . $ilDB->quote($this->getParentId( ), "integer")1
  • /components/ILIAS/Rating/classes/class.ilRatingCategory.php
"DELETE FROM il_rating" . " WHERE category_id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Rating/classes/class.ilRatingCategory.php
"DELETE FROM il_rating_cat" . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Rating/classes/class.ilRatingCategory.php
"SELECT * FROM il_rating_cat" . " WHERE parent_id = " . $ilDB->quote($a_parent_obj_id, "integer") . " ORDER BY pos"1
  • /components/ILIAS/Rating/classes/class.ilRatingCategory.php
"SELECT id, parent_id, title," . " description, pos" . " FROM il_rating_cat" . " WHERE " . $ilDB->in("parent_id", $a_ids, false, "integer")1
  • /components/ILIAS/Rating/classes/class.ilRatingDataSet.php
"DELETE FROM il_rating WHERE " . "user_id = " . $ilDB->quote($a_user_id, "integer") . " AND " . "obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . "obj_type = " . $ilDB->quote($a_obj_type, "text") . " AND " . "sub_obj_id = " . $ilDB->quote((int) $a_sub_obj_id, "integer") . " AND " . $ilDB->equals("sub_obj_type", $a_sub_obj_type, "text", true) . " AND " . "category_id = " . $ilDB->quote(0, "integer")1
  • /components/ILIAS/Rating/classes/class.ilRating.php
"DELETE FROM il_rating WHERE " . "user_id = " . $ilDB->quote($a_user_id, "integer") . " AND " . "obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . "obj_type = " . $ilDB->quote($a_obj_type, "text") . " AND " . "sub_obj_id = " . $ilDB->quote((int) $a_sub_obj_id, "integer") . " AND " . $ilDB->equals("sub_obj_type", $a_sub_obj_type, "text", true) . " AND " . "category_id = " . $ilDB->quote($a_category_id, "integer")1
  • /components/ILIAS/Rating/classes/class.ilRating.php
"INSERT INTO il_rating (user_id, obj_id, obj_type," . "sub_obj_id, sub_obj_type, category_id, rating, tstamp) VALUES (" . $ilDB->quote($a_user_id, "integer") . "," . $ilDB->quote($a_obj_id, "integer") . "," . $ilDB->quote($a_obj_type, "text") . "," . $ilDB->quote((int) $a_sub_obj_id, "integer") . "," . $ilDB->quote($a_sub_obj_type, "text") . "," . $ilDB->quote($a_category_id, "integer") . "," . $ilDB->quote($a_rating, "integer") . "," . $ilDB->quote(time( ), "integer") . ")"1
  • /components/ILIAS/Rating/classes/class.ilRating.php
"DELETE FROM il_rating WHERE " . "user_id = " . $ilDB->quote($a_user_id, "integer") . " AND " . "obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . "obj_type = " . $ilDB->quote($a_obj_type, "text") . " AND " . "sub_obj_id = " . $ilDB->quote($a_sub_obj_id, "integer") . " AND " . $ilDB->equals("sub_obj_type", $a_sub_obj_type, "text", true)1
  • /components/ILIAS/Rating/classes/class.ilRating.php
"SELECT AVG(rating) av FROM il_rating WHERE " . "user_id = " . $ilDB->quote($a_user_id, "integer") . " AND " . "obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . "obj_type = " . $ilDB->quote($a_obj_type, "text") . " AND " . "sub_obj_id = " . $ilDB->quote($a_sub_obj_id, "integer") . " AND " . $ilDB->equals("sub_obj_type", $a_sub_obj_type, "text", true)1
  • /components/ILIAS/Rating/classes/class.ilRating.php
"SELECT AVG(rating) av FROM il_rating" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND obj_type = " . $ilDB->quote($a_obj_type, "text")1
  • /components/ILIAS/Rating/classes/class.ilRating.php
"SELECT sub_obj_id, sub_obj_type, rating, category_id, user_id, tstamp " . "FROM il_rating WHERE " . "obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . "obj_type = " . $ilDB->quote($a_obj_type, "text") . " ORDER BY tstamp"1
  • /components/ILIAS/Rating/classes/class.ilRating.php
"SELECT obj_id, obj_type, user_id, AVG(rating) av" . " FROM il_rating" . " WHERE " . $ilDB->in("obj_id", $a_obj_ids, "", "integer") . " AND sub_obj_id = " . $ilDB->quote(0, "integer") . " GROUP BY obj_id, obj_type, user_id"1
  • /components/ILIAS/Rating/classes/class.ilRating.php
"SELECT file_id, rating" . " FROM file_data" . " WHERE " . $ilDB->in("file_id", $a_obj_ids, "", 'integer')1
  • /components/ILIAS/Rating/classes/class.ilRating.php
"SELECT id, rating_overall" . " FROM il_wiki_data" . " WHERE " . $ilDB->in("id", $a_obj_ids, "", 'integer')1
  • /components/ILIAS/Rating/classes/class.ilRating.php
"SELECT id, rating" . " FROM content_object" . " WHERE " . $ilDB->in("id", $a_obj_ids, "", 'integer')1
  • /components/ILIAS/Rating/classes/class.ilRating.php
'SELECT cat_id FROM cal_categories ' . 'WHERE loc_type = ' . $db->quote(ilCalendarCategory::LTYPE_REMOTE)1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
"SELECT cat_id FROM cal_categories " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND type = " . $ilDB->quote(ilCalendarCategory::TYPE_OBJ, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
"SELECT * FROM cal_categories " . "WHERE cat_id = " . $ilDB->quote($a_cal_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_usr_id, 'integer') . " " . "AND type = " . $ilDB->quote(ilCalendarCategory::TYPE_USR, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
"SELECT * FROM cal_categories " . "WHERE type = " . $this->db->quote(ilCalendarCategory::TYPE_GLOBAL, 'integer') . " " . $in . "ORDER BY title "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
"SELECT cat_id FROM cal_categories " . "WHERE type = " . $this->db->quote(ilCalendarCategory::TYPE_USR, 'integer') . " " . "AND obj_id = " . $this->db->quote($this->user->getId( ), 'integer') . " " . $in1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
"SELECT * FROM cal_categories " . "WHERE type = " . $this->db->quote(ilCalendarCategory::TYPE_USR, 'integer') . " " . "AND " . $this->db->in('cat_id', $cat_ids, false, 'integer') . " " . "ORDER BY title "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
'SELECT DISTINCT(cc.cat_id) FROM booking_entry be ' . 'LEFT JOIN booking_obj_assignment bo ON be.booking_id = bo.booking_id ' . 'JOIN cal_entries ce ON be.booking_id = ce.context_id ' . 'JOIN cal_cat_assignments ca ON ce.cal_id = ca.cal_id ' . 'JOIN cal_categories cc ON ca.cat_id = cc.cat_id ' . 'WHERE ((bo.target_obj_id IS NULL) OR bo.target_obj_id = ' . $this->db->quote($target_obj_id, 'integer') . ' ) '1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
'SELECT * FROM cal_categories ' . 'WHERE ' . $this->db->in('cat_id', $categories, false, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
"SELECT * FROM cal_categories cc " . "WHERE type = " . $this->db->quote(ilCalendarCategory::TYPE_CH, 'integer') . ' ' . $filter1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
"SELECT * FROM cal_categories " . "WHERE type = " . $this->db->quote(ilCalendarCategory::TYPE_BOOK, 'integer') . ' ' . "AND obj_id = " . $this->db->quote($user_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
"SELECT * FROM cal_categories " . "WHERE type = " . $this->db->quote(ilCalendarCategory::TYPE_OBJ, 'integer') . " " . "AND " . $this->db->in('obj_id', $a_obj_ids, false, 'integer') . " " . "ORDER BY title "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
"SELECT od2.obj_id sess_id, od1.obj_id crs_id,cat_id, or2.ref_id sess_ref_id, od2.type FROM object_data od1 " . "JOIN object_reference or1 ON od1.obj_id = or1.obj_id " . "JOIN tree t ON or1.ref_id = t.parent " . "JOIN object_reference or2 ON t.child = or2.ref_id " . "JOIN object_data od2 ON or2.obj_id = od2.obj_id " . "JOIN cal_categories cc ON od2.obj_id = cc.obj_id " . "WHERE " . $this->db->in('od2.type', array('sess', 'exc', 'etal'), false, 'text') . "AND (od1.type = 'crs' OR od1.type = 'grp' OR od1.type = 'tals') " . "AND " . $this->db->in('od1.obj_id', $course_ids, false, 'integer') . ' ' . "AND or2.deleted IS NULL"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
"SELECT * FROM cal_categories " . "WHERE type = " . $ilDB->quote(ilCalendarCategory::TYPE_USR, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_user_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategories.php
"SELECT cat_id, obj_id, title, color, type " . " FROM cal_categories " . " WHERE " . $this->db->in("cat_id", $a_ids, false, "integer")1
  • /components/ILIAS/Calendar/classes/class.ilCalendarDataSet.php
"SELECT cat_id, cal_id entry_id " . " FROM cal_cat_assignments " . " WHERE " . $this->db->in("cat_id", $a_ids, false, "integer")1
  • /components/ILIAS/Calendar/classes/class.ilCalendarDataSet.php
"SELECT cal_id id, title, subtitle, description, location, fullday, " . " starta, enda, informations, auto_generated, context_id, translation_type, notification " . " FROM cal_entries " . " WHERE " . $this->db->in("cal_id", $a_ids, false, "integer")1
  • /components/ILIAS/Calendar/classes/class.ilCalendarDataSet.php
"SELECT rule_id, cal_id entry_id, cal_recurrence, freq_type, freq_until_date, freq_until_count, " . " intervall, byday, byweekno, bymonth, bymonthday, byyearday, bysetpos, weekstart " . " FROM cal_recurrence_rules " . " WHERE " . $this->db->in("cal_id", $a_ids, false, "integer")1
  • /components/ILIAS/Calendar/classes/class.ilCalendarDataSet.php
"SELECT * FROM cal_auth_token " . "WHERE user_id = " . $ilDB->quote($a_user_id, 'integer') . ' ' . "AND selection = " . $ilDB->quote($a_selection, 'integer') . ' ' . "AND calendar = " . $ilDB->quote($a_calendar, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarAuthenticationToken.php
"SELECT * FROM cal_auth_token " . "WHERE hash = " . $ilDB->quote($a_token, 'text')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarAuthenticationToken.php
"INSERT INTO cal_auth_token (user_id,hash,selection,calendar) " . "VALUES ( " . $this->db->quote($this->getUserId( ), 'integer') . ', ' . $this->db->quote($this->getToken( ), 'text') . ', ' . $this->db->quote($this->getSelectionType( ), 'integer') . ', ' . $this->db->quote($this->getCalendar( ), 'integer') . ' ' . ')'1
  • /components/ILIAS/Calendar/classes/class.ilCalendarAuthenticationToken.php
"SELECT * FROM cal_auth_token " . "WHERE user_id = " . $this->db->quote($this->getUserId( ), 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarAuthenticationToken.php
'SELECT * FROM cal_auth_token ' . 'WHERE user_id = ' . $this->db->quote($this->getUserId( ), 'integer') . ' ' . 'AND hash = ' . $this->db->quote($this->getToken( ), 'text')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarAuthenticationToken.php
"DELETE FROM cal_shared WHERE cal_id = " . $ilDB->quote($a_cal_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarShared.php
"DELETE FROM cal_shared WHERE obj_id = " . $ilDB->quote($a_user_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarShared.php
'SELECT * FROM cal_shared ' . "WHERE cal_id = " . $ilDB->quote($a_calendar_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarShared.php
"SELECT * FROM cal_shared " . "WHERE obj_type = " . $ilDB->quote(self::TYPE_USR, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_usr_id, 'integer') . " " . "ORDER BY create_date"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarShared.php
"SELECT * FROM cal_shared " . "WHERE obj_type = " . $ilDB->quote(self::TYPE_ROLE, 'integer') . " " . "AND " . $ilDB->in('obj_id', $assigned_roles, false, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarShared.php
"INSERT INTO cal_shared (cal_id,obj_id,obj_type,create_date,writable) " . "VALUES ( " . $this->db->quote($this->getCalendarId( ), 'integer') . ", " . $this->db->quote($a_obj_id, 'integer') . ", " . $this->db->quote($a_type, 'integer') . ", " . $this->db->now( ) . ", " . $this->db->quote((int) $a_writable, 'integer') . ' ' . ")"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarShared.php
"DELETE FROM cal_shared WHERE cal_id = " . $this->db->quote($this->getCalendarId( ), 'integer') . " " . "AND obj_id = " . $this->db->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarShared.php
"SELECT * FROM cal_shared WHERE cal_id = " . $this->db->quote($this->getCalendarId( ), 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarShared.php
"DELETE FROM cal_entries " . "WHERE cal_id = " . $ilDB->quote($a_entry_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarEntry.php
"UPDATE cal_entries " . "SET title = " . $this->db->quote(mb_substr($this->getTitle( ), 0, 128), 'text') . ", " . "last_update = " . $this->db->quote($utc_timestamp, 'timestamp') . ", " . "subtitle = " . $this->db->quote($this->getSubtitle( ), 'text') . ", " . "description = " . $this->db->quote($this->getDescription( ), 'text') . ", " . "location = " . $this->db->quote($this->getLocation( ), 'text') . ", " . "fullday = " . $this->db->quote($this->isFullday( ) ? 1 : 0, 'integer') . ", " . "starta = " . $this->db->quote($this->getStart( )->get(IL_CAL_DATETIME, '', 'UTC'), 'timestamp') . ", " . "enda = " . $this->db->quote($this->getEnd( )->get(IL_CAL_DATETIME, '', 'UTC'), 'timestamp') . ", " . "informations = " . $this->db->quote($this->getFurtherInformations( ), 'text') . ", " . "auto_generated = " . $this->db->quote($this->isAutoGenerated( ), 'integer') . ", " . "translation_type = " . $this->db->quote($this->getTranslationType( ), 'integer') . ", " . "context_id = " . $this->db->quote($this->getContextId( ), 'integer') . ", " . 'context_info = ' . $this->db->quote($this->getContextInfo( ), 'text') . ', ' . 'notification = ' . $this->db->quote($this->isNotificationEnabled( ) ? 1 : 0, 'integer') . ' ' . "WHERE cal_id = " . $this->db->quote($this->getEntryId( ), 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarEntry.php
"INSERT INTO cal_entries (cal_id,title,last_update,subtitle,description,location,fullday,starta,enda, " . "informations,auto_generated,context_id,context_info,translation_type, notification) " . "VALUES( " . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote(mb_substr($this->getTitle( ), 0, 128), 'text') . ", " . $this->db->quote($utc_timestamp, 'timestamp') . ", " . $this->db->quote($this->getSubtitle( ), 'text') . ", " . $this->db->quote($this->getDescription( ), 'text') . ", " . $this->db->quote($this->getLocation( ), 'text') . ", " . $this->db->quote($this->isFullday( ) ? 1 : 0, 'integer') . ", " . $this->db->quote($this->getStart( )->get(IL_CAL_DATETIME, '', 'UTC'), 'timestamp') . ", " . $this->db->quote($this->getEnd( )->get(IL_CAL_DATETIME, '', 'UTC'), 'timestamp') . ", " . $this->db->quote($this->getFurtherInformations( ), 'text') . ", " . $this->db->quote($this->isAutoGenerated( ), 'integer') . ", " . $this->db->quote($this->getContextId( ), 'integer') . ", " . $this->db->quote($this->getContextInfo( ), 'text') . ', ' . $this->db->quote($this->getTranslationType( ), 'integer') . ", " . $this->db->quote($this->isNotificationEnabled( ) ? 1 : 0, 'integer') . ' ' . ")"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarEntry.php
"DELETE FROM cal_entries " . "WHERE cal_id = " . $this->db->quote($this->getEntryId( ), 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarEntry.php
"SELECT * FROM cal_entries WHERE cal_id = " . $this->db->quote($this->getEntryId( ), 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarEntry.php
"SELECT cat_id FROM cal_categories " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND type = " . $ilDB->quote(self::TYPE_OBJ, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategory.php
"SELECT * FROM cal_cat_assignments " . 'WHERE cat_id = ' . $ilDB->quote($a_category_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategory.php
"INSERT INTO cal_categories (cat_id,obj_id,color,type,title,loc_type,remote_url,remote_user,remote_pass,remote_sync) " . "VALUES ( " . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($this->getObjId( ), 'integer') . ", " . $this->db->quote($this->getColor( ), 'text') . ", " . $this->db->quote($this->getType( ), 'integer') . ", " . $this->db->quote(mb_substr($this->getTitle( ), 0, 128), 'text') . ", " . $this->db->quote($this->getLocationType( ), 'integer') . ', ' . $this->db->quote($this->getRemoteUrl( ), 'text') . ', ' . $this->db->quote($this->getRemoteUser( ), 'text') . ', ' . $this->db->quote($this->getRemotePass( ), 'text') . ', ' . $this->db->quote($this->getRemoteSyncLastExecution( )->get(IL_CAL_DATETIME, '', ilTimeZone::UTC), 'timestamp') . ' ' . ")"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategory.php
"UPDATE cal_categories " . "SET obj_id = " . $this->db->quote($this->getObjId( ), 'integer') . ", " . "color = " . $this->db->quote($this->getColor( ), 'text') . ", " . "type = " . $this->db->quote($this->getType( ), 'integer') . ", " . "title = " . $this->db->quote(mb_substr($this->getTitle( ), 0, 128), 'text') . ", " . "loc_type = " . $this->db->quote($this->getLocationType( ), 'integer') . ', ' . "remote_url = " . $this->db->quote($this->getRemoteUrl( ), 'text') . ', ' . "remote_user = " . $this->db->quote($this->getRemoteUser( ), 'text') . ', ' . "remote_pass = " . $this->db->quote($this->getRemotePass( ), 'text') . ', ' . 'remote_sync = ' . $this->db->quote($this->getRemoteSyncLastExecution( )->get(IL_CAL_DATETIME, '', ilTimeZone::UTC), 'timestamp') . ' ' . "WHERE cat_id = " . $this->db->quote($this->cat_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategory.php
"DELETE FROM cal_categories " . "WHERE cat_id = " . $this->db->quote($this->cat_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategory.php
"SELECT * FROM cal_categories " . "WHERE cat_id = " . $this->db->quote($this->getCategoryID( ), 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategory.php
"SELECT ref_id FROM object_reference obr " . "JOIN object_data obd ON obd.obj_id = obr.obj_id " . "WHERE type = 'cals'"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarSettings.php
"SELECT cal_id FROM cal_shared_status " . "WHERE status = " . $ilDB->quote(self::STATUS_ACCEPTED, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarSharedStatus.php
"SELECT * FROM cal_shared_status " . "WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " " . "AND cal_id = " . $ilDB->quote($a_calendar_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarSharedStatus.php
"DELETE FROM cal_shared_status " . "WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarSharedStatus.php
"DELETE FROM cal_shared_status " . "WHERE cal_id = " . $ilDB->quote($a_calendar_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarSharedStatus.php
"DELETE FROM cal_shared_status " . "WHERE cal_id = " . $ilDB->quote($a_calendar_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarSharedStatus.php
"DELETE FROM cal_shared_status " . "WHERE cal_id = " . $ilDB->quote($a_calendar_id, 'integer') . " " . "AND " . $ilDB->in('usr_id', $assigned_users, false, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarSharedStatus.php
"INSERT INTO cal_shared_status (cal_id,usr_id,status) " . "VALUES ( " . $this->db->quote($a_calendar_id, 'integer') . ", " . $this->db->quote($this->usr_id, 'integer') . ", " . $this->db->quote(self::STATUS_ACCEPTED, 'integer') . " " . ")"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarSharedStatus.php
"INSERT INTO cal_shared_status (cal_id,usr_id,status) " . "VALUES ( " . $this->db->quote($a_calendar_id, 'integer') . ", " . $this->db->quote($this->usr_id, 'integer') . ", " . $this->db->quote(self::STATUS_DECLINED, 'integer') . " " . ")"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarSharedStatus.php
"SELECT * FROM cal_shared_status " . "WHERE usr_id = " . $this->db->quote($this->usr_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarSharedStatus.php
"SELECT excl_id FROM cal_rec_exclusion " . "WHERE cal_id = " . $ilDB->quote($a_cal_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRecurrenceExclusions.php
"DELETE FROM cal_rec_exclusion " . "WHERE cal_id = " . $ilDB->quote($a_cal_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRecurrenceExclusions.php
"DELETE FROM cal_cat_visibility " . "WHERE cat_id = " . $ilDB->quote($a_cat_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarVisibility.php
"DELETE FROM cal_cat_visibility " . "WHERE user_id = " . $ilDB->quote($a_user_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarVisibility.php
"INSERT INTO cal_cat_visibility (user_id, cat_id, obj_id, visible) " . "VALUES ( " . $this->db->quote($this->user_id, 'integer') . ", " . $this->db->quote($hidden, 'integer') . ", " . $this->db->quote($this->obj_id, 'integer') . ", " . $this->db->quote(self::HIDDEN, 'integer') . ")"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarVisibility.php
"INSERT INTO cal_cat_visibility (user_id, cat_id, obj_id, visible) " . "VALUES ( " . $this->db->quote($this->user_id, 'integer') . ", " . $this->db->quote($visible, 'integer') . ", " . $this->db->quote($this->obj_id, 'integer') . ", " . $this->db->quote(self::VISIBLE, 'integer') . ")"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarVisibility.php
"DELETE FROM cal_cat_visibility " . "WHERE user_id = " . $this->db->quote($this->user_id, 'integer') . " " . "AND obj_id = " . $this->db->quote($this->obj_id, 'integer') . " " . "AND cat_id = " . $this->db->quote($a_cat_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarVisibility.php
"DELETE FROM cal_cat_visibility " . "WHERE user_id = " . $this->db->quote($this->user_id, 'integer') . " " . "AND obj_id = " . $this->db->quote($this->obj_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarVisibility.php
"SELECT * FROM cal_cat_visibility " . "WHERE user_id = " . $this->db->quote($this->user_id, 'integer') . " " . " AND obj_id = " . $this->db->quote($this->obj_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarVisibility.php
'DELETE FROM cal_notification ' . 'WHERE user_id = ' . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarUserNotification.php
'DELETE FROM cal_notification ' . 'WHERE cal_id = ' . $ilDB->quote($a_cal_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarUserNotification.php
'INSERT INTO cal_notification ' . '(notification_id,cal_id, user_type, user_id, email) ' . 'VALUES ( ' . $this->db->quote($this->db->nextId('cal_notification'), 'integer') . ', ' . $this->db->quote($this->getEntryId( ), 'integer') . ', ' . $this->db->quote((int) $rcp['type'], 'integer') . ', ' . $this->db->quote((int) $rcp['usr_id'], 'integer') . ', ' . $this->db->quote($rcp['email'], 'text') . ')'1
  • /components/ILIAS/Calendar/classes/class.ilCalendarUserNotification.php
'DELETE FROM cal_notification ' . 'WHERE cal_id = ' . $this->db->quote($this->getEntryId( ), 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarUserNotification.php
'SELECT * FROM cal_notification ' . 'WHERE cal_id = ' . $this->db->quote($this->getEntryId( ), 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarUserNotification.php
"DELETE FROM cal_recurrence_rules " . "WHERE cal_id = " . $ilDB->quote($a_cal_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRecurrence.php
"INSERT INTO cal_recurrence_rules (rule_id,cal_id,cal_recurrence,freq_type,freq_until_date,freq_until_count,intervall, " . "byday,byweekno,bymonth,bymonthday,byyearday,bysetpos,weekstart) " . "VALUES( " . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($this->cal_id, 'integer') . ", " . $this->db->quote(1, 'integer') . ", " . $this->db->quote($this->getFrequenceType( ), 'text') . ", " . $this->db->quote($until_date, 'timestamp') . ", " . $this->db->quote($this->getFrequenceUntilCount( ), 'integer') . ", " . $this->db->quote($this->getInterval( ), 'integer') . ", " . $this->db->quote($this->getBYDAY( ), 'text') . ", " . $this->db->quote($this->getBYWEEKNO( ), 'text') . ", " . $this->db->quote($this->getBYMONTH( ), 'text') . ", " . $this->db->quote($this->getBYMONTHDAY( ), 'text') . ", " . $this->db->quote($this->getBYYEARDAY( ), 'text') . ", " . $this->db->quote($this->getBYSETPOS( ), 'text') . ", " . $this->db->quote($this->getWeekstart( ), 'text') . " " . ")"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRecurrence.php
"UPDATE cal_recurrence_rules SET " . "cal_id = " . $this->db->quote($this->cal_id, 'integer') . ", " . "cal_recurrence = 1," . "freq_type = " . $this->db->quote($this->getFrequenceType( ), 'text') . ", " . "freq_until_date = " . $this->db->quote($until_date, 'timestamp') . ", " . "freq_until_count = " . $this->db->quote($this->getFrequenceUntilCount( ), 'integer') . ", " . "intervall = " . $this->db->quote($this->getInterval( ), 'integer') . ", " . "byday = " . $this->db->quote($this->getBYDAY( ), 'text') . ", " . "byweekno = " . $this->db->quote($this->getBYWEEKNO( ), 'text') . ", " . "bymonth = " . $this->db->quote($this->getBYMONTH( ), 'text') . ", " . "bymonthday = " . $this->db->quote($this->getBYMONTHDAY( ), 'text') . ", " . "byyearday = " . $this->db->quote($this->getBYYEARDAY( ), 'text') . ", " . "bysetpos = " . $this->db->quote($this->getBYSETPOS( ), 'text') . ", " . "weekstart = " . $this->db->quote($this->getWeekstart( ), 'text') . " " . "WHERE rule_id = " . $this->db->quote($this->recurrence_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRecurrence.php
"DELETE FROM cal_recurrence_rules " . "WHERE rule_id = " . $this->db->quote($this->recurrence_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRecurrence.php
"SELECT * FROM cal_recurrence_rules " . "WHERE rule_id = " . $this->db->quote($this->recurrence_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRecurrence.php
"SELECT cat.cat_id,cat.color, ass.cal_id FROM cal_categories cat " . "JOIN cal_cat_assignments ass ON cat.cat_id = ass.cat_id " . "WHERE " . $this->db->in('cat.cat_id', $this->categories->getCategories(true), false, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarAppointmentColors.php
"SELECT rule_id FROM cal_recurrence_rules " . "WHERE cal_id = " . $ilDB->quote($a_cal_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRecurrences.php
"DELETE FROM cal_registrations " . "WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRegistration.php
"DELETE FROM cal_registrations " . "WHERE cal_id = " . $ilDB->quote($a_cal_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRegistration.php
"INSERT INTO cal_registrations (cal_id,usr_id,dstart,dend) " . "VALUES ( " . $this->db->quote($this->getAppointmentId( ), 'integer') . ", " . $this->db->quote($a_usr_id, 'integer') . ", " . $this->db->quote($start->get(IL_CAL_UNIX), 'integer') . ", " . $this->db->quote($end->get(IL_CAL_UNIX), 'integer') . ")"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRegistration.php
"DELETE FROM cal_registrations " . "WHERE cal_id = " . $this->db->quote($this->getAppointmentId( ), 'integer') . ' ' . "AND usr_id = " . $this->db->quote($a_usr_id, 'integer') . ' ' . "AND dstart = " . $this->db->quote($start->get(IL_CAL_UNIX), 'integer') . ' ' . "AND dend = " . $this->db->quote($end->get(IL_CAL_UNIX), 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRegistration.php
"SELECT * FROM cal_registrations WHERE cal_id = " . $this->db->quote($this->getAppointmentId( ), 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRegistration.php
"SELECT ce.cal_id cal_id FROM cal_entries ce " . "JOIN cal_cat_assignments ca ON ca.cal_id = ce.cal_id " . "WHERE last_update > " . $this->db->quote($start->get(IL_CAL_DATETIME), 'timestamp') . " " . "AND " . $this->db->in('ca.cat_id', $cats, false, 'integer') . ' ' . "ORDER BY last_update"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarSchedule.php
"SELECT ce.cal_id cal_id" . " FROM cal_entries ce" . " LEFT JOIN cal_recurrence_rules crr ON (ce.cal_id = crr.cal_id)" . " JOIN cal_cat_assignments ca ON (ca.cal_id = ce.cal_id)"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarSchedule.php
"SELECT cat_id FROM cal_categories " . "WHERE obj_id = " . $ilDB->quote($a_usr_id, 'integer') . " " . "AND type = " . $ilDB->quote($a_type_id, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarUtil.php
"INSERT INTO cal_rec_exclusion (excl_id,cal_id,excl_date) " . "VALUES( " . $this->db->quote($next_id = $this->db->nextId('cal_rec_exclusion'), 'integer') . ', ' . $this->db->quote($this->getEntryId( ), 'integer') . ', ' . $this->db->quote($this->getDate( )->get(IL_CAL_DATE, '', 'UTC'), 'timestamp') . ')'1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRecurrenceExclusion.php
"SELECT * FROM cal_rec_exclusion WHERE excl_id = " . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarRecurrenceExclusion.php
"SELECT cat_id FROM cal_cat_assignments " . "WHERE cal_id = " . $ilDB->quote($a_cal_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategoryAssignments.php
"SELECT * FROM cal_cat_assignments " . "WHERE " . $ilDB->in('cal_id', $a_cal_ids, false, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategoryAssignments.php
"SELECT * FROM cal_cat_assignments " . "WHERE " . $ilDB->in('cat_id', $a_cat_id, false, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategoryAssignments.php
'SELECT COUNT(*) num FROM cal_cat_assignments ' . 'WHERE ' . $ilDB->in('cat_id', $a_cat_ids, false, 'integer')1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategoryAssignments.php
"SELECT ce.cal_id FROM cal_categories cc " . "JOIN cal_cat_assignments cca ON cc.cat_id = cca.cat_id " . "JOIN cal_entries ce ON cca.cal_id = ce.cal_id " . "WHERE auto_generated = 1 " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategoryAssignments.php
"DELETE FROM cal_cat_assignments " . "WHERE cal_id = " . $ilDB->quote($a_app_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategoryAssignments.php
"DELETE FROM cal_cat_assignments " . "WHERE cat_id = " . $ilDB->quote($a_cat_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategoryAssignments.php
"INSERT INTO cal_cat_assignments (cal_id,cat_id) " . "VALUES ( " . $this->db->quote($this->cal_entry_id, 'integer') . ", " . $this->db->quote($a_cal_cat_id, 'integer') . " " . ")"1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategoryAssignments.php
"DELETE FROM cal_cat_assignments " . "WHERE cal_id = " . $this->db->quote($this->cal_entry_id, 'integer') . ", " . "AND cat_id = " . $this->db->quote($a_cat_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategoryAssignments.php
"DELETE FROM cal_cat_assignments " . "WHERE cal_id = " . $this->db->quote($this->cal_entry_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategoryAssignments.php
"SELECT * FROM cal_cat_assignments " . "WHERE cal_id = " . $this->db->quote($this->cal_entry_id, 'integer') . " "1
  • /components/ILIAS/Calendar/classes/class.ilCalendarCategoryAssignments.php
'SELECT entry_id FROM booking_user ' . 'WHERE ' . $ilDB->in('entry_id', $a_app_ids, false, 'integer') . ' ' . 'AND user_id = ' . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'INSERT INTO booking_entry (booking_id,obj_id,deadline,num_bookings) ' . "VALUES ( " . $this->db->quote($this->getId( ), 'integer') . ', ' . $this->db->quote($this->getObjId( ), 'integer') . ', ' . $this->db->quote($this->getDeadlineHours( ), 'integer') . ', ' . $this->db->quote($this->getNumberOfBookings( ), 'integer') . ' ' . ") "1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
"UPDATE booking_entry SET " . " obj_id = " . $this->db->quote($this->getObjId( ), 'integer') . ", " . " deadline = " . $this->db->quote($this->getDeadlineHours( ), 'integer') . ", " . " num_bookings = " . $this->db->quote($this->getNumberOfBookings( ), 'integer') . ' ' . 'WHERE booking_id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
"DELETE FROM booking_entry " . "WHERE booking_id = " . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
"SELECT * FROM booking_entry " . "WHERE booking_id = " . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT * FROM booking_obj_assignment ' . 'WHERE booking_id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT DISTINCT(context_id) FROM cal_entries e' . ' JOIN cal_cat_assignments a ON (e.cal_id = a.cal_id)' . ' JOIN cal_categories c ON (a.cat_id = c.cat_id) WHERE c.type = ' . $ilDB->quote(ilCalendarCategory::TYPE_CH, 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'DELETE FROM booking_entry WHERE ' . $ilDB->in('booking_id', $used, true, 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'DELETE FROM booking_obj_assignment WHERE ' . $ilDB->in('booking_id', $used, true, 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT DISTINCT(obj_id) FROM booking_entry be ' . 'JOIN booking_obj_assignment bo ON be.booking_id = bo.booking_id ' . 'WHERE ' . $ilDB->in('obj_id', $a_obj_ids, false, 'integer') . ' ' . 'AND bo.target_obj_id = ' . $ilDB->quote($a_target_obj_id, 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT DISTINCT(obj_id) FROM booking_entry be ' . 'WHERE ' . $ilDB->in('obj_id', $a_obj_ids, false, 'integer') . ' '1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT be.obj_id bobj FROM booking_entry be ' . 'JOIN booking_obj_assignment bo ON be.booking_id = bo.booking_id ' . 'JOIN cal_entries ce on be.booking_id = ce.context_id ' . 'JOIN cal_cat_assignments cca on ce.cal_id = cca.cal_id ' . 'JOIN cal_categories cc on cca.cat_id = cc.cat_id ' . 'WHERE ' . $ilDB->in('be.obj_id', $a_user_ids, false, 'integer') . ' ' . 'AND ' . $ilDB->in('bo.target_obj_id', $a_obj_id, false, 'integer') . ' ' . 'AND cc.obj_id = be.obj_id ' . 'AND cc.type = ' . $ilDB->quote(ilCalendarCategory::TYPE_CH, 'integer') . ' '1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT be.obj_id bobj FROM booking_entry be ' . 'LEFT JOIN booking_obj_assignment bo ON be.booking_id = bo.booking_id ' . 'JOIN cal_entries ce on be.booking_id = ce.context_id ' . 'JOIN cal_cat_assignments cca on ce.cal_id = cca.cal_id ' . 'JOIN cal_categories cc on cca.cat_id = cc.cat_id ' . 'WHERE bo.booking_id IS NULL ' . 'AND ' . $ilDB->in('be.obj_id', $a_user_ids, false, 'integer') . ' ' . 'AND cc.obj_id = be.obj_id ' . 'AND cc.type = ' . $ilDB->quote(ilCalendarCategory::TYPE_CH, 'integer') . ' '1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT be.booking_id FROM booking_entry be ' . 'JOIN booking_obj_assignment bo ON be.booking_id = bo.booking_id ' . 'WHERE bo.target_obj_id = ' . $ilDB->quote($a_obj_id, 'integer') . ' ' . $user_restriction1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT * from booking_user ' . 'WHERE entry_id = ' . $ilDB->quote($a_entry_id, 'integer') . ' ' . 'AND user_id = ' . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'UPDATE booking_user SET ' . 'booking_message = ' . $ilDB->quote($a_message, 'text') . ' ' . 'WHERE entry_id = ' . $ilDB->quote($a_entry_id, 'integer') . ' ' . 'AND user_id = ' . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT COUNT(*) AS counter FROM booking_user' . ' WHERE entry_id = ' . $this->db->quote($a_entry_id, 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT user_id FROM booking_user' . ' WHERE entry_id = ' . $this->db->quote($a_entry_id, 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT user_id FROM booking_user ' . 'WHERE entry_id = ' . $ilDB->quote($a_app_id, 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT bu.user_id, starta, enda FROM booking_user bu ' . 'JOIN cal_entries ca ON entry_id = ca.cal_id ' . 'JOIN booking_entry be ON context_id = booking_id ' . 'JOIN booking_obj_assignment bo ON be.booking_id = bo.booking_id ' . 'WHERE bo.target_obj_id = ' . $ilDB->quote($a_obj_id, 'integer') . ' ' . 'AND be.obj_id = ' . $ilDB->quote($a_usr_id, ilDBConstants::T_INTEGER) . ' ' . 'ORDER BY starta'1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'SELECT COUNT(*) AS counter FROM booking_user' . ' WHERE entry_id = ' . $this->db->quote($a_entry_id, 'integer') . ' AND user_id = ' . $this->db->quote($a_user_id, 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'INSERT INTO booking_user (entry_id, user_id, tstamp)' . ' VALUES (' . $this->db->quote($a_entry_id, 'integer') . ',' . $this->db->quote($a_user_id, 'integer') . ',' . $this->db->quote(time( ), 'integer') . ')'1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'DELETE FROM booking_user ' . 'WHERE entry_id = ' . $this->db->quote($a_entry_id, 'integer') . ' ' . 'AND user_id = ' . $this->db->quote($a_user_id, 'integer')1
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php
'delete from settings where ' . 'keyword = ' . $this->db->quote('enable_grp_milestones', ilDBConstants::T_TEXT) . ' ' . 'and module = ' . $this->db->quote('calendar', ilDBConstants::T_TEXT)1
  • /components/ILIAS/Calendar/classes/Setup/class.ilCalendarDBUpdateSteps9.php
"SELECT ce.cal_id FROM cal_entries ce" . " JOIN cal_cat_assignments cca ON ce.cal_id = cca.cal_id" . " JOIN cal_categories cc ON cca.cat_id = cc.cat_id" . " JOIN booking_entry be ON ce.context_id = be.booking_id" . " WHERE cc.obj_id = " . $ilDB->quote($a_user_id, 'integer') . $owner . " AND cc.type = " . $ilDB->quote($a_type, 'integer')1
  • /components/ILIAS/Calendar/classes/ConsultationHours/class.ilConsultationHourAppointments.php
'SELECT ce.cal_id FROM cal_entries ce ' . 'JOIN cal_cat_assignments ca ON ce.cal_id = ca.cal_id ' . 'JOIN cal_categories cc ON ca.cat_id = cc.cat_id ' . 'JOIN booking_entry be ON ce.context_id = be.booking_id ' . 'WHERE cc.obj_id = ' . $ilDB->quote($a_user_id, 'integer') . ' ' . 'AND cc.type = ' . $ilDB->quote($type, 'integer') . ' ' . 'AND be.booking_group = ' . $ilDB->quote($a_ch_group_id, 'integer') . ' ' . $start_limit . ' ' . 'ORDER BY ce.starta '1
  • /components/ILIAS/Calendar/classes/ConsultationHours/class.ilConsultationHourAppointments.php
'SELECT admin_id FROM cal_ch_settings' . ' WHERE user_id = ' . $ilDB->quote($user_id, 'integer')1
  • /components/ILIAS/Calendar/classes/ConsultationHours/class.ilConsultationHourAppointments.php
'DELETE FROM cal_ch_settings' . ' WHERE user_id = ' . $ilDB->quote($ilUser->getId( ), 'integer')1
  • /components/ILIAS/Calendar/classes/ConsultationHours/class.ilConsultationHourAppointments.php
'INSERT INTO cal_ch_settings (user_id, admin_id)' . ' VALUES (' . $ilDB->quote($ilUser->getId( ), 'integer') . ',' . $ilDB->quote($user_id, 'integer') . ')'1
  • /components/ILIAS/Calendar/classes/ConsultationHours/class.ilConsultationHourAppointments.php
'SELECT user_id FROM cal_ch_settings' . ' WHERE admin_id = ' . $ilDB->quote($ilUser->getId( ), 'integer')1
  • /components/ILIAS/Calendar/classes/ConsultationHours/class.ilConsultationHourAppointments.php
'SELECT * FROM booking_user ' . 'JOIN cal_entries ON entry_id = cal_id ' . 'WHERE notification_sent = ' . $this->db->quote(0, 'integer') . ' ' . 'AND starta > ' . $this->db->quote($now->get(IL_CAL_DATETIME, '', ilTimeZone::UTC), 'timestamp') . ' ' . 'AND starta <= ' . $this->db->quote($limit->get(IL_CAL_DATETIME, '', ilTimeZone::UTC), 'timestamp')1
  • /components/ILIAS/Calendar/classes/ConsultationHours/class.ilConsultationHourCron.php
'UPDATE booking_user ' . 'SET notification_sent = ' . $this->db->quote(1, 'integer') . ' ' . 'WHERE user_id = ' . $this->db->quote($row->user_id, 'integer') . ' ' . 'AND entry_id = ' . $this->db->quote($row->entry_id, 'integer')1
  • /components/ILIAS/Calendar/classes/ConsultationHours/class.ilConsultationHourCron.php
'select ce.cal_id from cal_entries ce ' . 'join cal_cat_assignments cca on ce.cal_id = cca.cal_id ' . 'join cal_categories cc on cca.cat_id = cc.cat_id ' . 'where context_id = ' . $db->quote($booking->getId( ), 'integer') . ' ' . 'and starta = ' . $db->quote($start->get(IL_CAL_DATETIME, '', \ilTimeZone::UTC), \ilDBConstants::T_TIMESTAMP) . ' ' . 'and enda = ' . $db->quote($end->get(IL_CAL_DATETIME, '', \ilTimeZone::UTC), \ilDBConstants::T_TIMESTAMP) . ' ' . 'and type = ' . $db->quote(\ilCalendarCategory::TYPE_CH, 'integer')1
  • /components/ILIAS/Calendar/classes/ConsultationHours/class.ilConsultationHourUtils.php
'SELECT user_id FROM cal_ch_settings ' . 'WHERE admin_id = ' . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Calendar/classes/ConsultationHours/class.ilConsultationHourUtils.php
"UPDATE settings SET " . PHP_EOL . " value = REPLACE(value, '/webservice/', '/public/') " . PHP_EOL . " WHERE keyword = 'soap_wsdl_path' " . PHP_EOL . " AND value LIKE ('%webservice%')"1
  • /components/ILIAS/WebServices/classes/Setup/ilSoapWsdlPathUpdateStep.php
'UPDATE ecs_part_settings ' . 'SET ' . 'sid = ' . $this->db->quote($this->getServerId( ), 'integer') . ', ' . 'mid = ' . $this->db->quote($this->getMid( ), 'integer') . ', ' . 'export = ' . $this->db->quote((int) $this->isExportEnabled( ), 'integer') . ', ' . 'import = ' . $this->db->quote((int) $this->isImportEnabled( ), 'integer') . ', ' . 'import_type = ' . $this->db->quote($this->getImportType( ), 'integer') . ', ' . 'title = ' . $this->db->quote($this->getTitle( ), 'text') . ', ' . 'cname = ' . $this->db->quote($this->getCommunityName( ), 'text') . ', ' . 'token = ' . $this->db->quote($this->isTokenEnabled( ), 'integer') . ', ' . 'export_types = ' . $this->db->quote(serialize($this->getExportTypes( )), 'text') . ', ' . 'import_types = ' . $this->db->quote(serialize($this->getImportTypes( )), ilDBConstants::T_TEXT) . ', ' . 'username_placeholders = ' . $this->db->quote(serialize($this->getOutgoingUsernamePlaceholders( )), ilDBConstants::T_TEXT) . ', ' . 'incoming_local_accounts = ' . $this->db->quote($this->areIncomingLocalAccountsSupported( ), ilDBConstants::T_INTEGER) . ', ' . 'incoming_auth_type = ' . $this->db->quote($this->getIncomingAuthType( ), ilDBConstants::T_INTEGER) . ', ' . 'outgoing_auth_modes = ' . $this->db->quote(serialize($this->getOutgoingAuthModes( )), ilDBConstants::T_TEXT) . ' ' . 'WHERE sid = ' . $this->db->quote($this->getServerId( ), 'integer') . ' ' . 'AND mid = ' . $this->db->quote($this->getMid( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSParticipantSetting.php
'INSERT INTO ecs_part_settings ' . '(sid,mid,export,import,import_type,title,cname,token,export_types, import_types, username_placeholders, incoming_auth_type, incoming_local_accounts, outgoing_auth_modes) ' . 'VALUES( ' . $this->db->quote($this->getServerId( ), 'integer') . ', ' . $this->db->quote($this->getMid( ), 'integer') . ', ' . $this->db->quote((int) $this->isExportEnabled( ), 'integer') . ', ' . $this->db->quote((int) $this->isImportEnabled( ), 'integer') . ', ' . $this->db->quote($this->getImportType( ), 'integer') . ', ' . $this->db->quote($this->getTitle( ), 'text') . ', ' . $this->db->quote($this->getCommunityName( ), 'text') . ', ' . $this->db->quote($this->isTokenEnabled( ), 'integer') . ', ' . $this->db->quote(serialize($this->getExportTypes( )), 'text') . ', ' . $this->db->quote(serialize($this->getImportTypes( )), 'text') . ' ' . $this->db->quote(serialize($this->getImportTypes( )), 'text') . ', ' . $this->db->quote(serialize($this->getOutgoingUsernamePlaceholders( )), ilDBConstants::T_TEXT) . ', ' . $this->db->quote($this->areIncomingLocalAccountsSupported( ), ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($this->getIncomingAuthType( ), ilDBConstants::T_INTEGER) . ', ' . $this->db->quote(serialize($this->getOutgoingAuthModes( )), ilDBConstants::T_TEXT) . ' ' . ')'1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSParticipantSetting.php
'DELETE FROM ecs_part_settings ' . 'WHERE sid = ' . $this->db->quote($this->getServerId( ), 'integer') . ' ' . 'AND mid = ' . $this->db->quote($this->getMid( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSParticipantSetting.php
'SELECT * FROM ecs_part_settings ' . 'WHERE sid = ' . $this->db->quote($this->getServerId( ), 'integer') . ' ' . 'AND mid = ' . $this->db->quote($this->getMid( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSParticipantSetting.php
'UPDATE ecs_data_mapping ' . 'SET advmd_id = ' . $this->db->quote($this->getAdvMDId( ), 'integer') . ' ' . 'WHERE sid = ' . $this->db->quote($this->getServerId( ), 'integer') . ' ' . 'AND mapping_type = ' . $this->db->quote($this->getMappingType( ), 'integer') . ' ' . 'AND ecs_field = ' . $this->db->quote($this->getECSField( ), 'text')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSDataMappingSetting.php
'INSERT INTO ecs_data_mapping (sid,mapping_type,ecs_field,advmd_id) ' . 'VALUES(' . $this->db->quote($this->getServerId( ), 'integer') . ', ' . $this->db->quote($this->getMappingType( ), 'integer') . ', ' . $this->db->quote($this->getECSField( ), 'text') . ', ' . $this->db->quote($this->getAdvMDId( ), 'integer') . ' ) '1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSDataMappingSetting.php
"DELETE FROM ecs_import " . "WHERE obj_id = " . $this->db->quote($this->obj_id, 'integer') . " " . 'AND server_id = ' . $this->db->quote($this->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImport.php
"INSERT INTO ecs_import (obj_id,mid,econtent_id,sub_id,server_id,content_id) " . "VALUES ( " . $this->db->quote($this->obj_id, 'integer') . ", " . $this->db->quote($this->mid, 'integer') . ", " . $this->db->quote($this->econtent_id, 'text') . ", " . $this->db->quote($this->getSubId( ), 'text') . ', ' . $this->db->quote($this->getServerId( ), 'integer') . ', ' . $this->db->quote($this->getContentId( ), 'text') . ' ' . ")"1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImport.php
"SELECT * FROM ecs_import WHERE " . "obj_id = " . $this->db->quote($this->obj_id, 'integer') . " " . 'AND server_id = ' . $this->db->quote($this->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImport.php
'DELETE from ecs_data_mapping ' . 'WHERE sid = ' . $this->db->quote($server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSDataMappingSettings.php
'SELECT * FROM ecs_data_mapping ' . 'WHERE sid = ' . $this->db->quote($this->getServer( )->getServerId( ), 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSDataMappingSettings.php
"DELETE FROM ecs_export " . "WHERE obj_id = " . $this->db->quote($this->obj_id, 'integer') . " " . 'AND server_id = ' . $this->db->quote($this->getServerId( ))1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSExport.php
"INSERT INTO ecs_export (server_id,obj_id,econtent_id) " . "VALUES ( " . $this->db->quote($this->server_id, 'integer') . ', ' . $this->db->quote($this->obj_id, 'integer') . ", " . $this->db->quote($this->getEContentId( ), 'integer') . " " . ")"1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSExport.php
"SELECT * FROM ecs_export WHERE " . "obj_id = " . $this->db->quote($this->obj_id, 'integer') . " AND " . 'server_id = ' . $this->db->quote($this->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSExport.php
'SELECT server_id FROM ecs_server ' . 'ORDER BY title '1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSServerSettings.php
'DELETE FROM ecs_container_mapping WHERE mapping_id = %s '1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSCategoryMappingRule.php
'UPDATE ecs_container_mapping SET ' . 'container_id = %s, ' . 'field_name = %s, ' . 'mapping_type = %s, ' . 'mapping_value = %s, ' . 'date_range_start = %s,' . 'date_range_end = %s ' . 'WHERE mapping_id = %s'1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSCategoryMappingRule.php
'INSERT INTO ecs_container_mapping ' . '(mapping_id,container_id,field_name,mapping_type,mapping_value,date_range_start,date_range_end) ' . 'VALUES(%s,%s,%s,%s,%s,%s,%s) '1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSCategoryMappingRule.php
'SELECT * FROM ecs_container_mapping WHERE mapping_id = %s'1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSCategoryMappingRule.php
'DELETE FROM ecs_community ' . 'WHERE sid = ' . $this->db->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSCommunitiesCache.php
'SELECT sid,cid FROM ecs_community '1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSCommunitiesCache.php
'SELECT mid FROM ecs_part_settings ' . 'WHERE sid = ' . $this->db->quote($this->server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSParticipantSettings.php
'SELECT mid FROM ecs_part_settings ' . 'WHERE sid = ' . $this->db->quote($this->server_id, 'integer') . ' ' . 'AND import_type = ' . $this->db->quote(ilECSParticipantSetting::IMPORT_CMS)1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSParticipantSettings.php
'SELECT * FROM ecs_part_settings ' . 'WHERE sid = ' . $this->db->quote($this->getServerId( ), 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSParticipantSettings.php
'Show ecs settings.'1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSObjectSettings.php
'INSERT INTO ecs_server (server_id,active,title,protocol,server,port,auth_type,client_cert_path,ca_cert_path,' . 'key_path,key_password,cert_serial,import_id,global_role,econtent_rcp,user_rcp,approval_rcp,duration,auth_user,auth_pass) ' . 'VALUES (' . $this->db->quote($this->getServerId( ), 'integer') . ', ' . $this->db->quote((int) $this->isEnabled( ), 'integer') . ', ' . $this->db->quote($this->getTitle( ), 'text') . ', ' . $this->db->quote($this->getProtocol( ), 'integer') . ', ' . $this->db->quote($this->getServer( ), 'text') . ', ' . $this->db->quote($this->getPort( ), 'integer') . ', ' . $this->db->quote($this->getAuthType( ), 'integer') . ', ' . $this->db->quote($this->getClientCertPath( ), 'text') . ', ' . $this->db->quote($this->getCACertPath( ), 'text') . ', ' . $this->db->quote($this->getKeyPath( ), 'text') . ', ' . $this->db->quote($this->getKeyPassword( ), 'text') . ', ' . $this->db->quote($this->getCertSerialNumber( ), 'text') . ', ' . $this->db->quote($this->getImportId( ), 'integer') . ', ' . $this->db->quote($this->getGlobalRole( ), 'integer') . ', ' . $this->db->quote($this->getEContentRecipientsAsString( ), 'text') . ', ' . $this->db->quote($this->getUserRecipientsAsString( ), 'text') . ', ' . $this->db->quote($this->getApprovalRecipientsAsString( ), 'text') . ', ' . $this->db->quote($this->getDuration( ), 'integer') . ', ' . $this->db->quote($this->getAuthUser( ), 'text') . ', ' . $this->db->quote($this->getAuthPass( ), 'text') . ' ' . ')'1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSSetting.php
'UPDATE ecs_server SET ' . 'server_id = ' . $this->db->quote($this->getServerId( ), 'integer') . ', ' . 'active = ' . $this->db->quote((int) $this->isEnabled( ), 'integer') . ', ' . 'title = ' . $this->db->quote($this->getTitle( ), 'text') . ', ' . 'protocol = ' . $this->db->quote($this->getProtocol( ), 'integer') . ', ' . 'server = ' . $this->db->quote($this->getServer( ), 'text') . ', ' . 'port = ' . $this->db->quote($this->getPort( ), 'integer') . ', ' . 'auth_type = ' . $this->db->quote($this->getAuthType( ), 'integer') . ', ' . 'client_cert_path = ' . $this->db->quote($this->getClientCertPath( ), 'text') . ', ' . 'ca_cert_path = ' . $this->db->quote($this->getCACertPath( ), 'text') . ', ' . 'key_path = ' . $this->db->quote($this->getKeyPath( ), 'text') . ', ' . 'key_password = ' . $this->db->quote($this->getKeyPassword( ), 'text') . ', ' . 'cert_serial = ' . $this->db->quote($this->getCertSerialNumber( ), 'text') . ', ' . 'import_id = ' . $this->db->quote($this->getImportId( ), 'integer') . ', ' . 'global_role = ' . $this->db->quote($this->getGlobalRole( ), 'integer') . ', ' . 'econtent_rcp = ' . $this->db->quote($this->getEContentRecipientsAsString( ), 'text') . ', ' . 'user_rcp = ' . $this->db->quote($this->getUserRecipientsAsString( ), 'text') . ', ' . 'approval_rcp = ' . $this->db->quote($this->getApprovalRecipientsAsString( ), 'text') . ', ' . 'duration = ' . $this->db->quote($this->getDuration( ), 'integer') . ', ' . 'auth_user = ' . $this->db->quote($this->getAuthUser( ), 'text') . ', ' . 'auth_pass = ' . $this->db->quote($this->getAuthPass( ), 'text') . ', ' . 'auth_type = ' . $this->db->quote($this->getAuthType( ), 'integer') . ' ' . 'WHERE server_id = ' . $this->db->quote($this->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSSetting.php
'DELETE FROM ecs_events' . ' WHERE server_id = ' . $this->db->quote($this->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSSetting.php
'DELETE FROM ecs_server ' . 'WHERE server_id = ' . $this->db->quote($this->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSSetting.php
'SELECT * FROM ecs_server ' . 'WHERE server_id = ' . $this->db->quote($this->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSSetting.php
"SELECT usr_id FROM usr_data WHERE auth_mode = 'ecs' " . "AND time_limit_until < " . time( ) . " " . "AND time_limit_unlimited = 0 " . "AND (time_limit_until - time_limit_from) < 7200"1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSTaskScheduler.php
"SELECT organization FROM " . $this->db->quoteIdentifier($table) . " WHERE obj_id = " . $this->db->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/WebServices/ECS/classes/class.ilRemoteObjectBaseListGUI.php
'UPDATE ecs_community ' . 'SET own_id = ' . $this->db->quote($this->getOwnId( ), 'integer') . ', ' . 'cname = ' . $this->db->quote($this->getCommunityName( ), 'text') . ', ' . 'mids = ' . $this->db->quote(serialize($this->getMids( )), 'text') . ' ' . 'WHERE sid = ' . $this->db->quote($this->getServerId( ), 'integer') . ' ' . 'AND cid = ' . $this->db->quote($this->getCommunityId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSCommunityCache.php
'INSERT INTO ecs_community (sid,cid,own_id,cname,mids) ' . 'VALUES( ' . $this->db->quote($this->getServerId( ), 'integer') . ', ' . $this->db->quote($this->getCommunityId( ), 'integer') . ', ' . $this->db->quote($this->getOwnId( ), 'integer') . ', ' . $this->db->quote($this->getCommunityName( ), 'text') . ', ' . $this->db->quote(serialize($this->getMids( )), 'text') . ' ' . ')'1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSCommunityCache.php
'SELECT * FROM ecs_community ' . 'WHERE sid = ' . $this->db->quote($this->getServerId( ), 'integer') . ' ' . 'AND cid = ' . $this->db->quote($this->getCommunityId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSCommunityCache.php
'DELETE FROM ecs_community' . ' WHERE sid = ' . $this->db->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSCommunityCache.php
'SELECT mapping_id FROM ecs_container_mapping'1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSCategoryMapping.php
"SELECT container_id FROM ecs_container_mapping "1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSCategoryMapping.php
"SELECT econtent_id,obj_id FROM ecs_export " . 'WHERE server_id = ' . $this->db->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSExportManager.php
"SELECT obj_id FROM ecs_export "1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSExportManager.php
"SELECT e.obj_id FROM ecs_export e" . " JOIN object_data o ON (e.obj_id = o.obj_id)" . " WHERE o.type = " . $this->db->quote($a_type, "text")1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSExportManager.php
"SELECT obj_id FROM ecs_export " . 'WHERE server_id = ' . $this->db->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSExportManager.php
'SELECT * FROM ecs_export ' . 'WHERE obj_id = ' . $this->db->quote($a_obj_id, 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSExportManager.php
"DELETE FROM ecs_export WHERE " . $this->db->in('econtent_id', $a_ids, false, 'integer') . ' ' . 'AND server_id = ' . $this->db->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSExportManager.php
'DELETE FROM ecs_export ' . 'WHERE server_id = ' . $this->db->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSExportManager.php
"SELECT obj_id FROM ecs_export " . "WHERE econtent_id = " . $this->db->quote($a_econtent_id, 'integer') . " " . 'AND server_id = ' . $this->db->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSExportManager.php
'SELECT eru_id FROM ecs_remote_user ' . 'WHERE sid = ' . $this->db->quote($sid, 'integer') . ' ' . 'AND mid = ' . $this->db->quote($mid, 'integer') . ' ' . 'AND usr_id = ' . $this->db->quote($usr_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSRemoteUserRepository.php
'SELECT eru_id FROM ecs_remote_user ' . 'WHERE sid = ' . $this->db->quote($sid, 'integer') . ' ' . 'AND mid = ' . $this->db->quote($mid, 'integer') . ' ' . 'AND remote_usr_id = ' . $this->db->quote($remote_usr_id, 'text')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSRemoteUserRepository.php
'SELECT * FROM ecs_remote_user ' . 'WHERE eru_id = ' . $this->db->quote($remoteUserId, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSRemoteUserRepository.php
'SELECT eru_id FROM ecs_remote_user ' . 'WHERE usr_id = ' . $this->db->quote($a_usr_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSRemoteUserRepository.php
'SELECT eru_id FROM ecs_remote_user ' . 'WHERE remote_usr_id = ' . $this->db->quote($remoteUserId, 'text')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSRemoteUserRepository.php
'SELECT * from ecs_import ' . 'WHERE server_id = ' . $this->db->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $this->db->quote($a_mid, 'integer') . ' ' . 'AND econtent_id = ' . $this->db->quote($a_econtent_id, 'text')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
"SELECT obj_id FROM ecs_import " . "WHERE content_id = " . $this->db->quote($a_content_id, 'integer') . " " . "&& mid = " . $this->db->quote($a_mid, 'integer') . " " . '&& server_id = ' . $this->db->quote($a_server_id, 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
"SELECT obj_id FROM ecs_import " . "WHERE content_id = " . $this->db->quote($a_content_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
'SELECT * from ecs_import ' . 'WHERE server_id = ' . $this->db->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $this->db->quote($a_mid, 'integer') . ' ' . 'AND content_id = ' . $this->db->quote($a_content_id, 'text')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
"SELECT * FROM ecs_import ei JOIN object_data obd ON ei.obj_id = obd.obj_id " . 'WHERE server_id = ' . $this->db->quote($a_server_id) . ' ' . 'AND ' . $this->db->in('type', ilECSUtils::getPossibleRemoteTypes( ), false, 'text')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
"SELECT * FROM ecs_import " . "WHERE mid = " . $this->db->quote($a_mid, 'integer') . " " . 'AND server_id = ' . $this->db->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
"SELECT * FROM ecs_import WHERE obj_id = " . $this->db->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
'SELECT * FROM ecs_import WHERE obj_id = ' . $this->db->quote($a_obj_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
"SELECT obj_id FROM ecs_import WHERE econtent_id = " . $this->db->quote($a_econtent_id, 'text') . " " . 'AND server_id = ' . $this->db->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
"SELECT obj_id FROM ecs_import " . "WHERE econtent_id = " . $this->db->quote($a_econtent_id, 'text') . " " . "AND mid = " . $this->db->quote($a_mid, 'integer') . " " . 'AND server_id = ' . $this->db->quote($a_server_id, 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
"DELETE FROM ecs_import " . "WHERE obj_id = " . $this->db->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
'DELETE FROM ecs_import ' . 'WHERE server_id = ' . $this->db->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
'DELETE FROM ecs_import ' . 'WHERE server_id = ' . $this->db->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $this->db->quote($a_mid, 'integer') . ' ' . 'AND ' . $this->db->in('econtent_id', $a_econtent_ids, false, 'text')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
'UPDATE ecs_import SET server_id = ' . $this->db->quote(0, 'integer') . ' WHERE server_id = ' . $this->db->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSImportManager.php
'SELECT sid,mid,export_types FROM ecs_part_settings ep ' . 'JOIN ecs_server es ON ep.sid = es.server_id ' . 'WHERE export = ' . $this->db->quote(1, 'integer') . ' ' . 'AND active = ' . $this->db->quote(1, 'integer') . ' ' . 'ORDER BY cname,es.title'1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSParticipantSettingsRepository.php
'SELECT DISTINCT(sid) FROM ecs_part_settings ep ' . 'JOIN ecs_server es ON ep.sid = es.server_id ' . 'WHERE export = ' . $this->db->quote(1, 'integer') . ' ' . 'AND active = ' . $this->db->quote(1, 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSParticipantSettingsRepository.php
"DELETE FROM " . $this->getTableName( ) . " WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/WebServices/ECS/classes/class.ilRemoteObjectBase.php
"SELECT * FROM " . $this->getTableName( ) . " WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/WebServices/ECS/classes/class.ilRemoteObjectBase.php
"DELETE FROM ecs_events " . 'WHERE server_id = ' . $this->db->quote($this->settings->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
"DELETE FROM ecs_events " . "WHERE " . $this->db->in("type", $a_types, false, "text") . ' ' . 'AND server_id = ' . $this->db->quote($this->getServer( )->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
"DELETE FROM ecs_events " . "WHERE type = " . $this->db->quote(self::TYPE_EXPORTED, 'text') . ' ' . 'AND server_id = ' . $this->db->quote($this->getServer( )->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
'DELETE FROM ecs_events ' . 'WHERE server_id = ' . $this->db->quote($this->getServer( )->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
"SELECT * FROM ecs_events " . "WHERE type = " . $this->db->quote($type, 'text') . " " . "AND id = " . $this->db->quote($ev->getRessourceId( ), 'integer') . " " . 'AND server_id = ' . $this->db->quote($this->getServer( )->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
"INSERT ecs_events (event_id,type,id,op,server_id) " . "VALUES( " . $this->db->quote($this->db->nextId('ecs_events'), 'integer') . ',' . $this->db->quote($type, 'text') . ', ' . $this->db->quote($ev->getRessourceId( ), 'integer') . ', ' . $this->db->quote($ev->getStatus( ), 'text') . ', ' . $this->db->quote($this->getServer( )->getServerId( ), 'integer') . ' ' . ')'1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
"UPDATE ecs_events " . "SET op = " . $this->db->quote($ev->getStatus( ), 'text') . " " . "WHERE event_id = " . $this->db->quote($event_id, 'integer') . ' ' . 'AND type = ' . $this->db->quote($type, 'text') . ' ' . 'AND server_id = ' . $this->db->quote($this->getServer( )->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
"INSERT INTO ecs_events (event_id,type,id,op,server_id) " . "VALUES (" . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($a_type, 'text') . ", " . $this->db->quote($a_id, 'integer') . ", " . $this->db->quote($a_op, 'text') . ", " . $this->db->quote($this->getServer( )->getServerId( ), 'integer') . ' ' . ")"1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
"UPDATE ecs_events " . "SET op = " . $this->db->quote($a_operation, 'text') . " " . "WHERE type = " . $this->db->quote($a_type, 'text') . " " . "AND id = " . $this->db->quote($a_id, 'integer') . " " . 'AND server_id = ' . $this->db->quote($this->settings->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
"DELETE FROM ecs_events " . "WHERE event_id = " . $this->db->quote($a_event_id, 'integer') . " " . 'AND server_id = ' . $this->db->quote($this->getServer( )->getServerId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
"SELECT * FROM ecs_events " . 'WHERE server_id = ' . $this->db->quote($this->getServer( )->getServerId( ), 'integer') . ' ' . 'ORDER BY event_id'1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
'DELETE FROM ecs_events' . ' WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
'INSERT INTO ecs_cms_tree ' . '(tree,child,parent,lft,rgt,depth) ' . 'VALUES ( ' . $this->db->quote($tree, 'integer') . ', ' . $this->db->quote($a_child, 'integer') . ', ' . $this->db->quote(0, 'integer') . ', ' . $this->db->quote(1, 'integer') . ', ' . $this->db->quote(100, 'integer') . ', ' . $this->db->quote(1, 'integer') . ' )'1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsTree.php
'DELETE FROM ecs_cms_tree ' . 'WHERE tree = ' . $ilDB->quote($a_tree_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsTree.php
'SELECT COUNT(*) num FROM ecs_cms_tree WHERE tree = ' . $this->db->quote($a_tree_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsTree.php
'SELECT child FROM ecs_cms_tree WHERE tree = ' . $ilDB->quote($a_tree_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsTree.php
'SELECT COUNT(*) num FROM ecs_cms_data ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND tree_id = ' . $ilDB->quote($a_tree_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'SELECT ed.obj_id obj_id FROM ecs_cms_data ed ' . 'LEFT JOIN ecs_cms_tree et ON ed.obj_id = et.child ' . 'WHERE et.child IS NULL ' . 'AND server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid) . ' ' . 'AND tree_id = ' . $ilDB->quote($a_tree_id)1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'SELECT obj_id FROM ecs_cms_data ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND tree_id = ' . $ilDB->quote($a_tree_id, 'integer') . ' ' . 'AND cms_id = ' . $ilDB->quote($cms_id, 'text')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'SELECT tree_id FROM ecs_cms_data ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND cms_id = ' . $ilDB->quote($cms_id, 'text') . ' ' . 'ORDER BY tree_id '1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'SELECT * FROM ecs_cms_data ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND tree_id = ' . $ilDB->quote($a_tree_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'SELECT term FROM ecs_cms_data ' . 'JOIN ecs_cms_tree ON obj_id = child ' . 'WHERE tree = ' . $ilDB->quote($a_tree_id, 'integer') . ' ' . 'AND server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND tree_id = ' . $ilDB->quote($a_tree_id, 'integer') . ' ' . 'ORDER BY depth'1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'SELECT status,deleted FROM ecs_cms_data ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND tree_id = ' . $ilDB->quote($a_tree_id, 'integer') . ' ' . 'AND obj_id = ' . $ilDB->quote($obj_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'SELECT status FROM ecs_cms_data ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND tree_id = ' . $ilDB->quote($a_tree_id, 'integer') . ' ' . 'AND cms_id = ' . $ilDB->quote($cms_id, 'text')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'SELECT cms_id FROM ecs_cms_data ' . 'WHERE ' . $ilDB->in('obj_id', $a_obj_ids, false, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'SELECT cms_id FROM ecs_cms_data ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND tree_id = ' . $ilDB->quote($a_tree_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'UPDATE ecs_cms_data ' . 'SET status = ' . $ilDB->quote($status, 'integer') . ' ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND tree_id = ' . $ilDB->quote($a_tree_id, 'integer') . ' ' . 'AND ' . $ilDB->in('cms_id', $cms_ids, false, 'text')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'UPDATE ecs_cms_data ' . 'SET status = ' . $ilDB->quote($status, 'integer') . ' ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND tree_id = ' . $ilDB->quote($a_tree_id, 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'UPDATE ecs_cms_data ' . 'SET deleted = ' . $ilDB->quote($a_deleted_flag, 'integer') . ' ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND tree_id = ' . $ilDB->quote($a_tree_id, 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'SELECT DISTINCT(tree_id) tid FROM ecs_cms_data ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'INSERT INTO ecs_cms_data (obj_id,server_id,mid,tree_id,cms_id,title,term,status,deleted) ' . 'VALUES ( ' . $this->db->quote($this->obj_id, 'integer') . ', ' . $this->db->quote($this->server_id, 'integer') . ', ' . $this->db->quote($this->mid, 'integer') . ', ' . $this->db->quote($this->tree_id, 'integer') . ', ' . $this->db->quote($this->cms_id, 'text') . ', ' . $this->db->quote($this->title, 'text') . ', ' . $this->db->quote($this->term, 'text') . ', ' . $this->db->quote($this->status, 'integer') . ', ' . $this->db->quote($this->deleted, 'integer') . ' ' . ')'1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
"UPDATE ecs_cms_data SET " . 'title = ' . $this->db->quote($this->title, 'text') . ', ' . 'term = ' . $this->db->quote($this->term, 'text') . ', ' . 'status = ' . $this->db->quote($this->status, 'text') . ', ' . 'deleted = ' . $this->db->quote($this->isDeleted( ), 'integer') . ' ' . 'WHERE obj_id = ' . $this->db->quote($this->obj_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
"DELETE FROM ecs_cms_data " . 'WHERE obj_id = ' . $this->db->quote($this->obj_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
"DELETE FROM ecs_cms_data " . 'WHERE server_id = ' . $this->db->quote($this->server_id, 'integer') . ' ' . 'AND mid = ' . $this->db->quote($this->mid, 'integer') . ' ' . 'AND tree_id = ' . $this->db->quote($this->tree_id, 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
"DELETE FROM ecs_cms_data " . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'SELECT * FROM ecs_cms_data ' . 'WHERE obj_id = ' . $this->db->quote($this->obj_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Tree/class.ilECSCmsData.php
'SELECT ref_id FROM ecs_node_mapping_a ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND cs_root = ' . $ilDB->quote($a_tree_id, 'integer') . ' ' . 'AND ref_id > 0'1
  • /components/ILIAS/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignments.php
'SELECT title_update, position_update, tree_update FROM ecs_node_mapping_a ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND cs_root = ' . $ilDB->quote($a_tree_id, 'integer') . ' ' . 'AND cs_id = ' . $ilDB->quote($a_node_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignments.php
'SELECT cs_id FROM ecs_node_mapping_a ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND cs_root = ' . $ilDB->quote($a_tree_id, 'integer') . ' ' . 'AND ref_id > 0'1
  • /components/ILIAS/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignments.php
'SELECT depth FROM ecs_node_mapping_a ' . 'JOIN ecs_cms_tree ON (tree = cs_root AND child = cs_id) ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND cs_root = ' . $ilDB->quote($a_tree_id, 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignments.php
'SELECT title_update FROM ecs_node_mapping_a ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND cs_root = ' . $ilDB->quote($a_tree_id, 'integer') . ' ' . 'AND cs_id = ' . $ilDB->quote(0, 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignments.php
'DELETE FROM ecs_node_mapping_a ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id) . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND cs_root = ' . $ilDB->quote($a_tree_id, 'integer') . ' ' . 'AND ' . $ilDB->in('cs_id', $cs_ids, false, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignments.php
'DELETE FROM ecs_node_mapping_a ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id) . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND cs_root = ' . $ilDB->quote($a_tree_id, 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignments.php
'INSERT INTO ecs_node_mapping_a (server_id,mid,cs_root,cs_id,ref_id,obj_id,title_update,position_update,tree_update) ' . 'VALUES( ' . $this->db->quote($this->getServerId( ), 'integer') . ', ' . $this->db->quote($this->getMembershipId( ), 'integer') . ', ' . $this->db->quote($this->getTreeId( ), 'integer') . ', ' . $this->db->quote($this->getCSId( ), 'integer') . ', ' . $this->db->quote($this->getRefId( ), 'integer') . ', ' . $this->db->quote($this->getObjId( ), 'integer') . ', ' . $this->db->quote($this->isTitleUpdateEnabled( ), 'integer') . ', ' . $this->db->quote($this->isPositionUpdateEnabled( ), 'integer') . ', ' . $this->db->quote($this->isTreeUpdateEnabled( ), 'integer') . ' ' . ')'1
  • /components/ILIAS/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignment.php
'DELETE FROM ecs_node_mapping_a ' . 'WHERE server_id = ' . $this->db->quote($this->getServerId( ), 'integer') . ' ' . 'AND mid = ' . $this->db->quote($this->getMembershipId( ), 'integer') . ' ' . 'AND cs_root = ' . $this->db->quote($this->getTreeId( ), 'integer') . ' ' . 'AND cs_id = ' . $this->db->quote($this->getCSId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignment.php
'SELECT * FROM ecs_node_mapping_a ' . 'WHERE server_id = ' . $this->db->quote($this->getServerId( ), 'integer') . ' ' . 'AND mid = ' . $this->db->quote($this->getMembershipId( ), 'integer') . ' ' . 'AND cs_root = ' . $this->db->quote($this->getTreeId( ), 'integer') . ' ' . 'AND cs_id = ' . $this->db->quote($this->getCSId( ), 'integer') . ' '1
  • /components/ILIAS/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignment.php
'DELETE FROM ecs_node_mapping_a' . ' WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignment.php
'SELECT * FROM ecs_crs_mapping_atts ' . 'WHERE sid = ' . $this->db->quote($this->server_id, 'integer') . ' ' . 'AND mid = ' . $this->db->quote($this->mid, 'integer') . ' ' . 'ORDER BY id'1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseAttributes.php
'SELECT attribute FROM ecs_cmap_rule ' . 'WHERE sid = ' . $ilDB->quote($a_sid, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND ref_id = ' . $ilDB->quote($a_ref_id, 'integer') . ' ' . 'ORDER BY rid '1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMappingRule.php
'SELECT DISTINCT(ref_id) ref_id, rid FROM ecs_cmap_rule ' . 'WHERE sid = ' . $ilDB->quote($a_sid, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'GROUP BY ref_id' . ' ' . 'ORDER BY rid'1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMappingRule.php
'SELECT rid FROM ecs_cmap_rule ' . 'WHERE sid = ' . $ilDB->quote($a_sid, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND ref_id = ' . $ilDB->quote($a_ref_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMappingRule.php
'SELECT ref_id FROM ecs_cmap_rule ' . 'WHERE sid = ' . $ilDB->quote($a_sid, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND ref_id = ' . $ilDB->quote($a_ref_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMappingRule.php
'SELECT rid FROM ecs_cmap_rule ' . 'WHERE sid = ' . $ilDB->quote($a_sid, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND ref_id = ' . $ilDB->quote($a_ref_id, 'integer') . ' ' . 'AND attribute = ' . $ilDB->quote($a_att, 'text')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMappingRule.php
'DELETE from ecs_cmap_rule ' . 'WHERE rid = ' . $this->db->quote($this->getRuleId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMappingRule.php
'INSERT INTO ecs_cmap_rule ' . '(rid,sid,mid,attribute,ref_id,is_filter,filter,create_subdir,subdir_type,directory) ' . 'VALUES (' . $this->db->quote($this->getRuleId( ), 'integer') . ', ' . $this->db->quote($this->getServerId( ), 'integer') . ', ' . $this->db->quote($this->getMid( ), 'integer') . ', ' . $this->db->quote($this->getAttribute( ), 'text') . ', ' . $this->db->quote($this->getRefId( ), 'integer') . ', ' . $this->db->quote($this->isFilterEnabled( ), 'integer') . ', ' . $this->db->quote($this->getFilter( ), 'text') . ', ' . $this->db->quote($this->isSubdirCreationEnabled( ), 'integer') . ', ' . $this->db->quote($this->getSubDirectoryType( ), 'integer') . ', ' . $this->db->quote($this->getDirectory( ), 'text') . ' ' . ')'1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMappingRule.php
'UPDATE ecs_cmap_rule ' . ' ' . 'SET ' . 'attribute = ' . $this->db->quote($this->getAttribute( ), 'text') . ', ' . 'ref_id = ' . $this->db->quote($this->getRefId( ), 'integer') . ', ' . 'is_filter = ' . $this->db->quote($this->isFilterEnabled( ), 'integer') . ', ' . 'filter = ' . $this->db->quote($this->getFilter( ), 'text') . ', ' . 'create_subdir = ' . $this->db->quote($this->isSubdirCreationEnabled( ), 'integer') . ', ' . 'subdir_type = ' . $this->db->quote($this->getSubDirectoryType( ), 'integer') . ', ' . 'directory = ' . $this->db->quote($this->getDirectory( ), 'text') . ' ' . 'WHERE rid = ' . $this->db->quote($this->getRuleId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMappingRule.php
'SELECT * from ecs_cmap_rule ' . ' ' . 'WHERE rid = ' . $this->db->quote($this->getRuleId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMappingRule.php
'SELECT id FROM ecs_course_assignments ' . 'WHERE usr_id = ' . $ilDB->quote($a_usr_id, 'text')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMemberAssignment.php
'DELETE FROM ecs_course_assignments ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMemberAssignment.php
'DELETE FROM ecs_course_assignments ' . 'WHERE sid = ' . $ilDB->quote($a_server_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMemberAssignment.php
'SELECT usr_id FROM ecs_course_assignments ' . 'WHERE cms_id = ' . $ilDB->quote($a_cms_id, 'integer') . ' ' . $cms_sub_id_query . 'AND obj_id = ' . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMemberAssignment.php
'SELECT id FROM ecs_course_assignments ' . 'WHERE cms_id = ' . $ilDB->quote($a_cms_id, 'integer') . ' ' . $cms_sub_id_query . 'AND obj_id = ' . $ilDB->quote($a_obj_id, 'integer') . ' ' . 'AND usr_id = ' . $ilDB->quote($a_usr_id, 'text')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMemberAssignment.php
'INSERT INTO ecs_course_assignments ' . '(id,sid,mid,cms_id,cms_sub_id,obj_id,usr_id,status) ' . 'VALUES( ' . $this->db->quote($this->getId( ), 'integer') . ', ' . $this->db->quote($this->getServer( ), 'integer') . ', ' . $this->db->quote($this->getMid( ), 'integer') . ', ' . $this->db->quote($this->getCmsId( ), 'integer') . ', ' . $this->db->quote($this->getCmsSubId( ), 'integer') . ', ' . $this->db->quote($this->getObjId( ), 'integer') . ', ' . $this->db->quote($this->getUid( ), 'text') . ', ' . $this->db->quote($this->getStatus( ), 'integer') . ' ' . ')'1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMemberAssignment.php
'UPDATE ecs_course_assignments ' . 'SET ' . 'sid = ' . $this->db->quote($this->getServer( ), 'integer') . ', ' . 'mid = ' . $this->db->quote($this->getMid( ), 'integer') . ', ' . 'cms_id = ' . $this->db->quote($this->getCmsId( ), 'integer') . ', ' . 'cms_sub_id = ' . $this->db->quote($this->getCmsSubId( ), 'integer') . ', ' . 'obj_id = ' . $this->db->quote($this->getObjId( ), 'integer') . ', ' . 'usr_id = ' . $this->db->quote($this->getUid( ), 'text') . ', ' . 'status = ' . $this->db->quote($this->getStatus( ), 'integer') . ' ' . 'WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMemberAssignment.php
'DELETE FROM ecs_course_assignments ' . 'WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMemberAssignment.php
'SELECT * FROM ecs_course_assignments ' . 'WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMemberAssignment.php
"DELETE FROM ecs_crs_mapping_atts " . 'WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseAttribute.php
'INSERT INTO ecs_crs_mapping_atts (id,sid,mid,name) ' . 'VALUES ( ' . $this->db->quote($this->getId( ), 'integer') . ', ' . $this->db->quote($this->getServerId( ), 'integer') . ', ' . $this->db->quote($this->getMid( ), 'integer') . ', ' . $this->db->quote($this->getName( ), 'text') . ' ' . ') '1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseAttribute.php
'SELECT * FROM ecs_crs_mapping_atts ' . 'WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseAttribute.php
'DELETE FROM ecs_user_consent ' . 'WHERE mid = ' . $this->db->quote($this->mid, ilDBConstants::T_INTEGER) . ' ' . 'AND server_id = ' . $this->db->quote($this->server_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/WebServices/ECS/classes/Consent/class.ilECSParticipantConsents.php
'SELECT count(*) as num FROM ecs_user_consent ' . 'WHERE mid = ' . $this->db->quote($this->mid, ilDBConstants::T_INTEGER) . ' ' . 'AND server_id = ' . $this->db->quote($this->server_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/WebServices/ECS/classes/Consent/class.ilECSParticipantConsents.php
'DELETE FROM ecs_user_consent ' . 'WHERE usr_id = ' . $this->db->quote($this->getUserId( ), ilDBConstants::T_INTEGER) . ' ' . 'AND server_id = ' . $this->db->quote($this->getServerId( ), ilDBConstants::T_INTEGER) . ' ' . 'AND mid = ' . $this->db->quote($this->getMid( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/WebServices/ECS/classes/Consent/class.ilECSUserConsent.php
'SELECT * FROM ecs_user_consent ' . 'WHERE usr_id = ' . $this->db->quote($this->getUserId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/WebServices/ECS/classes/Consent/class.ilECSUserConsents.php
'INSERT INTO content_page_data (content_page_id, stylesheet ) VALUES(%s, %s)'1
  • /components/ILIAS/ContentPage/classes/class.ilObjContentPage.php
'DELETE FROM content_page_metrics WHERE content_page_id = %s'1
  • /components/ILIAS/ContentPage/classes/class.ilObjContentPage.php
'DELETE FROM content_page_data WHERE content_page_id = %s'1
  • /components/ILIAS/ContentPage/classes/class.ilObjContentPage.php
'DELETE FROM content_page_metrics WHERE content_page_id = %s AND page_id = %s AND lang = %s'1
  • /components/ILIAS/ContentPage/classes/PageMetrics/PageMetricsRepositoryImpl.php
'SELECT * FROM content_page_metrics WHERE content_page_id = %s AND page_id = %s AND lang = %s'1
  • /components/ILIAS/ContentPage/classes/PageMetrics/PageMetricsRepositoryImpl.php
'select member_update from crs_reference_settings where ' . 'obj_id = ' . $db->quote($obj_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/CourseReference/classes/class.ilObjCourseReference.php
'INSERT INTO crs_reference_settings (obj_id, member_update ) ' . 'VALUES ( ' . $this->db->quote($id, ilDBConstants::T_INTEGER) . ', ' . $this->db->quote((int) $this->isMemberUpdateEnabled( ), ilDBConstants::T_INTEGER) . ' ' . ')'1
  • /components/ILIAS/CourseReference/classes/class.ilObjCourseReference.php
'SELECT * FROM crs_reference_settings ' . 'WHERE obj_id = ' . $this->db->quote($this->getId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/CourseReference/classes/class.ilObjCourseReference.php
'UPDATE crs_reference_settings ' . 'SET member_update = ' . $this->db->quote((int) $this->isMemberUpdateEnabled( ), ilDBConstants::T_INTEGER) . ' ' . 'WHERE obj_id = ' . $this->db->quote((int) $this->getId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/CourseReference/classes/class.ilObjCourseReference.php
'DELETE FROM crs_reference_settings ' . 'WHERE obj_id = ' . $this->db->quote($this->getId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/CourseReference/classes/class.ilObjCourseReference.php
"SELECT t.child, t.parent, t.lft, n.order_nr FROM skl_tree t JOIN skl_tree_node n ON (t.child = n.obj_id)"1
  • /components/ILIAS/Skill/Tree/class.ilVirtualSkillTree.php
"SELECT * FROM " . "skl_tree JOIN skl_tree_node ON skl_tree.child=skl_tree_node.obj_id " . " WHERE skl_tree.skl_tree_id = %s "1
  • /components/ILIAS/Skill/Tree/class.ilSkillTree.php
"SELECT * FROM skl_tree_node n JOIN skl_tree t ON (n.obj_id = t.child) " . " WHERE n.import_id = " . $ilDB->quote("il_" . ($a_source_inst_id) . "_sktr_" . $a_tref_import_id, "text") . " ORDER BY n.creation_date DESC "1
  • /components/ILIAS/Skill/Tree/class.ilSkillTreeDBRepository.php
"SELECT * FROM skl_tree_node n JOIN skl_tree t ON (n.obj_id = t.child) " . " WHERE n.import_id = " . $ilDB->quote("il_" . ($a_source_inst_id) . "_" . $skill_node_type . "_" . $a_skill_import_id, "text") . " ORDER BY n.creation_date DESC "1
  • /components/ILIAS/Skill/Tree/class.ilSkillTreeDBRepository.php
"SELECT * FROM skl_level l JOIN skl_tree t ON (l.skill_id = t.child) " . " WHERE l.import_id = " . $ilDB->quote("il_" . $a_source_inst_id . "_sklv_" . $a_level_import_id, "text") . " ORDER BY l.creation_date DESC "1
  • /components/ILIAS/Skill/Tree/class.ilSkillTreeDBRepository.php
"SELECT * FROM skl_assigned_material " . " WHERE user_id = " . $ilDB->quote($user_id, "integer") . " AND top_skill_id = " . $ilDB->quote($top_skill_id, "integer") . " AND tref_id = " . $ilDB->quote($tref_id, "integer") . " AND skill_id = " . $ilDB->quote($basic_skill_id, "integer") . " AND level_id = " . $ilDB->quote($level_id, "integer") . " AND wsp_id = " . $ilDB->quote($wsp_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.AssignedMaterialDBRepository.php
"INSERT INTO skl_assigned_material " . "(user_id, top_skill_id, tref_id, skill_id, level_id, wsp_id) VALUES (" . $ilDB->quote($user_id, "integer") . "," . $ilDB->quote($top_skill_id, "integer") . "," . $ilDB->quote($tref_id, "integer") . "," . $ilDB->quote($basic_skill_id, "integer") . "," . $ilDB->quote($level_id, "integer") . "," . $ilDB->quote($wsp_id, "integer") . ")"1
  • /components/ILIAS/Skill/Personal/class.AssignedMaterialDBRepository.php
"SELECT * FROM skl_assigned_material " . " WHERE level_id = " . $ilDB->quote($level_id, "integer") . " AND tref_id = " . $ilDB->quote($tref_id, "integer") . " AND user_id = " . $ilDB->quote($user_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.AssignedMaterialDBRepository.php
"SELECT * FROM skl_assigned_material " . " WHERE skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($tref_id, "integer") . " AND user_id = " . $ilDB->quote($user_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.AssignedMaterialDBRepository.php
"SELECT count(*) as cnt FROM skl_assigned_material " . " WHERE level_id = " . $ilDB->quote($level_id, "integer") . " AND tref_id = " . $ilDB->quote($tref_id, "integer") . " AND user_id = " . $ilDB->quote($user_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.AssignedMaterialDBRepository.php
"DELETE FROM skl_assigned_material WHERE " . " user_id = " . $ilDB->quote($user_id, "integer") . " AND tref_id = " . $ilDB->quote($tref_id, "integer") . " AND level_id = " . $ilDB->quote($level_id, "integer") . " AND wsp_id = " . $ilDB->quote($wsp_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.AssignedMaterialDBRepository.php
"DELETE FROM skl_assigned_material WHERE " . " user_id = " . $ilDB->quote($user_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.AssignedMaterialDBRepository.php
"DELETE FROM skl_assigned_material WHERE " . " skill_id = " . $ilDB->quote($skill_node_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.AssignedMaterialDBRepository.php
"DELETE FROM skl_assigned_material WHERE " . " tref_id = " . $ilDB->quote($skill_node_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.AssignedMaterialDBRepository.php
"SELECT * FROM skl_personal_skill " . " WHERE user_id = " . $ilDB->quote($user_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.PersonalSkillDBRepository.php
"SELECT * FROM skl_personal_skill " . " WHERE user_id = " . $ilDB->quote($user_id, "integer") . " AND skill_node_id = " . $ilDB->quote($skill_node_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.PersonalSkillDBRepository.php
"INSERT INTO skl_personal_skill " . "(user_id, skill_node_id) VALUES (" . $ilDB->quote($user_id, "integer") . "," . $ilDB->quote($skill_node_id, "integer") . ")"1
  • /components/ILIAS/Skill/Personal/class.PersonalSkillDBRepository.php
"DELETE FROM skl_personal_skill WHERE " . " user_id = " . $ilDB->quote($user_id, "integer") . " AND skill_node_id = " . $ilDB->quote($skill_node_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.PersonalSkillDBRepository.php
"DELETE FROM skl_personal_skill WHERE " . " user_id = " . $ilDB->quote($user_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.PersonalSkillDBRepository.php
"DELETE FROM skl_personal_skill WHERE " . " skill_node_id = " . $ilDB->quote($skill_node_id, "integer")1
  • /components/ILIAS/Skill/Personal/class.PersonalSkillDBRepository.php
"SELECT skill_node_id, user_id FROM skl_personal_skill " . " WHERE " . $ilDB->in("skill_node_id", $pskill_ids, false, "integer") . " GROUP BY skill_node_id, user_id"1
  • /components/ILIAS/Skill/Personal/class.PersonalSkillDBRepository.php
"DELETE FROM skl_usage WHERE " . " obj_id = " . $this->db->quote($obj_id, "integer") . " AND skill_id = " . $this->db->quote($skill_id, "integer") . " AND tref_id = " . $this->db->quote($tref_id, "integer")1
  • /components/ILIAS/Skill/Usage/class.SkillUsageDBRepository.php
"DELETE FROM skl_usage WHERE " . " obj_id = " . $this->db->quote($obj_id, "integer")1
  • /components/ILIAS/Skill/Usage/class.SkillUsageDBRepository.php
"DELETE FROM skl_usage WHERE " . " skill_id = " . $this->db->quote($node_id, "integer")1
  • /components/ILIAS/Skill/Usage/class.SkillUsageDBRepository.php
"DELETE FROM skl_usage WHERE " . " tref_id = " . $this->db->quote($node_id, "integer")1
  • /components/ILIAS/Skill/Usage/class.SkillUsageDBRepository.php
"SELECT obj_id FROM skl_usage " . " WHERE skill_id = " . $this->db->quote($skill_id, "integer") . " AND tref_id = " . $this->db->quote($tref_id, "integer")1
  • /components/ILIAS/Skill/Usage/class.SkillUsageDBRepository.php
"SELECT " . $key_field . ", " . $skill_field . ", " . $tref_field . " FROM " . $table . " "1
  • /components/ILIAS/Skill/Usage/class.SkillUsageDBRepository.php
"SELECT * FROM skl_profile_completion " . " WHERE profile_id = " . $ilDB->quote($profile_id, "integer") . " AND user_id = " . $ilDB->quote($user_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileCompletionDBRepository.php
"INSERT INTO skl_profile_completion " . "(profile_id, user_id, date, fulfilled) VALUES (" . $ilDB->quote($profile_id, "integer") . "," . $ilDB->quote($user_id, "integer") . "," . $ilDB->quote($now, "timestamp") . "," . $ilDB->quote(1, "integer") . ")"1
  • /components/ILIAS/Skill/Profile/class.SkillProfileCompletionDBRepository.php
"INSERT INTO skl_profile_completion " . "(profile_id, user_id, date, fulfilled) VALUES (" . $ilDB->quote($profile_id, "integer") . "," . $ilDB->quote($user_id, "integer") . "," . $ilDB->quote($now, "timestamp") . "," . $ilDB->quote(0, "integer") . ")"1
  • /components/ILIAS/Skill/Profile/class.SkillProfileCompletionDBRepository.php
"SELECT * FROM skl_profile_completion " . " WHERE user_id = " . $ilDB->quote($user_id, "integer") . " AND fulfilled = 1"1
  • /components/ILIAS/Skill/Profile/class.SkillProfileCompletionDBRepository.php
"SELECT * FROM skl_profile_completion " . " WHERE user_id = " . $ilDB->quote($user_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileCompletionDBRepository.php
"SELECT * FROM skl_profile_completion " . " WHERE profile_id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileCompletionDBRepository.php
"DELETE FROM skl_profile_completion WHERE " . " profile_id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileCompletionDBRepository.php
"DELETE FROM skl_profile_completion WHERE " . " user_id = " . $ilDB->quote($user_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileCompletionDBRepository.php
"SELECT * FROM skl_profile_user " . " WHERE profile_id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileUserDBRepository.php
"DELETE FROM skl_profile_user WHERE " . " profile_id = " . $ilDB->quote($profile_id, "integer") . " AND user_id = " . $ilDB->quote($user_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileUserDBRepository.php
"DELETE FROM skl_profile_user WHERE " . " user_id = " . $ilDB->quote($user_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileUserDBRepository.php
"DELETE FROM skl_profile_user WHERE " . " profile_id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileUserDBRepository.php
"SELECT p.id, p.title, p.description, p.ref_id, p.skill_tree_id, p.image_id " . " FROM skl_profile_user u JOIN skl_profile p ON (u.profile_id = p.id) " . " WHERE u.user_id = " . $ilDB->quote($user_id, "integer") . " ORDER BY p.title ASC"1
  • /components/ILIAS/Skill/Profile/class.SkillProfileUserDBRepository.php
"SELECT count(*) ucnt FROM skl_profile_user " . " WHERE profile_id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileUserDBRepository.php
"SELECT * FROM skl_profile_level " . " WHERE profile_id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileLevelsDBRepository.php
"SELECT * FROM skl_profile_level " . " WHERE profile_id = " . $ilDB->quote($profile_id, "integer") . " AND base_skill_id = " . $ilDB->quote($base_skill_id, "integer") . " AND tref_id = " . $ilDB->quote($tref_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileLevelsDBRepository.php
"DELETE FROM skl_profile_level WHERE " . " base_skill_id = " . $ilDB->quote($skill_level_obj->getBaseSkillId( ), "integer") . " AND tref_id = " . $ilDB->quote($skill_level_obj->getTrefId( ), "integer") . " AND level_id = " . $ilDB->quote($skill_level_obj->getLevelId( ), "integer") . " AND order_nr = " . $ilDB->quote($skill_level_obj->getOrderNr( ), "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileLevelsDBRepository.php
"DELETE FROM skl_profile_level WHERE " . " profile_id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileLevelsDBRepository.php
"DELETE FROM skl_profile_level WHERE " . " base_skill_id = " . $ilDB->quote($skill_node_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileLevelsDBRepository.php
"DELETE FROM skl_profile_level WHERE " . " tref_id = " . $ilDB->quote($skill_node_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileLevelsDBRepository.php
"UPDATE skl_profile_level SET " . " order_nr = " . $ilDB->quote(($cnt * 10), "integer") . " WHERE base_skill_id = " . $ilDB->quote($id_arr[0], "integer") . " AND tref_id = " . $ilDB->quote($id_arr[1], "integer") . " AND profile_id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileLevelsDBRepository.php
"SELECT profile_id, base_skill_id, tref_id, order_nr FROM skl_profile_level WHERE " . " profile_id = " . $ilDB->quote($profile_id, "integer") . " ORDER BY order_nr ASC"1
  • /components/ILIAS/Skill/Profile/class.SkillProfileLevelsDBRepository.php
"UPDATE skl_profile_level SET " . " order_nr = " . $ilDB->quote(($cnt * 10), "integer") . " WHERE profile_id = " . $ilDB->quote($rec["profile_id"], "integer") . " AND base_skill_id = " . $ilDB->quote($rec["base_skill_id"], "integer") . " AND tref_id = " . $ilDB->quote($rec["tref_id"], "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileLevelsDBRepository.php
"SELECT MAX(order_nr) mnr FROM skl_profile_level WHERE " . " profile_id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileLevelsDBRepository.php
"SELECT * FROM skl_profile " . " WHERE id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileDBRepository.php
"INSERT INTO skl_profile " . "(id, title, description, skill_tree_id, image_id, ref_id) VALUES (" . $ilDB->quote($new_profile_id, "integer") . "," . $ilDB->quote($profile->getTitle( ), "text") . "," . $ilDB->quote($profile->getDescription( ), "text") . "," . $ilDB->quote($profile->getSkillTreeId( ), "integer") . "," . $ilDB->quote($profile->getImageId( ), "text") . "," . $ilDB->quote($profile->getRefId( ), "integer") . ")"1
  • /components/ILIAS/Skill/Profile/class.SkillProfileDBRepository.php
"UPDATE skl_profile SET " . " title = " . $ilDB->quote($profile->getTitle( ), "text") . "," . " description = " . $ilDB->quote($profile->getDescription( ), "text") . "," . " image_id = " . $ilDB->quote($profile->getImageId( ), "text") . " WHERE id = " . $ilDB->quote($profile->getId( ), "integer") . " AND ref_id = " . $ilDB->quote($profile->getRefId( ), "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileDBRepository.php
"DELETE FROM skl_profile WHERE " . " id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileDBRepository.php
"DELETE FROM skl_profile WHERE " . " ref_id = " . $ilDB->quote($ref_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileDBRepository.php
"SELECT * FROM skl_profile " . " ORDER BY title "1
  • /components/ILIAS/Skill/Profile/class.SkillProfileDBRepository.php
"SELECT * FROM skl_profile " . " WHERE skill_tree_id = " . $ilDB->quote($skill_tree_id, "integer") . " ORDER BY title "1
  • /components/ILIAS/Skill/Profile/class.SkillProfileDBRepository.php
"SELECT * FROM skl_profile " . " WHERE ref_id = 0 " . " ORDER BY title "1
  • /components/ILIAS/Skill/Profile/class.SkillProfileDBRepository.php
"SELECT * FROM skl_profile " . " WHERE ref_id = " . $ref_id . " ORDER BY title "1
  • /components/ILIAS/Skill/Profile/class.SkillProfileDBRepository.php
"SELECT " . $field . " FROM skl_profile " . " WHERE id = " . $ilDB->quote($id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileDBRepository.php
"SELECT * FROM skl_profile " . " WHERE id = %s "1
  • /components/ILIAS/Skill/Profile/class.SkillProfileDBRepository.php
"DELETE FROM skl_profile_role WHERE " . " profile_id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileRoleDBRepository.php
"SELECT * FROM skl_profile_role " . " WHERE profile_id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileRoleDBRepository.php
"DELETE FROM skl_profile_role WHERE " . " profile_id = " . $ilDB->quote($profile_id, "integer") . " AND role_id = " . $ilDB->quote($role_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileRoleDBRepository.php
"DELETE FROM skl_profile_role WHERE " . " role_id = " . $ilDB->quote($role_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileRoleDBRepository.php
"SELECT spr.profile_id, spr.role_id, sp.title, sp.description, sp.ref_id, sp.skill_tree_id, sp.image_id " . " FROM skl_profile_role spr INNER JOIN skl_profile sp ON (spr.profile_id = sp.id) " . " WHERE spr.role_id = " . $ilDB->quote($role_id, "integer") . " ORDER BY sp.title ASC"1
  • /components/ILIAS/Skill/Profile/class.SkillProfileRoleDBRepository.php
"SELECT spr.profile_id, spr.role_id, sp.title, sp.description, sp.ref_id, sp.skill_tree_id, sp.image_id " . " FROM skl_profile_role spr INNER JOIN skl_profile sp ON (spr.profile_id = sp.id) " . " WHERE spr.role_id = " . $ilDB->quote($role_id, "integer") . " AND sp.ref_id = 0" . " ORDER BY sp.title ASC"1
  • /components/ILIAS/Skill/Profile/class.SkillProfileRoleDBRepository.php
"SELECT spr.profile_id, spr.role_id, sp.title, sp.description, sp.ref_id, sp.skill_tree_id, sp.image_id " . " FROM skl_profile_role spr INNER JOIN skl_profile sp ON (spr.profile_id = sp.id) " . " WHERE spr.role_id = " . $ilDB->quote($role_id, "integer") . " AND sp.ref_id <> 0" . " ORDER BY sp.title ASC"1
  • /components/ILIAS/Skill/Profile/class.SkillProfileRoleDBRepository.php
"SELECT count(*) rcnt FROM skl_profile_role " . " WHERE profile_id = " . $ilDB->quote($profile_id, "integer")1
  • /components/ILIAS/Skill/Profile/class.SkillProfileRoleDBRepository.php
"DELETE FROM skl_user_has_level WHERE " . " skill_id = " . $ilDB->quote($skill_id, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"DELETE FROM skl_user_skill_level WHERE " . " skill_id = " . $ilDB->quote($skill_id, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"DELETE FROM skl_user_has_level WHERE " . " tref_id = " . $ilDB->quote($skill_id, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"DELETE FROM skl_user_skill_level WHERE " . " tref_id = " . $ilDB->quote($skill_id, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"UPDATE skl_user_skill_level SET " . " level_id = " . $ilDB->quote(0, "integer") . "," . " next_level_fulfilment = " . $ilDB->quote(0.0, "float") . "," . " status_date = " . $ilDB->quote($now, "timestamp") . " WHERE user_id = " . $ilDB->quote($a_user_id, "integer") . " AND status_date = " . $ilDB->quote($status_date, "timestamp") . " AND skill_id = " . $ilDB->quote($a_skill_id, "integer") . " AND status = " . $ilDB->quote(ilBasicSkill::ACHIEVED, "integer") . " AND trigger_obj_id = " . $ilDB->quote($trigger_obj_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"INSERT INTO skl_user_skill_level " . "(level_id, user_id, tref_id, status_date, skill_id, status, valid, trigger_ref_id," . "trigger_obj_id, trigger_obj_type, trigger_title, self_eval, unique_identifier," . "next_level_fulfilment) VALUES (" . $ilDB->quote(0, "integer") . "," . $ilDB->quote($a_user_id, "integer") . "," . $ilDB->quote($a_tref_id, "integer") . "," . $ilDB->quote($now, "timestamp") . "," . $ilDB->quote($a_skill_id, "integer") . "," . $ilDB->quote(ilBasicSkill::ACHIEVED, "integer") . "," . $ilDB->quote(1, "integer") . "," . $ilDB->quote($a_trigger_ref_id, "integer") . "," . $ilDB->quote($trigger_obj_id, "integer") . "," . $ilDB->quote("", "text") . "," . $ilDB->quote("", "text") . "," . $ilDB->quote($a_self_eval, "integer") . "," . $ilDB->quote("", "text") . "," . $ilDB->quote(0.0, "float") . ")"1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"DELETE FROM skl_user_has_level WHERE " . " user_id = " . $ilDB->quote($a_user_id, "integer") . " AND skill_id = " . $ilDB->quote($a_skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND trigger_obj_id = " . $ilDB->quote($trigger_obj_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT * FROM skl_user_skill_level WHERE " . "skill_id = " . $ilDB->quote($a_skill_id, "integer") . " AND " . "user_id = " . $ilDB->quote($a_user_id, "integer") . " AND " . "tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND " . "trigger_obj_id = " . $ilDB->quote($trigger_obj_id, "integer") . " AND " . "self_eval = " . $ilDB->quote(1, "integer") . " ORDER BY status_date DESC"1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT * FROM skl_user_skill_level " . " WHERE status_date >= " . $ilDB->quote($a_timestamp, "timestamp") . " AND valid = " . $ilDB->quote(1, "integer") . " AND status = " . $ilDB->quote(ilBasicSkill::ACHIEVED, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer") . $to . $user . " ORDER BY user_id, status_date ASC "1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"UPDATE skl_user_skill_level SET " . " level_id = " . $ilDB->quote($a_level_id, "integer") . "," . " status_date = " . $ilDB->quote($now, "timestamp") . "," . " next_level_fulfilment = " . $ilDB->quote($a_next_level_fulfilment, "float") . " WHERE user_id = " . $ilDB->quote($a_user_id, "integer") . " AND status_date = " . $ilDB->quote($status_date, "timestamp") . " AND skill_id = " . $ilDB->quote($skill_id, "integer") . " AND status = " . $ilDB->quote($a_status, "integer") . " AND trigger_obj_id = " . $ilDB->quote($trigger_obj_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer") . " AND trigger_user_id = " . $ilDB->quote($trigger_user_id, "text")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"DELETE FROM skl_user_skill_level WHERE " . " user_id = " . $ilDB->quote($a_user_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND skill_id = " . $ilDB->quote($skill_id, "integer") . " AND trigger_ref_id = " . $ilDB->quote($trigger_ref_id, "integer") . " AND trigger_obj_id = " . $ilDB->quote($trigger_obj_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer") . " AND unique_identifier = " . $ilDB->quote($a_unique_identifier, "text") . " AND trigger_user_id = " . $ilDB->quote($trigger_user_id, "text")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"INSERT INTO skl_user_skill_level " . "(level_id, user_id, tref_id, status_date, skill_id, status, valid, trigger_ref_id," . "trigger_obj_id, trigger_obj_type, trigger_title, self_eval, unique_identifier," . "next_level_fulfilment, trigger_user_id) VALUES (" . $ilDB->quote($a_level_id, "integer") . "," . $ilDB->quote($a_user_id, "integer") . "," . $ilDB->quote($a_tref_id, "integer") . "," . $ilDB->quote($now, "timestamp") . "," . $ilDB->quote($skill_id, "integer") . "," . $ilDB->quote($a_status, "integer") . "," . $ilDB->quote(1, "integer") . "," . $ilDB->quote($trigger_ref_id, "integer") . "," . $ilDB->quote($trigger_obj_id, "integer") . "," . $ilDB->quote($trigger_type, "text") . "," . $ilDB->quote($trigger_title, "text") . "," . $ilDB->quote($a_self_eval, "integer") . "," . $ilDB->quote($a_unique_identifier, "text") . "," . $ilDB->quote($a_next_level_fulfilment, "float") . "," . $ilDB->quote($trigger_user_id, "text") . ")"1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"DELETE FROM skl_user_has_level WHERE " . " user_id = " . $ilDB->quote($a_user_id, "integer") . " AND skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND trigger_obj_id = " . $ilDB->quote($trigger_obj_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"INSERT INTO skl_user_has_level " . "(level_id, user_id, tref_id, status_date, skill_id, trigger_ref_id, trigger_obj_id, trigger_obj_type," . "trigger_title, self_eval, next_level_fulfilment, trigger_user_id) VALUES (" . $ilDB->quote($a_level_id, "integer") . "," . $ilDB->quote($a_user_id, "integer") . "," . $ilDB->quote($a_tref_id, "integer") . "," . $ilDB->quote($now, "timestamp") . "," . $ilDB->quote($skill_id, "integer") . "," . $ilDB->quote($trigger_ref_id, "integer") . "," . $ilDB->quote($trigger_obj_id, "integer") . "," . $ilDB->quote($trigger_type, "text") . "," . $ilDB->quote($trigger_title, "text") . "," . $ilDB->quote($a_self_eval, "integer") . "," . $ilDB->quote($a_next_level_fulfilment, "float") . "," . $ilDB->quote($trigger_user_id, "text") . ")"1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"DELETE FROM skl_user_skill_level WHERE " . " user_id = " . $ilDB->quote($a_user_id, "integer") . " AND trigger_obj_id = " . $ilDB->quote($a_trigger_obj_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer") . " AND unique_identifier = " . $ilDB->quote($a_unique_identifier, "text")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"DELETE FROM skl_user_has_level WHERE " . " user_id = " . $ilDB->quote($a_user_id, "integer") . " AND trigger_obj_id = " . $ilDB->quote($a_trigger_obj_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"DELETE FROM skl_user_skill_level WHERE " . " user_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"DELETE FROM skl_user_has_level WHERE " . " user_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT level_id FROM skl_user_has_level " . " WHERE trigger_obj_type = " . $ilDB->quote($a_type, "text") . " AND skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT next_level_fulfilment FROM skl_user_has_level " . " WHERE trigger_obj_type = " . $ilDB->quote($a_type, "text") . " AND skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT * FROM skl_user_has_level " . " WHERE skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer") . " ORDER BY status_date DESC"1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT * FROM skl_user_skill_level " . " WHERE skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . $by . $trigger_obj_str . $trigger_user_str . " ORDER BY status_date DESC"1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT level_id FROM skl_user_has_level " . " WHERE trigger_obj_id = " . $ilDB->quote($a_object_id, "integer") . " AND skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer") . $tr_user1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT next_level_fulfilment FROM skl_user_has_level " . " WHERE trigger_obj_id = " . $ilDB->quote($a_object_id, "integer") . " AND skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT level_id FROM skl_user_has_level " . " WHERE skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT next_level_fulfilment FROM skl_user_has_level " . " WHERE skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT level_id FROM skl_user_has_level " . " WHERE skill_id = " . $ilDB->quote($a_skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND self_eval = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT level_id FROM skl_user_has_level " . " WHERE trigger_obj_id = " . $ilDB->quote($a_object_id, "integer") . " AND skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer") . " ORDER BY status_date DESC"1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"SELECT status_date FROM skl_user_has_level " . " WHERE trigger_obj_id = " . $ilDB->quote($a_object_id, "integer") . " AND skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND self_eval = " . $ilDB->quote($a_self_eval, "integer") . " ORDER BY status_date DESC"1
  • /components/ILIAS/Skill/Level/class.ilSkillUserLevelDBRepository.php
"DELETE FROM skl_level WHERE " . " skill_id = " . $ilDB->quote($skill_id, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillLevelDBRepository.php
"SELECT MAX(nr) mnr FROM skl_level WHERE " . " skill_id = " . $ilDB->quote($skill_id, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillLevelDBRepository.php
"SELECT * FROM skl_level WHERE " . " skill_id = " . $ilDB->quote($skill_id, "integer") . $and . " ORDER BY nr"1
  • /components/ILIAS/Skill/Level/class.ilSkillLevelDBRepository.php
"SELECT $a_prop FROM skl_level WHERE " . " id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillLevelDBRepository.php
"UPDATE skl_level SET " . " nr = " . $ilDB->quote($cnt, "integer") . " WHERE id = " . $ilDB->quote($id, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillLevelDBRepository.php
"DELETE FROM skl_level WHERE " . " id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillLevelDBRepository.php
"SELECT id, nr FROM skl_level WHERE " . " skill_id = " . $ilDB->quote($skill_id, "integer") . " ORDER BY nr ASC"1
  • /components/ILIAS/Skill/Level/class.ilSkillLevelDBRepository.php
"UPDATE skl_level SET " . " nr = " . $ilDB->quote($cnt, "integer") . " WHERE id = " . $ilDB->quote($rec["id"], "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillLevelDBRepository.php
"SELECT * FROM skl_level WHERE " . " id = " . $ilDB->quote($a_level_id, "integer")1
  • /components/ILIAS/Skill/Level/class.ilSkillLevelDBRepository.php
"SELECT * FROM skl_templ_ref " . " WHERE skl_node_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTemplateReference.php
"INSERT INTO skl_templ_ref " . "(skl_node_id, templ_id) VALUES (" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($this->getSkillTemplateId( ), "integer") . ")"1
  • /components/ILIAS/Skill/Node/class.ilSkillTemplateReference.php
"UPDATE skl_templ_ref SET " . " templ_id = " . $ilDB->quote($this->getSkillTemplateId( ), "integer") . " WHERE skl_node_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTemplateReference.php
"DELETE FROM skl_templ_ref WHERE " . " skl_node_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTemplateReference.php
"SELECT templ_id FROM skl_templ_ref WHERE skl_node_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTemplateReference.php
"SELECT * FROM skl_templ_ref " . " WHERE templ_id = " . $ilDB->quote($a_template_id, "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTemplateReference.php
"SELECT * FROM skl_tree_node WHERE obj_id = " . $ilDB->quote($this->id, "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTreeNode.php
"SELECT $a_field FROM skl_tree_node WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTreeNode.php
"SELECT * FROM skl_tree_node WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTreeNode.php
"UPDATE skl_tree_node SET " . " title = " . $ilDB->quote($a_title, "text") . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTreeNode.php
"UPDATE skl_tree_node SET " . " description = " . $ilDB->quote($a_description, "clob") . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTreeNode.php
"UPDATE skl_tree_node SET " . " order_nr = " . $ilDB->quote($a_nr, "integer") . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTreeNode.php
"INSERT INTO skl_tree_node (obj_id, title, description, type, create_date, self_eval, order_nr, status, creation_date, import_id) " . "VALUES (" . $ilDB->quote($id, "integer") . "," . $ilDB->quote($this->getTitle( ), "text") . "," . $ilDB->quote($this->getDescription( ), "clob") . "," . $ilDB->quote($this->getType( ), "text") . ", " . $ilDB->now( ) . ", " . $ilDB->quote((int) $this->getSelfEvaluation( ), "integer") . ", " . $ilDB->quote($this->getOrderNr( ), "integer") . ", " . $ilDB->quote($this->getStatus( ), "integer") . ", " . $ilDB->now( ) . ", " . $ilDB->quote($this->getImportId( ), "text") . ")"1
  • /components/ILIAS/Skill/Node/class.ilSkillTreeNode.php
"UPDATE skl_tree_node SET " . " title = " . $ilDB->quote($this->getTitle( ), "text") . " ,description = " . $ilDB->quote($this->getDescription( ), "clob") . " ,self_eval = " . $ilDB->quote((int) $this->getSelfEvaluation( ), "integer") . " ,order_nr = " . $ilDB->quote($this->getOrderNr( ), "integer") . " ,status = " . $ilDB->quote($this->getStatus( ), "integer") . " ,import_id = " . $ilDB->quote($this->getImportId( ), "text") . " WHERE obj_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTreeNode.php
"DELETE FROM skl_tree_node WHERE obj_id= " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTreeNode.php
"SELECT obj_id, title FROM skl_tree_node WHERE " . " self_eval = " . $ilDB->quote(true, "integer") . " ORDER BY TITLE "1
  • /components/ILIAS/Skill/Node/class.ilSkillTreeNode.php
"SELECT * FROM skl_tree_node " . " WHERE self_eval = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTreeNode.php
"SELECT * FROM skl_tree_node WHERE obj_id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Skill/Node/class.ilSkillTreeNodeFactory.php
"SELECT * FROM skl_templ_ref " . " WHERE skl_node_id = " . $ilDB->quote($s["child"], "integer")1
  • /components/ILIAS/Skill/Export/class.ilSkillDataSet.php
"SELECT id level_id, skill_id, nr, title, description" . " FROM skl_level WHERE " . $ilDB->in("skill_id", $a_ids, false, "integer") . " ORDER BY skill_id ASC, nr ASC"1
  • /components/ILIAS/Skill/Export/class.ilSkillDataSet.php
"SELECT id, title, description" . " FROM skl_profile WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/Skill/Export/class.ilSkillDataSet.php
"SELECT id, title, description FROM skl_profile " . " WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/Skill/Export/class.ilSkillDataSet.php
"SELECT profile_id, base_skill_id, tref_id, level_id" . " FROM skl_profile_level WHERE " . $ilDB->in("profile_id", $a_ids, false, "integer")1
  • /components/ILIAS/Skill/Export/class.ilSkillDataSet.php
"SELECT profile_id, base_skill_id, tref_id, level_id, order_nr" . " FROM skl_profile_level WHERE " . $ilDB->in("profile_id", $a_ids, false, "integer")1
  • /components/ILIAS/Skill/Export/class.ilSkillDataSet.php
"SELECT DISTINCT(templ_id) FROM skl_templ_ref " . " WHERE " . $ilDB->in("skl_node_id", $ref_nodes, false, "integer")1
  • /components/ILIAS/Skill/Export/class.ilSkillDataSet.php
"SELECT * FROM skl_skill_resource " . " WHERE base_skill_id = " . $ilDB->quote($skill_id, "integer") . " AND tref_id = " . $ilDB->quote($tref_id, "integer") . " ORDER BY level_id"1
  • /components/ILIAS/Skill/Resource/class.SkillResourceDBRepository.php
"DELETE FROM skl_skill_resource WHERE " . " base_skill_id = " . $this->db->quote($skill_id, "integer") . " AND tref_id = " . $this->db->quote($tref_id, "integer") . " AND level_id = " . $this->db->quote($level_id, "integer") . " AND rep_ref_id = " . $this->db->quote($rep_ref_id, "integer")1
  • /components/ILIAS/Skill/Resource/class.SkillResourceDBRepository.php
"DELETE FROM skl_skill_resource WHERE " . " base_skill_id = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/Skill/Resource/class.SkillResourceDBRepository.php
"DELETE FROM skl_skill_resource WHERE " . " tref_id = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/Skill/Resource/class.SkillResourceDBRepository.php
"SELECT * FROM skl_skill_resource " . " WHERE rep_ref_id = " . $this->db->quote($rep_ref_id, "integer") . " AND ltrigger = " . $this->db->quote(1, "integer")1
  • /components/ILIAS/Skill/Resource/class.SkillResourceDBRepository.php
'UPDATE il_cert_user_cert SET certificate_id = %s WHERE certificate_id IS NULL'1
  • /components/ILIAS/Certificate/classes/Setup/class.ilCertificateDatabaseUpdateSteps.php
'SELECT COUNT(*) cnt FROM il_cert_user_cert WHERE certificate_id = ' . $this->db->quote('-', ilDBConstants::T_TEXT)1
  • /components/ILIAS/Certificate/classes/Setup/class.ilCertificateDatabaseUpdateSteps.php
'SELECT value FROM settings WHERE keyword = ' . $this->db->quote('defaultImageFileName', ilDBConstants::T_TEXT) . ' AND module = ' . $this->db->quote('certificate', ilDBConstants::T_TEXT)1
  • /components/ILIAS/Certificate/classes/Setup/class.ilCertificateDatabaseUpdateSteps.php
'DELETE FROM settings WHERE keyword = ' . $this->db->quote('defaultImageFileName', ilDBConstants::T_TEXT) . ' AND module = ' . $this->db->quote('certificate', ilDBConstants::T_TEXT)1
  • /components/ILIAS/Certificate/classes/Setup/class.ilCertificateDatabaseUpdateSteps.php
'UPDATE ' . self::TABLE_NAME . ' SET currently_active = ' . $this->database->quote($currentlyActive, ilDBConstants::T_INTEGER) . ' WHERE id = ' . $this->database->quote($certificateTemplate->getId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Certificate/classes/Template/class.ilCertificateTemplateDatabaseRepository.php
' SELECT * FROM ' . self::TABLE_NAME . ' WHERE id = ' . $this->database->quote($templateId, ilDBConstants::T_INTEGER) . ' ORDER BY version ASC '1
  • /components/ILIAS/Certificate/classes/Template/class.ilCertificateTemplateDatabaseRepository.php
' SELECT * FROM ' . self::TABLE_NAME . ' ' . 'WHERE obj_id = ' . $this->database->quote($objId, ilDBConstants::T_INTEGER) . ' ' . 'AND deleted = 0 ' . 'ORDER BY version ASC'1
  • /components/ILIAS/Certificate/classes/Template/class.ilCertificateTemplateDatabaseRepository.php
' SELECT * FROM ' . self::TABLE_NAME . ' WHERE obj_id = ' . $this->database->quote($objId, ilDBConstants::T_INTEGER) . ' AND deleted = 0 ORDER BY id DESC '1
  • /components/ILIAS/Certificate/classes/Template/class.ilCertificateTemplateDatabaseRepository.php
' SELECT * FROM ' . self::TABLE_NAME . ' WHERE obj_id = ' . $this->database->quote($objId, ilDBConstants::T_INTEGER) . ' AND deleted = 0 AND currently_active = 1 '1
  • /components/ILIAS/Certificate/classes/Template/class.ilCertificateTemplateDatabaseRepository.php
' UPDATE ' . self::TABLE_NAME . ' SET deleted = 1, currently_active = 0 WHERE id = ' . $this->database->quote($templateId, ilDBConstants::T_INTEGER) . ' AND obj_id = ' . $this->database->quote($objectId, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Certificate/classes/Template/class.ilCertificateTemplateDatabaseRepository.php
'UPDATE ' . self::TABLE_NAME . ' SET currently_active = 1 WHERE id = ' . $this->database->quote($previousCertificate->getId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Certificate/classes/Template/class.ilCertificateTemplateDatabaseRepository.php
' SELECT ' . self::TABLE_NAME . '.* FROM ' . self::TABLE_NAME . ' INNER JOIN object_data od ON od.obj_id = ' . self::TABLE_NAME . ".obj_id INNER JOIN settings ON settings.module = %s AND settings.keyword = {$this->database->concat([[$this->database->quote('cert_subitems_', 'text'), 'text'], ['od.obj_id', 'text']], false)} $onSettingsForRefId $joinLpSettings WHERE " . self::TABLE_NAME . '.obj_type = %s AND ' . self::TABLE_NAME . '.currently_active = %s ' . $whereLpSettings1
  • /components/ILIAS/Certificate/classes/Template/class.ilCertificateTemplateDatabaseRepository.php
' SELECT * FROM ' . self::TABLE_NAME . ' WHERE obj_id = ' . $this->database->quote($objId, ilDBConstants::T_INTEGER) . ' ORDER BY id ASC '1
  • /components/ILIAS/Certificate/classes/Template/class.ilCertificateTemplateDatabaseRepository.php
' UPDATE ' . self::TABLE_NAME . ' SET currently_active = 0 WHERE obj_id = ' . $this->database->quote($objId, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Certificate/classes/Template/class.ilCertificateTemplateDatabaseRepository.php
'UPDATE ' . self::TABLE_NAME . ' SET background_image_ident = %s ' . 'WHERE currently_active = 1 AND (background_image_ident = %s OR background_image_ident = %s )'1
  • /components/ILIAS/Certificate/classes/Template/class.ilCertificateTemplateDatabaseRepository.php
'SELECT 1 FROM il_certificate WHERE obj_id = ' . $this->database->quote($objectId, 'integer')1
  • /components/ILIAS/Certificate/classes/Template/Action/Clone/class.ilCertificateCloneAction.php
'SELECT ' . self::TABLE_NAME . '.id, ' . self::TABLE_NAME . '.obj_type, ' . self::TABLE_NAME . '.acquired_timestamp, ' . self::TABLE_NAME . '.tile_image_ident, ' . $additional_select . ' usr_data.firstname, usr_data.lastname, ' . self::TABLE_NAME . '.obj_id, (CASE WHEN (trans.title IS NOT NULL AND LENGTH(trans.title) > 0) THEN trans.title WHEN (object_data.title IS NOT NULL AND LENGTH(object_data.title) > 0) THEN object_data.title WHEN (object_data_del.title IS NOT NULL AND LENGTH(object_data_del.title) > 0) THEN object_data_del.title ELSE ' . $this->database->quote($this->defaultTitle, 'text') . ' END ) as title, (CASE WHEN (trans.description IS NOT NULL AND LENGTH(trans.description) > 0) THEN trans.description WHEN (object_data.description IS NOT NULL AND LENGTH(object_data.description) > 0) THEN object_data.description WHEN (object_data_del.description IS NOT NULL AND LENGTH(object_data_del.description) > 0) THEN object_data_del.description ELSE "" END ) as description FROM ' . self::TABLE_NAME . ' LEFT JOIN object_data ON object_data.obj_id = ' . self::TABLE_NAME . '.obj_id LEFT JOIN object_translation trans ON trans.obj_id = object_data.obj_id AND trans.lang_code = ' . $this->database->quote($params['language'], 'text') . ' LEFT JOIN object_data_del ON object_data_del.obj_id = ' . self::TABLE_NAME . '.obj_id LEFT JOIN usr_data ON usr_data.usr_id = ' . self::TABLE_NAME . '.usr_id WHERE ' . self::TABLE_NAME . '.usr_id = ' . $this->database->quote($userId, 'integer') . ' AND currently_active = 1'1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateTableProvider.php
' SELECT COUNT(*) cnt FROM ' . self::TABLE_NAME . ' WHERE usr_id = ' . $this->database->quote($userId, 'integer') . ' AND currently_active = 1'1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateTableProvider.php
' SELECT ' . self::TABLE_NAME . '.*, il_cert_user_cert.certificate_id, COALESCE(object_data.title, object_data_del.title, ' . $this->database->quote($this->defaultTitle, 'text') . ') AS title FROM ' . self::TABLE_NAME . ' LEFT JOIN object_data ON object_data.obj_id = ' . self::TABLE_NAME . '.obj_id LEFT JOIN object_data_del ON object_data_del.obj_id = ' . self::TABLE_NAME . '.obj_id WHERE usr_id = ' . $this->database->quote($userId, 'integer') . ' AND currently_active = 1'1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
' SELECT ' . self::TABLE_NAME . '.*, il_cert_user_cert.certificate_id, COALESCE(object_data.title, object_data_del.title, ' . $this->database->quote($this->defaultTitle, 'text') . ') AS title FROM ' . self::TABLE_NAME . ' LEFT JOIN object_data ON object_data.obj_id = ' . self::TABLE_NAME . '.obj_id LEFT JOIN object_data_del ON object_data_del.obj_id = ' . self::TABLE_NAME . '.obj_id WHERE usr_id = ' . $this->database->quote($userId, 'integer') . ' AND currently_active = 1 AND acquired_timestamp >= ' . $this->database->quote($startTimestamp, 'integer') . ' AND acquired_timestamp <= ' . $this->database->quote($endTimeStamp, 'integer')1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE usr_id = ' . $this->database->quote($userId, 'integer') . ' AND obj_id = ' . $this->database->quote($objectId, 'integer') . ' AND currently_active = 1'1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
'SELECT ' . self::TABLE_NAME . '.*, il_cert_user_cert.certificate_id,usr_data.lastname, COALESCE(object_data.title, object_data_del.title, ' . $this->database->quote($this->defaultTitle, 'text') . ') AS title FROM ' . self::TABLE_NAME . ' LEFT JOIN object_data ON object_data.obj_id = ' . self::TABLE_NAME . '.obj_id LEFT JOIN object_data_del ON object_data_del.obj_id = ' . self::TABLE_NAME . '.obj_id LEFT JOIN usr_data ON usr_data.usr_id = ' . self::TABLE_NAME . '.usr_id WHERE ' . self::TABLE_NAME . '.usr_id = ' . $this->database->quote($userId, 'integer') . ' AND ' . self::TABLE_NAME . '.obj_id = ' . $this->database->quote($objectId, 'integer') . ' AND ' . self::TABLE_NAME . '.currently_active = 1'1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
'SELECT ' . self::TABLE_NAME . '.*, il_cert_user_cert.certificate_id,COALESCE(object_data.title, object_data_del.title, ' . $this->database->quote($this->defaultTitle, 'text') . ') AS title FROM ' . self::TABLE_NAME . ' LEFT JOIN object_data ON object_data.obj_id = ' . self::TABLE_NAME . '.obj_id LEFT JOIN object_data_del ON object_data_del.obj_id = ' . self::TABLE_NAME . '.obj_id WHERE usr_id = ' . $this->database->quote($userId, 'integer') . ' AND obj_type = ' . $this->database->quote($type, 'text') . ' AND currently_active = 1'1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE id = ' . $this->database->quote($id, 'integer')1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
'SELECT obj_id FROM ' . self::TABLE_NAME . ' WHERE usr_id = ' . $this->database->quote($userId, 'integer') . ' AND ' . $inStatementObjectIds . ' AND currently_active = ' . $this->database->quote(1, 'integer')1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
'SELECT usr_id FROM ' . self::TABLE_NAME . ' WHERE obj_id = ' . $this->database->quote($objectId, 'integer') . ' AND currently_active = ' . $this->database->quote(1, 'integer')1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
'DELETE FROM ' . self::TABLE_NAME . ' WHERE usr_id = ' . $this->database->quote($userId, 'integer')1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE usr_id = ' . $this->database->quote($userId, 'integer') . ' AND obj_id = ' . $this->database->quote($objId, 'integer')1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
' UPDATE ' . self::TABLE_NAME . ' SET currently_active = 0 WHERE obj_id = ' . $this->database->quote($objId, 'integer') . ' AND usr_id = ' . $this->database->quote($userId, 'integer')1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
'DELETE FROM ' . self::TABLE_NAME . ' ' . PHP_EOL . ' WHERE usr_id = ' . $this->database->quote($userId, 'integer') . PHP_EOL . ' AND obj_id = ' . $this->database->quote($obj_id, 'integer')1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
'SELECT cert.*, ' . '(CASE WHEN (trans.title IS NOT NULL AND LENGTH(trans.title) > 0) THEN trans.title WHEN (object_data.title IS NOT NULL AND LENGTH(object_data.title) > 0) THEN object_data.title WHEN (object_data_del.title IS NOT NULL AND LENGTH(object_data_del.title) > 0) THEN object_data_del.title ELSE ' . $this->database->quote($this->defaultTitle, ilDBConstants::T_TEXT) . ' END ) as object, ' . 'usr_data.login AS owner FROM il_cert_user_cert AS cert ' . 'LEFT JOIN object_data ON object_data.obj_id = cert.obj_id ' . 'INNER JOIN usr_data ON usr_data.usr_id = cert.usr_id ' . 'LEFT JOIN object_data_del ON object_data_del.obj_id = cert.obj_id ' . 'LEFT JOIN object_translation trans ON trans.obj_id = object_data.obj_id AND trans.lang_code = ' . $this->database->quote($user_language, 'text') . ($sql_filters !== [ ] ? " WHERE " . implode(" AND ", $sql_filters) : "") . ' ORDER BY ' . $order_field . ' ' . $order_direction1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
'SELECT COUNT(id) as count FROM il_cert_user_cert AS cert ' . 'LEFT JOIN object_data ON object_data.obj_id = cert.obj_id ' . 'INNER JOIN usr_data ON usr_data.usr_id = cert.usr_id' . ($sql_filters !== [ ] ? ' AND ' . implode(' AND ', $sql_filters) : '')1
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
'DELETE FROM il_cert_cron_queue WHERE id = ' . $this->database->quote($id, 'integer')1
  • /components/ILIAS/Certificate/classes/Queue/class.ilCertificateQueueRepository.php
'SELECT * FROM il_cert_cron_queue'1
  • /components/ILIAS/Certificate/classes/Queue/class.ilCertificateQueueRepository.php
'DELETE FROM il_cert_cron_queue WHERE usr_id = ' . $this->database->quote($user_id, 'integer')1
  • /components/ILIAS/Certificate/classes/Queue/class.ilCertificateQueueRepository.php
' DELETE FROM il_cert_template WHERE id = 10 AND obj_id = 200'1
  • /components/ILIAS/Certificate/tests/ilCertificateTemplateRepositoryTest.php
"SELECT * FROM il_cert_template WHERE obj_id = 10 AND deleted = 0 ORDER BY version ASC"1
  • /components/ILIAS/Certificate/tests/ilCertificateTemplateRepositoryTest.php
'UPDATE il_cert_template SET currently_active = 1 WHERE id = 30'1
  • /components/ILIAS/Certificate/tests/ilCertificateTemplateRepositoryTest.php
'DELETE FROM il_cert_cron_queue WHERE id = 30'1
  • /components/ILIAS/Certificate/tests/ilCertificateQueueRepositoryTest.php
" SELECT test_fi, skill_base_fi, skill_tref_fi, skill_level_fi, threshold FROM tst_skl_thresholds WHERE test_fi = %s "1
  • /components/ILIAS/Test/classes/class.ilTestSkillLevelThresholdList.php
"SELECT * FROM tst_rnd_quest_set_cfg WHERE test_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilTestRandomQuestionSetConfig.php
"DELETE FROM tst_rnd_quest_set_cfg WHERE test_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilTestRandomQuestionSetConfig.php
"SELECT COUNT(*) cnt FROM tst_rnd_quest_set_cfg WHERE test_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilTestRandomQuestionSetConfig.php
"SELECT tst_test_rnd_qst.* FROM tst_test_rnd_qst, qpl_questions WHERE tst_test_rnd_qst.active_fi = %s AND qpl_questions.question_id = tst_test_rnd_qst.question_fi AND tst_test_rnd_qst.pass = %s ORDER BY sequence"1
  • /components/ILIAS/Test/classes/class.ilTestSequenceRandomQuestionSet.php
"SELECT tst_test_rnd_qst.* FROM tst_test_rnd_qst, qpl_questions WHERE tst_test_rnd_qst.active_fi = %s AND qpl_questions.question_id = tst_test_rnd_qst.question_fi AND tst_test_rnd_qst.pass = 0 ORDER BY sequence"1
  • /components/ILIAS/Test/classes/class.ilTestSequenceRandomQuestionSet.php
"SELECT test_random_question_id FROM tst_test_rnd_qst WHERE active_fi = %s AND pass = %s"1
  • /components/ILIAS/Test/classes/class.ilTestSequenceRandomQuestionSet.php
'SELECT usr_id FROM usr_data WHERE ' . $this->user_criteria_field . ' = %s'1
  • /components/ILIAS/Test/classes/class.ilTestResultsImportParser.php
"INSERT INTO tst_pass_result (active_fi, pass, points, maxpoints, questioncount, answeredquestions, workingtime, tstamp) VALUES (%s,%s,%s,%s,%s,%s,%s,%s)"1
  • /components/ILIAS/Test/classes/class.ilTestResultsImportParser.php
"INSERT INTO tst_result_cache (active_fi, pass, max_points, reached_points, mark_short, mark_official, passed, failed, tstamp) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s)"1
  • /components/ILIAS/Test/classes/class.ilTestResultsImportParser.php
'SELECT * FROM tst_active WHERE test_fi = %s'1
  • /components/ILIAS/Test/classes/class.ilTestResultsToXML.php
'SELECT tst_active.*, usr_data.' . $user_criteria . ' FROM tst_active, usr_data WHERE tst_active.test_fi = %s AND tst_active.user_fi = usr_data.usr_id'1
  • /components/ILIAS/Test/classes/class.ilTestResultsToXML.php
'SELECT * FROM tst_pass_result WHERE ' . $this->db->in('active_fi', $this->active_ids, false, 'integer') . ' ORDER BY active_fi, pass'1
  • /components/ILIAS/Test/classes/class.ilTestResultsToXML.php
'SELECT * FROM tst_result_cache WHERE ' . $this->db->in('active_fi', $this->active_ids, false, 'integer') . ' ORDER BY active_fi'1
  • /components/ILIAS/Test/classes/class.ilTestResultsToXML.php
'SELECT * FROM tst_sequence WHERE ' . $this->db->in('active_fi', $this->active_ids, false, 'integer') . ' ORDER BY active_fi, pass'1
  • /components/ILIAS/Test/classes/class.ilTestResultsToXML.php
'SELECT * FROM tst_solutions WHERE ' . $this->db->in('active_fi', $this->active_ids, false, 'integer') . ' ORDER BY solution_id'1
  • /components/ILIAS/Test/classes/class.ilTestResultsToXML.php
" SELECT * FROM tst_test_rnd_qst WHERE {$this->db->in('active_fi', $this->active_ids, false, 'integer')} ORDER BY test_random_question_id "1
  • /components/ILIAS/Test/classes/class.ilTestResultsToXML.php
'SELECT * FROM tst_test_result WHERE ' . $this->db->in('active_fi', $this->active_ids, false, 'integer') . ' ORDER BY active_fi'1
  • /components/ILIAS/Test/classes/class.ilTestResultsToXML.php
'SELECT * FROM tst_times WHERE ' . $this->db->in('active_fi', $this->active_ids, false, 'integer') . ' ORDER BY active_fi'1
  • /components/ILIAS/Test/classes/class.ilTestResultsToXML.php
"DELETE FROM tst_mark WHERE test_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_tests WHERE test_id = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'UPDATE tst_tests SET complete = %s WHERE test_id = %s'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT active_id FROM tst_active WHERE test_fi = %s AND tries >= %s AND submitted = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT active_id FROM tst_active WHERE test_fi = %s AND tries < %s AND submitted = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT active_id FROM tst_active WHERE test_fi = %s AND submitted = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT test_result_id FROM tst_test_result WHERE active_fi = %s AND pass = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT tst_test_rnd_qst.* ' . 'FROM tst_test_rnd_qst, qpl_questions ' . 'WHERE tst_test_rnd_qst.active_fi = %s ' . 'AND qpl_questions.question_id = tst_test_rnd_qst.question_fi ' . 'AND tst_test_rnd_qst.pass = %s ' . 'ORDER BY sequence'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT tst_test_question.* ' . 'FROM tst_test_question, qpl_questions ' . 'WHERE tst_test_question.test_fi = %s ' . 'AND qpl_questions.question_id = tst_test_question.question_fi ' . 'ORDER BY sequence'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_tests.count_system FROM tst_tests, tst_active WHERE tst_active.active_id = %s AND tst_active.test_fi = tst_tests.test_id"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_tests.pass_scoring FROM tst_tests, tst_active WHERE tst_tests.test_id = tst_active.test_fi AND tst_active.active_id = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_tests.score_cutting FROM tst_tests, tst_active WHERE tst_active.active_id = %s AND tst_tests.test_id = tst_active.test_fi"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM usr_pref WHERE {$in_user_ids} AND keyword = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_solutions WHERE {$in_active_ids}"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_qst_solved WHERE {$in_active_ids}"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_test_result WHERE {$in_active_ids}"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_pass_result WHERE {$in_active_ids}"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_result_cache WHERE {$in_active_ids}"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_sequence WHERE {$in_active_ids}"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_times WHERE {$in_active_ids}"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'DELETE FROM ' . PassPresentedVariablesRepo::TABLE_NAME . ' WHERE ' . $this->db->in('active_id', $active_ids, false, 'integer')1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_test_rnd_qst WHERE {$in_active_ids}"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_active WHERE $IN_activeIds"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT MAX(sequence) seq FROM tst_test_question WHERE test_fi=%s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"INSERT INTO tst_test_question (test_question_id, test_fi, question_fi, sequence, tstamp) VALUES (%s, %s, %s, %s, %s)"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_active WHERE test_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT qpl_questions.title FROM tst_test_question, qpl_questions ' . 'WHERE tst_test_question.test_fi = %s AND tst_test_question.question_fi = qpl_questions.question_id ' . 'ORDER BY tst_test_question.sequence'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT qpl_questions.title, qpl_questions.question_id ' . 'FROM tst_test_question, qpl_questions ' . 'WHERE tst_test_question.test_fi = %s AND tst_test_question.question_fi = qpl_questions.question_id ' . 'ORDER BY tst_test_question.sequence'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT qpl_questions.*, qpl_qst_type.type_tag FROM qpl_questions, qpl_qst_type WHERE qpl_questions.question_id = %s AND qpl_questions.question_type_fi = qpl_qst_type.question_type_id"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT qpl_questions.original_id FROM qpl_questions, tst_test_rnd_qst WHERE tst_test_rnd_qst.active_fi = %s AND tst_test_rnd_qst.question_fi = qpl_questions.question_id AND tst_test_rnd_qst.pass = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT qpl_questions.original_id FROM qpl_questions, tst_test_question WHERE tst_test_question.test_fi = %s AND tst_test_question.question_fi = qpl_questions.question_id"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT type_tag FROM qpl_questions, qpl_qst_type WHERE qpl_questions.question_id = %s AND qpl_questions.question_type_fi = qpl_qst_type.question_type_id"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"UPDATE tst_times SET finished = %s, tstamp = %s WHERE times_id = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT qpl_questions.* FROM qpl_questions, tst_test_rnd_qst WHERE tst_test_rnd_qst.question_fi = qpl_questions.question_id AND tst_test_rnd_qst.active_fi = %s AND tst_test_rnd_qst.pass = %s AND " . $this->db->in('qpl_questions.question_id', $this->questions, false, 'integer')1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT qpl_questions.* FROM qpl_questions, tst_test_question WHERE tst_test_question.question_fi = qpl_questions.question_id AND " . $this->db->in('qpl_questions.question_id', $this->questions, false, 'integer')1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT active_id FROM tst_active WHERE user_fi = %s AND test_fi = %s'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_active.active_id FROM tst_active WHERE user_fi = %s AND test_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT COUNT(active_id) total FROM tst_active WHERE test_fi = %s'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_times.* FROM tst_active, tst_times WHERE tst_active.test_fi = %s AND tst_active.active_id = tst_times.active_fi AND tst_active.user_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_times.* FROM tst_active, tst_times WHERE tst_active.test_fi = %s AND tst_active.active_id = tst_times.active_fi ORDER BY tst_times.active_fi, tst_times.started"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_times.* FROM tst_active, tst_times WHERE tst_active.test_fi = %s AND tst_active.active_id = tst_times.active_fi AND tst_active.active_id = %s ORDER BY tst_times.active_fi, tst_times.started"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT * FROM tst_times WHERE active_fi = %s AND pass = %s ORDER BY started"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_times.* FROM tst_active, tst_times WHERE tst_active.active_id = %s AND tst_active.active_id = tst_times.active_fi"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_active.active_id, usr_data.usr_id, usr_data.firstname, usr_data.lastname, usr_data.title, usr_data.login FROM tst_active LEFT JOIN usr_data ON tst_active.user_fi = usr_data.usr_id WHERE tst_active.test_fi = %s ORDER BY usr_data.lastname ASC"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_active.user_fi, tst_active.active_id, usr_data.firstname, usr_data.lastname, usr_data.title FROM tst_active LEFT JOIN usr_data ON tst_active.user_fi = usr_data.usr_id WHERE tst_active.test_fi = %s ORDER BY usr_data.lastname " . strtoupper($name_sort_order)1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT tst_active.user_fi, tst_active.active_id, usr_data.login, ' . 'usr_data.firstname, usr_data.lastname, usr_data.title FROM tst_active ' . 'LEFT JOIN usr_data ON tst_active.user_fi = usr_data.usr_id ' . 'WHERE tst_active.test_fi = %s ' . 'ORDER BY usr_data.lastname ' . strtoupper($name_sort_order)1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT tst_test_rnd_qst.sequence, tst_test_rnd_qst.question_fi, ' . 'tst_test_rnd_qst.pass, qpl_questions.points ' . 'FROM tst_test_rnd_qst, qpl_questions ' . 'WHERE tst_test_rnd_qst.question_fi = qpl_questions.question_id ' . 'AND tst_test_rnd_qst.active_fi = %s ORDER BY tst_test_rnd_qst.sequence'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT tst_test_rnd_qst.sequence, tst_test_rnd_qst.question_fi, ' . 'qpl_questions.points ' . 'FROM tst_test_rnd_qst, qpl_questions ' . 'WHERE tst_test_rnd_qst.question_fi = qpl_questions.question_id ' . 'AND tst_test_rnd_qst.active_fi = %s AND tst_test_rnd_qst.pass = %s ' . 'ORDER BY tst_test_rnd_qst.sequence'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_times.* FROM tst_active, tst_times WHERE tst_active.test_fi = %s AND tst_active.active_id = tst_times.active_fi"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_tests.obj_fi FROM tst_tests, tst_active WHERE tst_tests.test_id = tst_active.test_fi AND tst_active.active_id = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT value1 FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT question_text FROM qpl_questions WHERE question_id = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_active.active_id, tst_active.tries, usr_id, %s login, %s lastname, %s firstname, " . "tst_active.submitted test_finished, matriculation, COALESCE(tst_active.last_finished_pass, -1) <> tst_active.last_started_pass unfinished_passes FROM usr_data, tst_invited_user " . "LEFT JOIN tst_active ON tst_active.user_fi = tst_invited_user.user_fi AND tst_active.test_fi = tst_invited_user.test_fi " . "WHERE tst_invited_user.test_fi = %s and tst_invited_user.user_fi=usr_data.usr_id AND usr_data.usr_id=%s " . "ORDER BY $order"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_active.active_id, tst_active.tries, usr_id, %s login, %s lastname, %s firstname, " . "tst_active.submitted test_finished, matriculation, COALESCE(tst_active.last_finished_pass, -1) <> tst_active.last_started_pass unfinished_passes FROM usr_data, tst_invited_user " . "LEFT JOIN tst_active ON tst_active.user_fi = tst_invited_user.user_fi AND tst_active.test_fi = tst_invited_user.test_fi " . "WHERE tst_invited_user.test_fi = %s and tst_invited_user.user_fi=usr_data.usr_id " . "ORDER BY $order"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_active.active_id, tst_active.tries, usr_id, login, lastname, firstname, " . "tst_active.submitted test_finished, matriculation, COALESCE(tst_active.last_finished_pass, -1) <> tst_active.last_started_pass unfinished_passes FROM usr_data, tst_invited_user " . "LEFT JOIN tst_active ON tst_active.user_fi = tst_invited_user.user_fi AND tst_active.test_fi = tst_invited_user.test_fi " . "WHERE tst_invited_user.test_fi = %s and tst_invited_user.user_fi=usr_data.usr_id AND usr_data.usr_id=%s " . "ORDER BY $order"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_active.active_id, tst_active.tries, usr_id, login, lastname, firstname, " . "tst_active.submitted test_finished, matriculation, COALESCE(tst_active.last_finished_pass, -1) <> tst_active.last_started_pass unfinished_passes FROM usr_data, tst_invited_user " . "LEFT JOIN tst_active ON tst_active.user_fi = tst_invited_user.user_fi AND tst_active.test_fi = tst_invited_user.test_fi " . "WHERE tst_invited_user.test_fi = %s and tst_invited_user.user_fi=usr_data.usr_id " . "ORDER BY $order"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT usr_id, %s login, %s lastname, %s firstname, client_ip clientip FROM usr_data WHERE " . $this->db->in('usr_id', $ids, false, 'integer') . " ORDER BY login"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT usr_id, login, lastname, firstname, client_ip clientip FROM usr_data WHERE " . $this->db->in('usr_id', $ids, false, 'integer') . " ORDER BY login"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_invited_user WHERE test_fi = %s AND user_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"INSERT INTO tst_invited_user (test_fi, user_fi, ip_range_from, ip_range_to, tstamp) VALUES (%s, %s, %s, %s, %s)"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT question_fi, solved FROM tst_qst_solved WHERE active_fi = %s AND question_fi=%s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT question_fi, solved FROM tst_qst_solved WHERE active_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_qst_solved WHERE active_fi = %s AND question_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"INSERT INTO tst_qst_solved (solved, question_fi, active_fi) VALUES (%s, %s, %s)"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT submitted FROM tst_active WHERE active_id=%s AND submitted=%s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT submitted FROM tst_active WHERE test_fi=%s AND user_fi=%s AND submitted=%s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tries FROM tst_active WHERE active_id = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT MAX(pass) maxpass FROM tst_pass_result WHERE active_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT * FROM tst_pass_result WHERE active_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_times.started FROM tst_times WHERE tst_times.active_fi = %s AND tst_times.pass = %s ORDER BY tst_times.started"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT COUNT(question_id) cnt FROM qpl_questions WHERE question_id = %s AND obj_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT finished FROM tst_times WHERE active_fi = %s ORDER BY finished DESC"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
" SELECT MAX(tst_times.tstamp) as last_pass_access FROM tst_times WHERE active_fi = %s AND pass = %s "1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT anonymity FROM tst_tests WHERE obj_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT * FROM tst_test_defaults WHERE user_fi = %s ORDER BY name ASC"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT * FROM tst_test_defaults WHERE test_defaults_id = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"DELETE FROM tst_test_defaults WHERE test_defaults_id = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT * FROM tst_manual_fb WHERE active_fi = %s AND question_fi = %s AND pass = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT * FROM tst_manual_fb WHERE question_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'DELETE FROM tst_manual_fb WHERE active_fi = %s AND question_fi = %s AND pass = %s'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT t.obj_fi obj_id FROM tst_test_question q, tst_tests t WHERE q.test_fi = t.test_id AND q.question_fi = %s'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT passed FROM tst_result_cache WHERE active_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
" SELECT tst_test_result.active_fi, tst_test_result.question_fi, tst_test_result.pass FROM tst_test_result INNER JOIN tst_active ON tst_active.active_id = tst_test_result.active_fi AND tst_active.test_fi = %s INNER JOIN qpl_questions ON qpl_questions.question_id = tst_test_result.question_fi LEFT JOIN usr_data ON usr_data.usr_id = tst_active.user_fi WHERE tst_test_result.question_fi = %s ORDER BY usr_data.lastname ASC, usr_data.firstname ASC "1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT test_fi,MAX(pass) AS pass FROM tst_active" . " JOIN tst_pass_result ON (tst_pass_result.active_fi = tst_active.active_id)" . " WHERE user_fi=%s" . " GROUP BY test_fi"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_times.active_fi, tst_times.started FROM tst_times, tst_active WHERE tst_times.active_fi = tst_active.active_id AND tst_active.test_fi = %s ORDER BY tst_times.tstamp DESC"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_addtime.active_fi, tst_addtime.additionaltime FROM tst_addtime, tst_active WHERE tst_addtime.active_fi = tst_active.active_id AND tst_active.test_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
' SELECT MAX(tst_pass_result.pass) + 1 max_res FROM tst_pass_result INNER JOIN tst_active ON tst_active.active_id = tst_pass_result.active_fi WHERE test_fi = ' . $this->db->quote($this->getTestId( ), 'integer') . ' '1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT exam_id FROM tst_pass_result WHERE active_fi = %s AND pass = %s'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
" SELECT obj_fi FROM tst_active INNER JOIN tst_tests ON test_id = test_fi WHERE user_fi = %s "1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
" SELECT COUNT(test_question_id) cnt FROM tst_test_question WHERE test_fi = %s ORDER BY sequence "1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'DELETE FROM tst_result_cache WHERE active_fi = %s'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT question_set_type FROM tst_tests WHERE obj_fi = %s'1
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'SELECT variable, value FROM ' . self::TABLE_NAME . ' WHERE ' . 'question_id = %s AND ' . 'active_id = %s AND ' . 'pass = %s'1
  • /components/ILIAS/Test/classes/PassPresentedVariablesRepo.php
'INSERT INTO ' . self::TABLE_NAME . ' (question_id, active_id, pass, variable, value) ' . ' VALUES (%s,%s,%s,%s,%s)'1
  • /components/ILIAS/Test/classes/PassPresentedVariablesRepo.php
" SELECT test_fi, skill_base_fi, skill_tref_fi, skill_level_fi, threshold FROM tst_skl_thresholds WHERE test_fi = %s AND skill_base_fi = %s AND skill_tref_fi = %s AND skill_level_fi = %s "1
  • /components/ILIAS/Test/classes/class.ilTestSkillLevelThreshold.php
" DELETE FROM tst_skl_thresholds WHERE test_fi = %s AND skill_base_fi = %s AND skill_tref_fi = %s AND skill_level_fi = %s "1
  • /components/ILIAS/Test/classes/class.ilTestSkillLevelThreshold.php
" SELECT COUNT(*) cnt FROM tst_skl_thresholds WHERE test_fi = %s AND skill_base_fi = %s AND skill_tref_fi = %s AND skill_level_fi = %s "1
  • /components/ILIAS/Test/classes/class.ilTestSkillLevelThreshold.php
"SELECT done FROM " . self::TABLE_NAME . " WHERE active_id = %s AND done = 1"1
  • /components/ILIAS/Test/classes/TestManScoringDoneHelper.php
"SELECT active_id FROM " . self::TABLE_NAME . " WHERE active_id = %s"1
  • /components/ILIAS/Test/classes/TestManScoringDoneHelper.php
"UPDATE " . self::TABLE_NAME . " SET done = %s WHERE active_id = %s"1
  • /components/ILIAS/Test/classes/TestManScoringDoneHelper.php
"INSERT INTO " . self::TABLE_NAME . " (active_id, done) VALUES (%s, %s)"1
  • /components/ILIAS/Test/classes/TestManScoringDoneHelper.php
'SELECT test_id, obj_fi, ending_time, ending_time_enabled, processing_time, enable_processing_time FROM tst_tests WHERE ' . $this->db->in('test_id', $this->test_ids, false, 'integer')1
  • /components/ILIAS/Test/classes/class.ilCronFinishUnfinishedTestPasses.php
"SELECT tt.obj_fi" . " FROM tst_active ta" . " JOIN tst_tests tt ON (ta.test_fi = tt.test_id)" . " WHERE " . $ilDB->in("tt.obj_fi", (array) $a_obj_ids, false, "integer") . " AND ta.user_fi = " . $ilDB->quote($a_usr_id, "integer")1
  • /components/ILIAS/Test/classes/class.ilTestLP.php
'SELECT question_fi FROM tst_test_question WHERE test_fi = %s'1
  • /components/ILIAS/Test/classes/class.ilTestFixedQuestionSetConfig.php
" SELECT question_fi, sequence FROM tst_test_question WHERE test_fi = %s ORDER BY sequence ASC "1
  • /components/ILIAS/Test/classes/class.ilTestFixedQuestionSetConfig.php
" SELECT tst_rnd_quest_set_qpls.*, odat.obj_id pool_id, odat.title actual_pool_title, tree.child FROM tst_rnd_quest_set_qpls LEFT JOIN object_data odat ON odat.obj_id = pool_fi LEFT JOIN object_reference oref ON oref.obj_id = pool_fi LEFT JOIN tree ON tree = %s AND child = oref.ref_id WHERE test_fi = %s ORDER BY sequence_pos ASC "1
  • /components/ILIAS/Test/classes/class.ilTestRandomQuestionSetSourcePoolDefinitionList.php
"DELETE FROM tst_rnd_quest_set_qpls WHERE test_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilTestRandomQuestionSetSourcePoolDefinitionList.php
"SELECT COUNT(*) cnt FROM tst_rnd_quest_set_qpls WHERE test_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilTestRandomQuestionSetSourcePoolDefinitionList.php
'SELECT * FROM tst_rnd_cpy WHERE tst_fi = %s'1
  • /components/ILIAS/Test/classes/class.ilTestRandomQuestionSetStagingPoolBuilder.php
"DELETE FROM tst_rnd_cpy WHERE tst_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilTestRandomQuestionSetStagingPoolBuilder.php
" SELECT * FROM tst_result_cache tres INNER JOIN tst_pass_result pres ON pres.active_fi = tres.active_fi AND pres.pass = tres.pass WHERE $IN_activeIds "1
  • /components/ILIAS/Test/classes/class.ilTestParticipantList.php
"UPDATE tst_rnd_cpy SET qpl_fi = %s WHERE tst_fi = %s AND qpl_fi = %s"1
  • /components/ILIAS/Test/classes/class.ilTestRandomQuestionSetStagingPoolQuestionList.php
' SELECT DISTINCT tst_pass_result.* FROM tst_pass_result LEFT JOIN tst_test_result ON tst_pass_result.pass = tst_test_result.pass AND tst_pass_result.active_fi = tst_test_result.active_fi WHERE tst_pass_result.active_fi = %s ORDER BY tst_pass_result.pass '1
  • /components/ILIAS/Test/classes/class.ilTestPassesSelector.php
'SELECT last_finished_pass FROM tst_active WHERE active_id = %s'1
  • /components/ILIAS/Test/classes/class.ilTestPassesSelector.php
"SELECT * FROM tst_rnd_quest_set_qpls WHERE def_id = %s"1
  • /components/ILIAS/Test/classes/class.ilTestRandomQuestionSetSourcePoolDefinition.php
"DELETE FROM tst_rnd_quest_set_qpls WHERE def_id = %s"1
  • /components/ILIAS/Test/classes/class.ilTestRandomQuestionSetSourcePoolDefinition.php
"SELECT tst_test_question.* FROM tst_test_question, qpl_questions, tst_active WHERE tst_active.active_id = %s AND tst_test_question.test_fi = tst_active.test_fi AND qpl_questions.question_id = tst_test_question.question_fi ORDER BY tst_test_question.sequence"1
  • /components/ILIAS/Test/classes/class.ilTestSequence.php
"SELECT * FROM tst_sequence WHERE active_fi = %s AND pass = %s"1
  • /components/ILIAS/Test/classes/class.ilTestSequence.php
"SELECT question_fi FROM tst_seq_qst_presented WHERE active_fi = %s AND pass = %s"1
  • /components/ILIAS/Test/classes/class.ilTestSequence.php
"SELECT question_fi FROM tst_seq_qst_checked WHERE active_fi = %s AND pass = %s"1
  • /components/ILIAS/Test/classes/class.ilTestSequence.php
"SELECT question_fi FROM tst_seq_qst_optional WHERE active_fi = %s AND pass = %s"1
  • /components/ILIAS/Test/classes/class.ilTestSequence.php
"DELETE FROM tst_sequence WHERE active_fi = %s AND pass = %s"1
  • /components/ILIAS/Test/classes/class.ilTestSequence.php
"DELETE FROM tst_seq_qst_optional WHERE active_fi = %s AND pass = %s AND $NOT_IN_questions"1
  • /components/ILIAS/Test/classes/class.ilTestSequence.php
"SELECT tst_pass_result.*, tst_tests.pass_scoring, tst_tests.test_id FROM tst_pass_result, tst_active, tst_tests WHERE tst_active.test_fi = tst_tests.test_id AND tst_active.user_fi = %s AND tst_tests.obj_fi = %s AND tst_pass_result.active_fi = tst_active.active_id ORDER BY tst_pass_result.pass"1
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php
"SELECT tst_pass_result.*, tst_tests.pass_scoring FROM tst_pass_result, tst_active, tst_tests WHERE tst_active.test_fi = tst_tests.test_id AND tst_active.user_fi = %s AND tst_tests.obj_fi = %s AND tst_pass_result.active_fi = tst_active.active_id ORDER BY tst_pass_result.pass"1
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php
"SELECT tst_result_cache.* FROM tst_result_cache, tst_active, tst_tests " . "WHERE tst_active.test_fi = tst_tests.test_id AND tst_active.user_fi = %s " . "AND tst_tests.obj_fi = %s AND tst_result_cache.active_fi = tst_active.active_id"1
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php
"SELECT complete FROM tst_tests WHERE obj_fi=%s"1
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php
" SELECT DISTINCT t.obj_fi FROM tst_tests t INNER JOIN tst_rnd_quest_set_qpls r ON t.test_id = r.test_fi WHERE r.pool_fi = %s "1
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php
'SELECT * FROM tst_active WHERE active_id = %s'1
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php
'SELECT user_fi FROM tst_active WHERE active_id = %s'1
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php
" SELECT tst_active.active_id, COUNT(tst_sequence.active_fi) sequences, tst_active.last_finished_pass, CASE WHEN (tst_tests.nr_of_tries - 1) = tst_active.last_finished_pass THEN '1' ELSE '0' END is_last_pass FROM tst_tests INNER JOIN tst_active ON tst_active.test_fi = tst_tests.test_id LEFT JOIN tst_sequence ON tst_sequence.active_fi = tst_active.active_id WHERE tst_tests.obj_fi = %s GROUP BY tst_active.active_id "1
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php
" SELECT tst_active.tries, tst_active.last_finished_pass, tst_sequence.pass FROM tst_active LEFT JOIN tst_sequence ON tst_sequence.active_fi = tst_active.active_id AND tst_sequence.pass = tst_active.tries WHERE tst_active.active_id = {$ilDB->quote($active_fi, 'integer')} "1
  • /components/ILIAS/Test/classes/class.ilTestEvaluationGUI.php
'UPDATE tst_active SET tries = ' . $ilDB->quote($tries - 1, 'integer') . ', last_finished_pass = ' . $ilDB->quote($lastFinishedPass - 1, 'integer') . ' WHERE active_id = ' . $ilDB->quote($active_fi, 'integer')1
  • /components/ILIAS/Test/classes/class.ilTestEvaluationGUI.php
'UPDATE tst_manual_fb SET pass = pass - 1 WHERE active_fi = ' . $ilDB->quote($active_fi, 'integer') . ' AND pass > ' . $ilDB->quote($pass, 'integer')1
  • /components/ILIAS/Test/classes/class.ilTestEvaluationGUI.php
'UPDATE tst_pass_result SET pass = pass - 1 WHERE active_fi = ' . $ilDB->quote($active_fi, 'integer') . ' AND pass > ' . $ilDB->quote($pass, 'integer')1
  • /components/ILIAS/Test/classes/class.ilTestEvaluationGUI.php
'UPDATE tst_sequence SET pass = pass - 1 WHERE active_fi = ' . $ilDB->quote($active_fi, 'integer') . ' AND pass > ' . $ilDB->quote($pass, 'integer')1
  • /components/ILIAS/Test/classes/class.ilTestEvaluationGUI.php
'UPDATE tst_solutions SET pass = pass - 1 WHERE active_fi = ' . $ilDB->quote($active_fi, 'integer') . ' AND pass > ' . $ilDB->quote($pass, 'integer')1
  • /components/ILIAS/Test/classes/class.ilTestEvaluationGUI.php
'UPDATE tst_test_result SET pass = pass - 1 WHERE active_fi = ' . $ilDB->quote($active_fi, 'integer') . ' AND pass > ' . $ilDB->quote($pass, 'integer')1
  • /components/ILIAS/Test/classes/class.ilTestEvaluationGUI.php
'UPDATE tst_times SET pass = pass - 1 WHERE active_fi = ' . $ilDB->quote($active_fi, 'integer') . ' AND pass > ' . $ilDB->quote($pass, 'integer')1
  • /components/ILIAS/Test/classes/class.ilTestEvaluationGUI.php
"SELECT start_lock FROM tst_active WHERE active_id = %s"1
  • /components/ILIAS/Test/classes/class.ilTestSession.php
"SELECT anonymous_id FROM tst_active WHERE test_fi = %s AND anonymous_id = %s"1
  • /components/ILIAS/Test/classes/class.ilTestSession.php
'SELECT max(page_id) as last_id FROM page_object WHERE parent_type="' . $this->getParentType( ) . '"'1
  • /components/ILIAS/Test/classes/PageEditor/class.ilTestPage.php
' SELECT tst_test_result.question_fi, tst_test_result.points result_points, tst_test_result.answered, tst_test_result.manual, qpl_questions.original_id, qpl_questions.title questiontitle, qpl_questions.points qpl_maxpoints, tst_active.active_id, tst_active.submitted, tst_active.last_finished_pass, tst_pass_result.*, usr_data.usr_id, usr_data.firstname, usr_data.lastname, usr_data.title, usr_data.login FROM tst_active LEFT JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi LEFT JOIN tst_test_result ON tst_active.active_id = tst_test_result.active_fi AND tst_test_result.pass = tst_pass_result.pass LEFT JOIN qpl_questions ON qpl_questions.question_id = tst_test_result.question_fi LEFT JOIN usr_data ON tst_active.user_fi = usr_data.usr_id WHERE tst_active.test_fi = %s AND %s ORDER BY tst_active.active_id ASC, tst_pass_result.pass ASC, tst_test_result.tstamp DESC '1
  • /components/ILIAS/Test/classes/Evaluation/class.ilTestEvaluationFactory.php
' SELECT tst_test_rnd_qst.sequence, tst_test_rnd_qst.question_fi, qpl_questions.original_id, tst_test_rnd_qst.pass, qpl_questions.points, qpl_questions.title FROM tst_test_rnd_qst, qpl_questions WHERE tst_test_rnd_qst.question_fi = qpl_questions.question_id AND tst_test_rnd_qst.pass = %s AND tst_test_rnd_qst.active_fi = %s ORDER BY tst_test_rnd_qst.sequence '1
  • /components/ILIAS/Test/classes/Evaluation/class.ilTestEvaluationFactory.php
' SELECT tst_test_question.sequence, tst_test_question.question_fi, qpl_questions.points, qpl_questions.title, qpl_questions.original_id FROM tst_test_question, tst_active, qpl_questions WHERE tst_test_question.question_fi = qpl_questions.question_id AND tst_active.active_id = %s AND tst_active.test_fi = tst_test_question.test_fi ORDER BY tst_test_question.sequence '1
  • /components/ILIAS/Test/classes/Evaluation/class.ilTestEvaluationFactory.php
'SELECT * FROM tst_sequence WHERE active_fi = %s'1
  • /components/ILIAS/Test/classes/Evaluation/class.ilTestEvaluationFactory.php
' SELECT active_fi, pass FROM tst_active actives INNER JOIN tst_pass_result passes ON active_fi = active_id WHERE test_fi = %s '1
  • /components/ILIAS/Test/classes/Evaluation/class.ilTestEvaluationFactory.php
'SELECT MIN(started) AS first_access ' . 'FROM tst_times WHERE active_fi = %s AND pass = %s'1
  • /components/ILIAS/Test/classes/Evaluation/class.ilTestEvaluationFactory.php
"DELETE FROM tst_skl_thresholds " . " WHERE skill_base_fi = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/Test/classes/Skills/class.TestSkillDBRepository.php
"DELETE FROM tst_skl_thresholds " . " WHERE skill_tref_fi = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/Test/classes/Skills/class.TestSkillDBRepository.php
'SELECT ' . PHP_EOL . 'test_id,' . PHP_EOL . 'count_system, score_cutting, pass_scoring,' . PHP_EOL . 'score_reporting, reporting_date,' . PHP_EOL . 'show_grading_status, show_grading_mark, pass_deletion_allowed,' . PHP_EOL . 'print_bs_with_res,' . PHP_EOL . 'examid_in_test_res,' . PHP_EOL . 'results_presentation,' . PHP_EOL . 'exportsettings,' . PHP_EOL . 'highscore_enabled, highscore_anon, highscore_achieved_ts, highscore_score, highscore_percentage, highscore_wtime, highscore_own_table, highscore_top_table, highscore_top_num' . PHP_EOL . 'FROM ' . self::TABLE_NAME . PHP_EOL . $where_part1
  • /components/ILIAS/Test/src/Settings/ScoreReporting/ScoreSettingsDatabaseRepository.php
'SELECT ' . PHP_EOL . 'test_id, obj_fi, score_reporting, reporting_date,' . PHP_EOL . 'show_grading_status, show_grading_mark, pass_deletion_allowed' . PHP_EOL . 'FROM ' . self::TABLE_NAME . PHP_EOL . 'WHERE ' . $this->db->in('obj_fi', $obj_ids, false, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Test/src/Settings/ScoreReporting/ScoreSettingsDatabaseRepository.php
'SELECT ' . PHP_EOL . 'test_id,' . PHP_EOL . 'obj_fi,' . PHP_EOL . 'question_set_type,' . PHP_EOL . 'anonymity,' . PHP_EOL . 'intro_enabled,' . PHP_EOL . 'hide_info_tab,' . PHP_EOL . 'conditions_checkbox_enabled,' . PHP_EOL . 'introduction,' . PHP_EOL . 'introduction_page_id,' . PHP_EOL . 'starting_time_enabled,' . PHP_EOL . 'starting_time,' . PHP_EOL . 'ending_time_enabled,' . PHP_EOL . 'ending_time,' . PHP_EOL . 'password_enabled,' . PHP_EOL . 'password,' . PHP_EOL . 'ip_range_from,' . PHP_EOL . 'ip_range_to,' . PHP_EOL . 'fixed_participants,' . PHP_EOL . 'nr_of_tries,' . PHP_EOL . 'block_after_passed,' . PHP_EOL . 'pass_waiting,' . PHP_EOL . 'enable_processing_time,' . PHP_EOL . 'processing_time,' . PHP_EOL . 'reset_processing_time,' . PHP_EOL . 'kiosk,' . PHP_EOL . 'examid_in_test_pass,' . PHP_EOL . 'title_output,' . PHP_EOL . 'autosave,' . PHP_EOL . 'autosave_ival,' . PHP_EOL . 'shuffle_questions,' . PHP_EOL . 'answer_feedback_points,' . PHP_EOL . 'answer_feedback,' . PHP_EOL . 'specific_feedback,' . PHP_EOL . 'instant_verification,' . PHP_EOL . 'force_inst_fb,' . PHP_EOL . 'inst_fb_answer_fixation,' . PHP_EOL . 'follow_qst_answer_fixation,' . PHP_EOL . 'use_previous_answers,' . PHP_EOL . 'suspend_test_allowed,' . PHP_EOL . 'sequence_settings,' . PHP_EOL . 'usr_pass_overview_mode,' . PHP_EOL . 'show_marker,' . PHP_EOL . 'show_questionlist,' . PHP_EOL . 'enable_examview,' . PHP_EOL . 'showfinalstatement,' . PHP_EOL . 'finalstatement,' . PHP_EOL . 'concluding_remarks_page_id,' . PHP_EOL . 'redirection_mode,' . PHP_EOL . 'redirection_url,' . PHP_EOL . 'mailnotification,' . PHP_EOL . 'mailnottype,' . PHP_EOL . 'skill_service' . PHP_EOL . 'FROM ' . self::TABLE_NAME . PHP_EOL . $where_part1
  • /components/ILIAS/Test/src/Settings/MainSettings/MainSettingsDatabaseRepository.php
" SELECT COUNT(participants.user_fi) as number_of_participants FROM ( ({$this->getActiveParticipantsQuery( )}) UNION ({$this->getInvitedParticipantsQuery( )}) ) participants "1
  • /components/ILIAS/Test/src/Participants/ParticipantRepository.php
"INSERT INTO tst_addtime (user_fi, test_fi, additionaltime, tstamp) VALUES (%s, %s, %s, %s) ON DUPLICATE KEY UPDATE tstamp = %s, additionaltime = %s"1
  • /components/ILIAS/Test/src/Participants/ParticipantRepository.php
"DELETE FROM tst_invited_user WHERE test_fi = {$selected_participants[0]->getTestId( )} AND " . $this->database->in('user_fi', array_map(fn (Participant $participant) : int => $participant->getUserId( ), $selected_participants), false, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Test/src/Participants/ParticipantRepository.php
"DELETE FROM tst_addtime WHERE test_fi = {$selected_participants[0]->getTestId( )} AND " . $this->database->in('user_fi', array_map(fn (Participant $participant) : int => $participant->getUserId( ), $selected_participants), false, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Test/src/Participants/ParticipantRepository.php
'SELECT MIN(started) AS first_access, MAX(finished) AS last_access ' . 'FROM tst_times WHERE active_fi = %s'1
  • /components/ILIAS/Test/src/Participants/ParticipantRepository.php
" SELECT particpants.* FROM ( ({$this->getActiveParticipantsQuery( )}) UNION ({$this->getInvitedParticipantsQuery( )}) ) as particpants "1
  • /components/ILIAS/Test/src/Participants/ParticipantRepository.php
" SELECT ta.active_id, ta.user_fi, ta.test_fi, ta.anonymous_id, ta.tries, ta.submitted, ta.last_finished_pass, ta.last_started_pass, COALESCE(ta.last_started_pass, -1) <> COALESCE(ta.last_finished_pass, -1) as unfinished_attempts, ud.firstname, ud.lastname, ud.login, ud.matriculation, (SELECT MIN(started) FROM tst_times WHERE active_fi = ta.active_id) as first_access, (SELECT MAX(finished) FROM tst_times WHERE active_fi = ta.active_id) as last_access, tatime.additionaltime extra_time, tinvited.ip_range_from, tinvited.ip_range_to, tinvited.tstamp as invitation_date FROM tst_active ta LEFT JOIN usr_data ud ON ud.usr_id = ta.user_fi LEFT JOIN tst_addtime tatime ON tatime.user_fi = ta.user_fi AND tatime.test_fi = ta.test_fi LEFT JOIN tst_invited_user tinvited ON tinvited.test_fi = ta.test_fi AND tinvited.user_fi = ta.user_fi WHERE ta.test_fi = %s "1
  • /components/ILIAS/Test/src/Participants/ParticipantRepository.php
" SELECT ta.active_id, tinvited.user_fi, tinvited.test_fi, ta.anonymous_id, ta.tries, ta.submitted, ta.last_finished_pass, ta.last_started_pass, COALESCE(ta.last_started_pass, -1) <> COALESCE(ta.last_finished_pass, -1) as unfinished_attempts, ud.firstname, ud.lastname, ud.login, ud.matriculation, NULL as first_access, NULL as last_access, tatime.additionaltime extra_time, tinvited.ip_range_from, tinvited.ip_range_to, tinvited.tstamp as invitation_date FROM tst_invited_user tinvited LEFT JOIN usr_data ud ON ud.usr_id = tinvited.user_fi LEFT JOIN tst_addtime tatime ON tatime.user_fi = tinvited.user_fi AND tatime.test_fi = tinvited.test_fi LEFT JOIN tst_active ta ON tinvited.test_fi = ta.test_fi AND tinvited.user_fi = ta.user_fi WHERE tinvited.test_fi = %s AND ta.active_id IS NULL "1
  • /components/ILIAS/Test/src/Participants/ParticipantRepository.php
"DELETE FROM tst_addtime WHERE test_fi = $test_id AND $in_user_fis"1
  • /components/ILIAS/Test/src/Participants/ParticipantRepository.php
'SELECT 1 FROM tst_solutions WHERE EXISTS (SELECT 1 FROM tst_active WHERE ' . implode(' AND ', $where) . ')'1
  • /components/ILIAS/Test/src/Access/AccessFileUploadAnswer.php
"SELECT active_fi, value1 FROM tst_solutions WHERE $is_upload_question AND $is_in_test"1
  • /components/ILIAS/Test/src/Access/AccessFileUploadAnswer.php
' SELECT COUNT(*) as cnt FROM tst_active LEFT JOIN object_data ON tst_active.test_fi = object_data.obj_id WHERE object_data.obj_id IS NULL '1
  • /components/ILIAS/Test/src/Setup/DatabaseInconsistencyMetricsCollectedObjective.php
'UPDATE tst_invited_user SET ip_range_from = clientip, ip_range_to = clientip WHERE ip_range_from IS NULL AND ip_range_to IS NULL'1
  • /components/ILIAS/Test/src/Setup/Test10DBUpdateSteps.php
' UPDATE tst_addtime INNER JOIN tst_active ON tst_active.active_id = tst_addtime.active_fi SET tst_addtime.test_fi = tst_active.test_fi, tst_addtime.user_fi = tst_active.user_fi'1
  • /components/ILIAS/Test/src/Setup/Test10DBUpdateSteps.php
'DELETE FROM rbac_operations WHERE operation = "tst_statistics"'1
  • /components/ILIAS/Test/src/Setup/Test10DBUpdateSteps.php
'UPDATE tst_tests SET enable_processing_time = %s WHERE enable_processing_time IS NULL'1
  • /components/ILIAS/Test/src/Setup/Test10DBUpdateSteps.php
'SELECT * FROM page_object WHERE parent_type = "tst" AND page_id = ?'1
  • /components/ILIAS/Test/src/Setup/CloneIntroductionAndClosingRemarksMigration.php
' SELECT COUNT(test_id) as cnt FROM tst_tests WHERE NOT introduction_page_id IS NULL AND introduction_page_id IN (SELECT introduction_page_id FROM tst_tests GROUP BY introduction_page_id HAVING COUNT(introduction_page_id) > 1) '1
  • /components/ILIAS/Test/src/Setup/CloneIntroductionAndClosingRemarksMigration.php
' SELECT COUNT(test_id) as cnt FROM tst_tests WHERE NOT concluding_remarks_page_id IS NULL AND concluding_remarks_page_id in (SELECT concluding_remarks_page_id FROM tst_tests GROUP BY concluding_remarks_page_id HAVING COUNT(concluding_remarks_page_id) > 1) '1
  • /components/ILIAS/Test/src/Setup/CloneIntroductionAndClosingRemarksMigration.php
' SELECT test_id, obj_fi, introduction_page_id FROM tst_tests WHERE NOT introduction_page_id IS NULL AND introduction_page_id IN (SELECT introduction_page_id FROM tst_tests GROUP BY introduction_page_id HAVING COUNT(introduction_page_id) > 1) ORDER BY introduction_page_id LIMIT ' . self::TESTS_PER_STEP1
  • /components/ILIAS/Test/src/Setup/CloneIntroductionAndClosingRemarksMigration.php
' SELECT test_id, obj_fi, concluding_remarks_page_id FROM tst_tests WHERE NOT concluding_remarks_page_id IS NULL AND concluding_remarks_page_id IN (SELECT concluding_remarks_page_id FROM tst_tests GROUP BY concluding_remarks_page_id HAVING COUNT(concluding_remarks_page_id) > 1) ORDER BY concluding_remarks_page_id LIMIT ' . $max_steps1
  • /components/ILIAS/Test/src/Setup/CloneIntroductionAndClosingRemarksMigration.php
'SELECT max(page_id) as last_id FROM page_object WHERE parent_type="tst"'1
  • /components/ILIAS/Test/src/Setup/CloneIntroductionAndClosingRemarksMigration.php
'UPDATE tst_pass_result SET points = 0 WHERE points < 0'1
  • /components/ILIAS/Test/src/Setup/Test9DBUpdateSteps.php
'UPDATE tst_result_cache SET reached_points = 0 WHERE reached_points < 0'1
  • /components/ILIAS/Test/src/Setup/Test9DBUpdateSteps.php
"DELETE FROM page_object WHERE parent_type = 'qht'"1
  • /components/ILIAS/Test/src/Setup/class.ilTestNoHintsDBUpdateSteps.php
' SELECT tst_result_cache.*, round(points/maxpoints*100,2) as percentage, tst_pass_result.workingtime, usr_data.usr_id, usr_data.firstname, usr_data.lastname FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass INNER JOIN usr_data ON usr_data.usr_id = tst_active.user_fi WHERE object_reference.ref_id = ' . $this->db->quote($object->getRefId( ), 'integer') . ' ORDER BY ' . $order_stmt . ' DESC'1
  • /components/ILIAS/Test/src/Results/Toplist/TestTopListRepository.php
' SELECT COUNT(tst_pass_result.workingtime) cnt FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass INNER JOIN usr_data ON usr_data.usr_id = tst_active.user_fi WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi != ' . $this->db->quote($a_user_id, 'integer') . ' AND round(reached_points/max_points*100) >= ( SELECT round(reached_points/max_points*100) FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi = ' . $this->db->quote($a_user_id, 'integer') . ' ) '1
  • /components/ILIAS/Test/src/Results/Toplist/TestTopListRepository.php
' SELECT tst_result_cache.*, round(reached_points/max_points*100) as percentage , tst_pass_result.workingtime, usr_id, usr_data.firstname, usr_data.lastname FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass INNER JOIN usr_data ON usr_data.usr_id = tst_active.user_fi WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi = ' . $this->db->quote($a_user_id, 'integer') . ' UNION( SELECT tst_result_cache.*, round(reached_points/max_points*100) as percentage, tst_pass_result.workingtime, usr_id, usr_data.firstname, usr_data.lastname FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass INNER JOIN usr_data ON usr_data.usr_id = tst_active.user_fi WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi != ' . $this->db->quote($a_user_id, 'integer') . ' AND round(reached_points/max_points*100) >= ( SELECT round(reached_points/max_points*100) FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi = ' . $this->db->quote($a_user_id, 'integer') . ' ) ORDER BY round(reached_points/max_points*100) ASC LIMIT 0, ' . $this->db->quote($object->getHighscoreTopNum( ), 'integer') . ' ) UNION( SELECT tst_result_cache.*, round(reached_points/max_points*100) as percentage, tst_pass_result.workingtime, usr_id, usr_data.firstname, usr_data.lastname FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass INNER JOIN usr_data ON usr_data.usr_id = tst_active.user_fi WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi != ' . $this->db->quote($a_user_id, 'integer') . ' AND round(reached_points/max_points*100) <= ( SELECT round(reached_points/max_points*100) FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi = ' . $this->db->quote($a_user_id, 'integer') . ' ) ORDER BY round(reached_points/max_points*100) ASC LIMIT 0, ' . $this->db->quote($object->getHighscoreTopNum( ), 'integer') . ' ) ORDER BY round(reached_points/max_points*100) DESC, tstamp ASC LIMIT 0, ' . $this->db->quote($object->getHighscoreTopNum( ), 'integer') . ' '1
  • /components/ILIAS/Test/src/Results/Toplist/TestTopListRepository.php
' SELECT COUNT(tst_pass_result.workingtime) cnt FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass INNER JOIN usr_data ON usr_data.usr_id = tst_active.user_fi WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi != ' . $this->db->quote($a_user_id, 'integer') . ' AND workingtime < ( SELECT workingtime FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi = ' . $this->db->quote($a_user_id, 'integer') . ' ) '1
  • /components/ILIAS/Test/src/Results/Toplist/TestTopListRepository.php
' SELECT tst_result_cache.*, round(reached_points/max_points*100) as percentage , tst_pass_result.workingtime, usr_id, usr_data.firstname, usr_data.lastname FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass INNER JOIN usr_data ON usr_data.usr_id = tst_active.user_fi WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi = ' . $this->db->quote($a_user_id, 'integer') . ' UNION( SELECT tst_result_cache.*, round(reached_points/max_points*100) as percentage, tst_pass_result.workingtime, usr_id, usr_data.firstname, usr_data.lastname FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass INNER JOIN usr_data ON usr_data.usr_id = tst_active.user_fi WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi != ' . $this->db->quote($a_user_id, 'integer') . ' AND workingtime >= ( SELECT tst_pass_result.workingtime FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi = ' . $this->db->quote($a_user_id, 'integer') . ' ) ORDER BY workingtime DESC LIMIT 0, ' . $this->db->quote($object->getHighscoreTopNum( ), 'integer') . ' ) UNION( SELECT tst_result_cache.*, round(reached_points/max_points*100) as percentage, tst_pass_result.workingtime, usr_id, usr_data.firstname, usr_data.lastname FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass INNER JOIN usr_data ON usr_data.usr_id = tst_active.user_fi WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi != ' . $this->db->quote($a_user_id, 'integer') . ' AND workingtime < ( SELECT tst_pass_result.workingtime FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer') . ' AND tst_active.user_fi = ' . $this->db->quote($a_user_id, 'integer') . ' ) ORDER BY workingtime DESC LIMIT 0, ' . $this->db->quote($object->getHighscoreTopNum( ), 'integer') . ' ) ORDER BY workingtime ASC LIMIT 0, ' . $this->db->quote($object->getHighscoreTopNum( ), 'integer') . ' '1
  • /components/ILIAS/Test/src/Results/Toplist/TestTopListRepository.php
'UPDATE tst_pass_result SET tstamp = %s, finalized_by = %s WHERE active_fi = %s AND pass = %s'1
  • /components/ILIAS/Test/src/Results/Data/Repository.php
'SELECT * FROM ' . self::DB_TABLE . ' WHERE test_fi = %s ORDER BY minimum_level'1
  • /components/ILIAS/Test/src/Scoring/Marks/MarksDatabaseRepository.php
'DELETE FROM ' . self::DB_TABLE . ' WHERE test_fi = %s'1
  • /components/ILIAS/Test/src/Scoring/Marks/MarksDatabaseRepository.php
'SELECT SUM(points) reachedpoints FROM tst_test_result WHERE active_fi = %s AND pass = %s'1
  • /components/ILIAS/Test/src/Scoring/Manual/TestScoring.php
"DELETE FROM tst_test_result WHERE question_fi = %s"1
  • /components/ILIAS/Test/src/Scoring/Manual/TestScoring.php
" SELECT COUNT(*) num_manual_scorings FROM tst_test_result tres INNER JOIN tst_active tact ON tact.active_id = tres.active_fi WHERE tact.test_fi = %s AND tres.manual = 1 "1
  • /components/ILIAS/Test/src/Scoring/Manual/TestScoring.php
'DELETE FROM ' . self::TST_EXPORT_TABLE . ' WHERE rid = %s'1
  • /components/ILIAS/Test/src/ExportImport/DBRepository.php
'SELECT * FROM ' . self::TST_EXPORT_TABLE . ' WHERE object_id = %s'1
  • /components/ILIAS/Test/src/ExportImport/DBRepository.php
"SELECT *, '{$type}' AS type FROM {$this->getTableNameForTypeIdentifier($type)} WHERE " . $this->db->in('id', $values, false, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Test/src/Logging/TestLoggingDatabaseRepository.php
'SELECT COUNT(id) AS cnt FROM ' . self::PARTICIPANT_LOG_TABLE . ' WHERE ref_id=%s'1
  • /components/ILIAS/Test/src/Logging/TestLoggingDatabaseRepository.php
'DELETE FROM ' . self::PARTICIPANT_LOG_TABLE . ' WHERE ref_id=%s'1
  • /components/ILIAS/Test/src/Logging/TestLoggingDatabaseRepository.php
'SELECT * FROM ' . self::LEGACY_LOG_TABLE . $where . ' ORDER BY tstamp'1
  • /components/ILIAS/Test/src/Logging/TestLoggingDatabaseRepository.php
"SELECT * FROM {$table_name} WHERE id=%s"1
  • /components/ILIAS/Test/src/Logging/TestLoggingDatabaseRepository.php
"DELETE FROM {$this->getTableNameForTypeIdentifier($type)} WHERE " . $this->db->in('id', $values, false, \ilDBConstants::T_INTEGER) . ';' . PHP_EOL1
  • /components/ILIAS/Test/src/Logging/TestLoggingDatabaseRepository.php
'SELECT COUNT(*) AS cnt FROM (' . PHP_EOL . $tables_query . PHP_EOL . ') x'1
  • /components/ILIAS/Test/src/Logging/TestLoggingDatabaseRepository.php
"SELECT '{$type}' AS type, id, ref_id, NULL AS qst_id, admin_id, " . 'NULL AS pax_id, NULL AS source_ip, interaction_type, modification_ts, ' . "additional_data FROM {$table_name}"1
  • /components/ILIAS/Test/src/Logging/TestLoggingDatabaseRepository.php
"SELECT '{$type}' AS type, id, ref_id, qst_id, admin_id, " . 'NULL AS pax_id, NULL AS source_ip, interaction_type, modification_ts, ' . "additional_data FROM {$table_name}"1
  • /components/ILIAS/Test/src/Logging/TestLoggingDatabaseRepository.php
"SELECT '{$type}' AS type, id, ref_id, qst_id, NULL AS admin_id, " . 'pax_id, source_ip, interaction_type, modification_ts, ' . "additional_data FROM {$table_name}"1
  • /components/ILIAS/Test/src/Logging/TestLoggingDatabaseRepository.php
"SELECT '{$type}' AS type, id, ref_id, qst_id, admin_id, " . 'pax_id, NULL AS source_ip, interaction_type, modification_ts, ' . "additional_data FROM {$table_name}"1
  • /components/ILIAS/Test/src/Logging/TestLoggingDatabaseRepository.php
"SELECT '{$type}' AS type, id, ref_id, qst_id, admin_id, " . 'pax_id, NULL AS source_ip, interaction_type, modification_ts, ' . "error_message AS additional_data FROM {$table_name}"1
  • /components/ILIAS/Test/src/Logging/TestLoggingDatabaseRepository.php
'SELECT question_fi, COUNT(*) as nr_of_answers, SUM(points) as achieved_points' . ' FROM ' . self::RESULTS_TABLE . ' INNER JOIN ' . self::ATTEMPTS_TABLE . ' ON active_fi = active_id' . ' WHERE answered = 1 AND ' . $this->db->in('question_fi', array_keys($general_question_properties), false, \ilDBConstants::T_INTEGER) . ' GROUP BY question_fi'1
  • /components/ILIAS/Test/src/Questions/Properties/DatabaseRepository.php
'SELECT COUNT(*) as nr_of_answers' . ' FROM ' . self::RESULTS_TABLE . ' INNER JOIN ' . self::ATTEMPTS_TABLE . ' ON active_fi = active_id' . ' WHERE answered = 1 AND question_fi=' . $question_id1
  • /components/ILIAS/Test/src/Questions/Properties/DatabaseRepository.php
'SELECT test_fi, question_fi, sequence FROM ' . self::LINKING_TABLE_TEST_FIXED . ' WHERE ' . $this->db->in('question_fi', $question_ids, false, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Test/src/Questions/Properties/DatabaseRepository.php
'SELECT qst_fi FROM ' . self::LINKING_TABLE_TEST_RANDOM . ' WHERE tst_fi=' . $test_id1
  • /components/ILIAS/Test/src/Questions/Properties/DatabaseRepository.php
'SELECT COUNT(1) as c FROM ' . $this->documentTable( ) . ' WHERE provider = %s'1
  • /components/ILIAS/LegalDocuments/classes/Repository/DatabaseDocumentRepository.php
'SELECT * FROM ' . $doc_table . ' WHERE ' . $where . ' AND provider = ' . $provider . ' ORDER BY sorting ' . $limit1
  • /components/ILIAS/LegalDocuments/classes/Repository/DatabaseDocumentRepository.php
'SELECT * FROM'1
  • /components/ILIAS/LegalDocuments/classes/Repository/DatabaseDocumentRepository.php
"DELETE FROM $table WHERE id = $id AND " . $this->exists($table . '.' . $doc_field)1
  • /components/ILIAS/LegalDocuments/classes/Repository/DatabaseDocumentRepository.php
"DELETE FROM $criteria WHERE doc_id NOT IN (SELECT id FROM $documents)"1
  • /components/ILIAS/LegalDocuments/classes/Repository/DatabaseDocumentRepository.php
"SELECT MAX(sorting) as s FROM $documents WHERE " . $this->exists($documents . '.id')1
  • /components/ILIAS/LegalDocuments/classes/Repository/DatabaseDocumentRepository.php
"SELECT 1 FROM $versions INNER JOIN $tracking ON $versions.id = $tracking.tosv_id WHERE $versions.doc_id = $doc_id AND hash = $hash AND usr_id = $user AND " . $this->document_meta->exists('doc_id')1
  • /components/ILIAS/LegalDocuments/classes/Repository/DatabaseHistoryRepository.php
"SELECT $versions.* from $versions inner join $tracking on $versions.id = $tracking.tosv_id where usr_id = $user_id AND $versions.provider = $provider ORDER BY $tracking.ts DESC"1
  • /components/ILIAS/LegalDocuments/classes/Repository/DatabaseHistoryRepository.php
"SELECT doc_id FROM $tracking INNER JOIN $version ON $tracking.tosv_id = $version.id WHERE provider = %s AND usr_id = %s ORDER BY $tracking.ts DESC"1
  • /components/ILIAS/LegalDocuments/classes/Repository/DatabaseHistoryRepository.php
"SELECT $documents.*, $tracking.*, $version.text as old_text, $version.title as old_title, $version.type as old_type, $tracking.ts as ts FROM $tracking INNER JOIN $version ON $tracking.tosv_id = $version.id LEFT JOIN $documents ON $documents.id = $version.doc_id $join WHERE $filter AND $version.provider = $provider " . $this->orderSqlFromArray($order_by) . (null === $limit ? '' : ' LIMIT ' . $offset . ', ' . $limit)1
  • /components/ILIAS/LegalDocuments/classes/Repository/DatabaseHistoryRepository.php
"SELECT COUNT(1) as count FROM $tracking INNER JOIN $version ON $tracking.tosv_id = $version.id INNER JOIN $documents ON $version.doc_id = $documents.id AND $version.provider = $provider " . "$join WHERE $filter"1
  • /components/ILIAS/LegalDocuments/classes/Repository/DatabaseHistoryRepository.php
"SELECT id FROM $versions WHERE doc_id = $id AND hash = $hash AND " . $this->document_meta->exists('doc_id')1
  • /components/ILIAS/LegalDocuments/classes/Repository/DatabaseHistoryRepository.php
"UPDATE ldoc_versions AS v SET provider = $select_provider WHERE provider = '' AND EXISTS $select_provider"1
  • /components/ILIAS/LegalDocuments/classes/Setup/UpdateSteps.php
"SELECT record_id id" . " FROM adv_md_record"1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDPermissionHelper.php
"SELECT field_id id" . " FROM adv_mdf_definition"1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDPermissionHelper.php
"DELETE FROM adv_md_substitutions WHERE obj_type = " . $ilDB->quote($this->type, 'text')1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDSubstitution.php
"SELECT active,field_id,amfd.title FROM adv_md_record amr " . "JOIN adv_md_record_objs amro ON amr.record_id = amro.record_id " . "JOIN adv_mdf_definition amfd ON amr.record_id = amfd.record_id " . "WHERE active = 1 " . "AND obj_type = " . $this->db->quote($this->type, 'text') . " "1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDSubstitution.php
"SELECT * FROM adv_md_substitutions " . "WHERE obj_type = " . $this->db->quote($this->type, 'text') . " "1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDSubstitution.php
"SELECT field_type" . " FROM adv_mdf_definition" . " WHERE field_id = " . $db->quote($a_field_id, "integer")1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDFieldDefinition.php
"SELECT amf.* FROM adv_md_record_objs aro" . " JOIN adv_md_record amr ON aro.record_id = amr.record_id" . " JOIN adv_mdf_definition amf ON aro.record_id = amf.record_id" . " WHERE obj_type = " . $ilDB->quote($a_obj_type, 'text')1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDFieldDefinition.php
"SELECT field_id FROM adv_md_record amr" . " JOIN adv_mdf_definition amfd ON (amr.record_id = amfd.record_id)" . " WHERE active = " . $ilDB->quote(1, "integer") . " AND searchable = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDFieldDefinition.php
"SELECT obj_id,type" . " FROM object_data" . " WHERE " . $this->db->in("obj_id", $obj_ids, false, "integer") . " AND " . $this->db->in("type", $a_object_types, false, "text")1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDFieldDefinition.php
"SELECT amro.*" . " FROM adv_md_record_objs amro" . " JOIN adv_md_record amr ON (amr.record_id = amro.record_id)" . " WHERE active = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDValues.php
"SELECT record_id FROM adv_md_record" . " WHERE record_id = " . $ilDB->quote($a_record_id, "integer")1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDClaimingPlugin.php
"DELETE FROM adv_md_record_objs" . " WHERE record_id = " . $ilDB->quote($a_record_id, "integer")1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDClaimingPlugin.php
"DELETE FROM adv_md_record" . " WHERE record_id = " . $ilDB->quote($a_record_id, "integer")1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDClaimingPlugin.php
"SELECT field_id FROM adv_mdf_definition" . " WHERE field_id = " . $ilDB->quote($a_field_id, "integer")1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDClaimingPlugin.php
"SELECT max(position) pos" . " FROM adv_mdf_definition" . " WHERE record_id = " . $ilDB->quote($a_record_id, "integer")1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDClaimingPlugin.php
'DELETE FROM adv_mdf_enum WHERE field_id = ' . $ilDB->quote($field_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDClaimingPlugin.php
'SELECT lang_default FROM adv_md_record WHERE record_id = ' . $ilDB->quote($a_record_id, 'integer')1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDClaimingPlugin.php
"DELETE FROM adv_mdf_definition" . " WHERE field_id = " . $ilDB->quote($a_field_id, "integer")1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDClaimingPlugin.php
"SELECT * FROM adv_md_substitutions" . " WHERE obj_type = " . $ilDB->quote($a_obj_type, "text")1
  • /components/ILIAS/AdvancedMetaData/classes/class.ilAdvancedMDClaimingPlugin.php
'SELECT * FROM adv_mdf_enum WHERE field_id = ' . $this->db->quote($field_id, \ilDBConstants::T_INTEGER) . ' ORDER BY COALESCE(position, idx)'1
  • /components/ILIAS/AdvancedMetaData/classes/Repository/FieldDefinition/TypeSpecificData/Select/DatabaseGatewayImplementation.php
'SELECT * FROM adv_mdf_enum WHERE ' . $this->db->in('field_id', $field_ids, false, \ilDBConstants::T_INTEGER) . ' ORDER BY COALESCE(position, idx)'1
  • /components/ILIAS/AdvancedMetaData/classes/Repository/FieldDefinition/TypeSpecificData/Select/DatabaseGatewayImplementation.php
'DELETE FROM adv_mdf_enum WHERE field_id = ' . $this->db->quote($field_id, \ilDBConstants::T_INTEGER) . ' AND ' . $this->db->in('idx', $keep_option_ids, true, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Repository/FieldDefinition/TypeSpecificData/Select/DatabaseGatewayImplementation.php
'DELETE FROM adv_mdf_enum WHERE idx = ' . $this->db->quote($option_id, \ilDBConstants::T_INTEGER) . ' AND field_id = ' . $this->db->quote($field_id, \ilDBConstants::T_INTEGER) . ' AND ' . $this->db->in('lang_code', $keep_languages, true, \ilDBConstants::T_TEXT)1
  • /components/ILIAS/AdvancedMetaData/classes/Repository/FieldDefinition/TypeSpecificData/Select/DatabaseGatewayImplementation.php
'DELETE FROM adv_mdf_enum WHERE ' . $this->db->in('field_id', $field_ids, false, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Repository/FieldDefinition/TypeSpecificData/Select/DatabaseGatewayImplementation.php
'SELECT MAX(idx) max_id FROM adv_mdf_enum WHERE field_id = ' . $this->db->quote($field_id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Repository/FieldDefinition/TypeSpecificData/Select/DatabaseGatewayImplementation.php
'SELECT * FROM adv_mdf_definition WHERE field_id = ' . $this->db->quote($field_id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Repository/FieldDefinition/GenericData/DatabaseGatewayImplementation.php
'SELECT * FROM adv_mdf_definition WHERE ' . $this->db->in('field_id', $field_ids, false, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Repository/FieldDefinition/GenericData/DatabaseGatewayImplementation.php
'SELECT * FROM adv_mdf_definition WHERE ' . $this->db->in('record_id', $record_ids, false, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Repository/FieldDefinition/GenericData/DatabaseGatewayImplementation.php
'SELECT * FROM adv_mdf_definition WHERE import_id = ' . $this->db->quote($import_id, \ilDBConstants::T_TEXT)1
  • /components/ILIAS/AdvancedMetaData/classes/Repository/FieldDefinition/GenericData/DatabaseGatewayImplementation.php
'DELETE FROM adv_mdf_definition WHERE ' . $this->db->in('field_id', $field_ids, false, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Repository/FieldDefinition/GenericData/DatabaseGatewayImplementation.php
'SELECT MAX(position) max_pos FROM adv_mdf_definition WHERE record_id = ' . $this->db->quote($record_id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Repository/FieldDefinition/GenericData/DatabaseGatewayImplementation.php
"SELECT obj_id,type" . " FROM object_data" . " WHERE " . $ilDB->in("obj_id", array_keys($obj_ids), false, "integer") . " AND " . $ilDB->in("type", $a_object_types, false, "text")1
  • /components/ILIAS/AdvancedMetaData/classes/Types/class.ilAdvancedMDFieldDefinitionText.php
'select ref_id from object_reference obr join object_data obd on obr.obj_id = obd.obj_id ' . 'where ' . $this->db->like('title', 'text', $a_value . '%')1
  • /components/ILIAS/AdvancedMetaData/classes/Types/class.ilAdvancedMDFieldDefinitionInternalLink.php
"SELECT DISTINCT(amr.record_id) FROM adv_md_record amr " . "JOIN adv_mdf_definition amfd ON amr.record_id = amfd.record_id " . "WHERE searchable = 1 AND active = 1 "1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"SELECT title FROM adv_md_record " . "WHERE record_id = " . $ilDB->quote($a_record_id, 'integer') . " "1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"SELECT record_id FROM adv_md_record " . "WHERE import_id = " . $ilDB->quote($a_ilias_id, 'text') . " "1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"SELECT DISTINCT(obj_type) FROM adv_md_record_objs amo " . "JOIN adv_md_record amr ON amo.record_id = amr.record_id " . "WHERE active = 1 "1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"SELECT record_id FROM adv_md_record ORDER BY gpos "1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"SELECT * FROM adv_md_record_objs WHERE sub_type=" . $ilDB->quote("-", "text")1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"SELECT amro.record_id record_id FROM adv_md_record_objs amro " . "JOIN adv_md_record amr ON amr.record_id = amro.record_id " . "WHERE active = 1 " . "AND obj_type = " . $ilDB->quote($a_obj_type, 'text') . " " . "AND sub_type = " . $ilDB->quote($a_sub_type, 'text')1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"DELETE FROM adv_md_record " . "WHERE record_id = " . $ilDB->quote($a_record_id, 'integer') . " "1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"DELETE FROM adv_md_record_objs " . "WHERE record_id = " . $ilDB->quote($a_record_id, 'integer') . " "1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"INSERT INTO adv_md_record (record_id,import_id,active,title,description,parent_obj,lang_default) " . "VALUES(" . $ilDB->quote($next_id, 'integer') . ", " . $this->db->quote($this->getImportId( ), 'text') . ", " . $this->db->quote($this->isActive( ), 'integer') . ", " . $this->db->quote($this->getTitle( ), 'text') . ", " . $this->db->quote($this->getDescription( ), 'text') . ", " . $this->db->quote($this->getParentObject( ), 'integer') . ", " . $this->db->quote($this->getDefaultLanguage( ), ilDBConstants::T_TEXT) . ")"1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"UPDATE adv_md_record " . "SET import_id = " . $this->db->quote($this->generateImportId( ), 'text') . " " . "WHERE record_id = " . $this->db->quote($this->record_id, 'integer') . " "1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"INSERT INTO adv_md_record_objs (record_id,obj_type,sub_type,optional) " . "VALUES( " . $this->db->quote($this->getRecordId( ), 'integer') . ", " . $this->db->quote($type["obj_type"], 'text') . ", " . $this->db->quote($type["sub_type"], 'text') . ", " . $this->db->quote($type["optional"], 'integer') . " " . ")"1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"UPDATE adv_md_record " . "SET active = " . $this->db->quote($this->isActive( ), 'integer') . ", " . "title = " . $this->db->quote($this->getTitle( ), 'text') . ", " . "description = " . $this->db->quote($this->getDescription( ), 'text') . ", " . 'gpos = ' . $this->db->quote($this->getGlobalPosition( ), 'integer') . ', ' . 'lang_default = ' . $this->db->quote($this->getDefaultLanguage( ), ilDBConstants::T_TEXT) . ' ' . "WHERE record_id = " . $this->db->quote($this->getRecordId( ), 'integer') . " "1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"DELETE FROM adv_md_record_objs " . "WHERE record_id = " . $this->db->quote($this->getRecordId( ), 'integer') . " "1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"INSERT INTO adv_md_record_objs (record_id,obj_type,sub_type,optional) " . "VALUES ( " . $this->db->quote($this->getRecordId( ), 'integer') . ", " . $this->db->quote($type["obj_type"], 'text') . ", " . $this->db->quote($type["sub_type"], 'text') . ", " . $this->db->quote($type["optional"], 'integer') . " " . ")"1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"SELECT * FROM adv_md_record " . "WHERE record_id = " . $this->db->quote($this->getRecordId( ), 'integer') . " "1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"SELECT * FROM adv_md_record_objs " . "WHERE record_id = " . $this->db->quote($this->getRecordId( ), 'integer') . " "1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
'SELECT scope_id FROM adv_md_record_scope ' . 'WHERE record_id = ' . $this->db->quote($this->record_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"DELETE FROM adv_md_obj_rec_select WHERE " . " obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND sub_type = " . $ilDB->quote($a_sub_type, "text")1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"INSERT INTO adv_md_obj_rec_select " . "(obj_id, rec_id, sub_type) VALUES (" . $ilDB->quote($a_obj_id, "integer") . "," . $ilDB->quote($r, "integer") . "," . $ilDB->quote($a_sub_type, "text") . ")"1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"DELETE FROM adv_md_obj_rec_select WHERE " . " obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
"SELECT * FROM adv_md_obj_rec_select " . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND sub_type = " . $ilDB->quote($a_sub_type, "text")1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecord.php
'INSERT INTO adv_md_record_scope (scope_id, record_id, ref_id) ' . 'VALUES ( ' . $this->db->quote($this->scope_id, 'integer') . ', ' . $this->db->quote($this->record_id, 'integer') . ', ' . $this->db->quote($this->ref_id, 'integer') . ')'1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecordScope.php
'Update entry.'1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecordScope.php
'UPDATE adv_md_record_scope ' . 'SET ref_id = ' . $this->db->quote($this->ref_id, 'integer') . ' ' . 'WHERE scope_id = ' . $this->db->quote($this->scope_id, 'integer')1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecordScope.php
'DELETE FROM adv_md_record_scope ' . 'WHERE scope_id = ' . $this->db->quote($this->scope_id, 'integer')1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecordScope.php
'DELETE FROM adv_md_record_scope ' . 'WHERE record_id = ' . $db->quote($a_record_id, 'integer')1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecordScope.php
'SELECT * FROM adv_md_record_scope ' . 'WHERE scope_id = ' . $this->db->quote($this->scope_id, 'integer')1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecordScope.php
'INSERT INTO adv_md_record_obj_ord (record_id, obj_id, position ) ' . 'VALUES ( ' . $this->db->quote($this->record_id, 'integer') . ', ' . $this->db->quote($this->obj_id, 'integer') . ', ' . $this->db->quote($this->position, 'integer') . ' ' . ')'1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecordObjectOrdering.php
'DELETE FROM adv_md_record_obj_ord WHERE ' . 'record_id = ' . $this->db->quote($this->record_id, 'integer') . ' ' . 'AND obj_id = ' . $this->db->quote($this->obj_id, 'integer')1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecordObjectOrdering.php
'DELETE FROM adv_md_record_obj_ord ' . 'WHERE obj_id = ' . $this->db->quote($obj_id, 'integer')1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecordObjectOrderings.php
'SELECT record_id, position FROM adv_md_record_obj_ord ' . 'WHERE obj_id = ' . $this->db->quote($obj_id, 'integer')1
  • /components/ILIAS/AdvancedMetaData/classes/Record/class.ilAdvancedMDRecordObjectOrderings.php
"SELECT * FROM " . $this->db->quoteIdentifier(self::TABLE_NAME) . $this->buildWhere($key)1
  • /components/ILIAS/AdvancedMetaData/classes/Record/File/Repository/Wrapper/DB/Handler.php
"DELETE FROM " . $this->db->quoteIdentifier(self::TABLE_NAME) . $this->buildWhere($key)1
  • /components/ILIAS/AdvancedMetaData/classes/Record/File/Repository/Wrapper/DB/Handler.php
"INSERT INTO " . $this->db->quoteIdentifier(self::TABLE_NAME) . " VALUES (" . $this->db->quote($key->getObjectId( )->toInt( ), ilDBConstants::T_INTEGER) . ", " . $this->db->quote($key->getResourceIdSerialized( ), ilDBConstants::T_TEXT) . ", " . $this->db->quote((int) $key->isGlobal( ), ilDBConstants::T_INTEGER) . ") ON DUPLICATE KEY UPDATE" . " object_id = " . $this->db->quote($key->getObjectId( )->toInt( ), ilDBConstants::T_INTEGER) . ", rid = " . $this->db->quote($key->getResourceIdSerialized( ), ilDBConstants::T_TEXT) . ", is_global = " . $this->db->quote((int) $key->isGlobal( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Record/File/Repository/Wrapper/DB/Handler.php
'update ' . self::TABLE_NAME . ' ' . 'set title = ' . $this->db->quote($this->getTitle( ), ilDBConstants::T_TEXT) . ', ' . 'description = ' . $this->db->quote($this->getDescription( ), ilDBConstants::T_TEXT) . ' ' . 'where record_id = ' . $this->db->quote($this->getRecordId( ), ilDBConstants::T_INTEGER) . ' ' . 'and lang_code = ' . $this->db->quote($this->getLangKey( ), ilDBConstants::T_TEXT)1
  • /components/ILIAS/AdvancedMetaData/classes/Translation/class.ilAdvancedMDRecordTranslation.php
'delete from ' . self::TABLE_NAME . ' ' . 'where record_id = ' . $this->db->quote($this->getRecordId( ), ilDBConstants::T_INTEGER) . ' and ' . 'lang_code = ' . $this->db->quote($this->getLangKey( ), ilDBConstants::T_TEXT)1
  • /components/ILIAS/AdvancedMetaData/classes/Translation/class.ilAdvancedMDRecordTranslation.php
'insert into ' . self::TABLE_NAME . ' (record_id, title, lang_code, description) ' . 'values ( ' . $this->db->quote($this->getRecordId( ), ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($this->getTitle( ), ilDBConstants::T_TEXT) . ', ' . $this->db->quote($this->getLangKey( ), ilDBConstants::T_TEXT) . ', ' . $this->db->quote($this->getDescription( ), ilDBConstants::T_TEXT) . ' ' . ')'1
  • /components/ILIAS/AdvancedMetaData/classes/Translation/class.ilAdvancedMDRecordTranslation.php
'select * from ' . self::TABLE_NAME . ' ' . 'where field_id = ' . $this->db->quote($this->getFieldId( ), ilDBConstants::T_INTEGER) . ' ' . 'and lang_code = ' . $this->db->quote($this->getLangKey( ), ilDBConstants::T_TEXT) . ' '1
  • /components/ILIAS/AdvancedMetaData/classes/Translation/class.ilAdvancedMDFieldTranslation.php
'update ' . self::TABLE_NAME . ' ' . 'set title = ' . $this->db->quote($this->getTitle( ), ilDBConstants::T_TEXT) . ', ' . 'description = ' . $this->db->quote($this->getDescription( ), ilDBConstants::T_TEXT) . ' ' . 'where field_id = ' . $this->db->quote($this->getFieldId( ), ilDBConstants::T_INTEGER) . ' ' . 'and lang_code = ' . $this->db->quote($this->getLangKey( ), ilDBConstants::T_TEXT)1
  • /components/ILIAS/AdvancedMetaData/classes/Translation/class.ilAdvancedMDFieldTranslation.php
'delete from ' . self::TABLE_NAME . ' ' . 'where field_id = ' . $this->db->quote($this->getFieldId( ), ilDBConstants::T_INTEGER) . ' and ' . 'lang_code = ' . $this->db->quote($this->getLangKey( ), ilDBConstants::T_TEXT)1
  • /components/ILIAS/AdvancedMetaData/classes/Translation/class.ilAdvancedMDFieldTranslation.php
'insert into ' . self::TABLE_NAME . ' (field_id, title, lang_code, description) ' . 'values ( ' . $this->db->quote($this->getFieldId( ), ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($this->getTitle( ), ilDBConstants::T_TEXT) . ', ' . $this->db->quote($this->getLangKey( ), ilDBConstants::T_TEXT) . ', ' . $this->db->quote($this->getDescription( ), ilDBConstants::T_TEXT) . ' ' . ')'1
  • /components/ILIAS/AdvancedMetaData/classes/Translation/class.ilAdvancedMDFieldTranslation.php
'select * from ' . ilAdvancedMDRecordTranslation::TABLE_NAME . ' ' . 'where record_id = ' . $this->db->quote($this->getRecordId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Translation/class.ilAdvancedMDRecordTranslations.php
'select fi.field_id tfield, de.field_id ofield, fi.title, fi.description, ri.lang_code ' . 'from adv_md_record_int ri join adv_mdf_definition de on ri.record_id = de.record_id ' . 'left join adv_md_field_int fi on (ri.lang_code = fi.lang_code and de.field_id = fi.field_id) ' . 'where ri.record_id = ' . $this->db->quote($this->getRecordId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Translation/class.ilAdvancedMDFieldTranslations.php
'UPDATE pg_amd_page_list ' . 'SET sdata = ' . $this->db->quote(serialize(serialize($data)), \ilDBConstants::T_TEXT) . ' ' . 'WHERE id = ' . $this->db->quote($id, \ilDBConstants::T_INTEGER) . ' ' . 'AND field_id = ' . $this->db->quote($field_id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Setup/class.DBUpdateSteps8.php
'SELECT idx from adv_mdf_enum ' . 'WHERE value = ' . $this->db->quote($value, \ilDBConstants::T_TEXT) . ' ' . 'AND field_id = ' . $this->db->quote($field_id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Setup/class.DBUpdateSteps8.php
'SELECT idx from adv_mdf_enum ' . 'WHERE idx = ' . $this->db->quote($value, \ilDBConstants::T_TEXT) . ' ' . 'AND field_id = ' . $this->db->quote($field_id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AdvancedMetaData/classes/Setup/class.DBUpdateSteps8.php
'SELECT id, pg.field_id, data, field_type FROM pg_amd_page_list pg ' . 'JOIN adv_mdf_definition adv ' . 'ON pg.field_id = adv.field_id ' . 'WHERE sdata IS null '1
  • /components/ILIAS/AdvancedMetaData/classes/Setup/class.DBUpdateSteps8.php
'UPDATE adv_mdf_enum SET position = idx WHERE position IS NULL LIMIT 1'1
  • /components/ILIAS/AdvancedMetaData/classes/Setup/SelectOptionsMigration.php
'SELECT COUNT(*) AS count FROM adv_mdf_enum WHERE position IS NULL'1
  • /components/ILIAS/AdvancedMetaData/classes/Setup/SelectOptionsMigration.php
"INSERT INTO adv_md_record_files VALUES (" . $this->db->quote(($object_id === self::GLOBAL_KEY) ? 0 : $object_id, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($rid->serialize( ), ilDBConstants::T_TEXT) . ", " . $this->db->quote((int) ($object_id === self::GLOBAL_KEY), ilDBConstants::T_INTEGER) . ")"1
  • /components/ILIAS/AdvancedMetaData/classes/Setup/RecordFilesMigration.php
'SELECT file_id FROM file_data WHERE file_id = %s'1
  • /components/ILIAS/File/classes/trait.ilObjFileMetadata.php
"UPDATE object_data SET offline = 1 WHERE obj_id = %s"1
  • /components/ILIAS/File/classes/class.ilObjFileStakeholder.php
"SELECT * FROM file_data WHERE file_id = %s"1
  • /components/ILIAS/File/classes/class.ilObjFile.php
'SELECT id FROM file_usage WHERE usage_type = ' . $ilDB->quote($a_type, "text") . " AND usage_id= " . $ilDB->quote($a_id, "integer") . " AND usage_lang= " . $ilDB->quote($a_usage_lang, "text") . $and_hist1
  • /components/ILIAS/File/classes/trait.ilObjFileUsages.php
"DELETE FROM file_usage WHERE usage_type = " . $ilDB->quote($a_type, "text") . " AND usage_id = " . $ilDB->quote((int) $a_id, "integer") . " AND usage_lang= " . $ilDB->quote($a_usage_lang, "text") . " AND usage_hist_nr = " . $ilDB->quote($a_usage_hist_nr, "integer")1
  • /components/ILIAS/File/classes/trait.ilObjFileUsages.php
"SELECT * FROM file_usage WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/File/classes/trait.ilObjFileUsages.php
'SELECT * FROM file_usage WHERE usage_id = ' . $ilDB->quote($a_id, "integer") . " AND " . "usage_type = " . $ilDB->quote($a_type, "text") . " AND " . $lstr . "usage_hist_nr = " . $ilDB->quote($a_usage_hist_nr, "integer")1
  • /components/ILIAS/File/classes/trait.ilObjFileUsages.php
"SELECT on_click_mode FROM file_data WHERE file_id = %s;"1
  • /components/ILIAS/File/classes/class.ilObjFileAccess.php
"INSERT IGNORE settings (module, keyword, value) VALUES (%s, %s, %s)"1
  • /components/ILIAS/File/classes/Setup/class.ilFileObjectSettingsUpdatedObjective.php
"UPDATE settings SET module = 'file_access' WHERE keyword = 'bgtask_download'"1
  • /components/ILIAS/File/classes/Setup/class.ilFileObjectSettingsUpdatedObjective.php
" UPDATE file_data SET downloads = ( SELECT COALESCE(SUM(read_event.read_count), 0) FROM read_event WHERE read_event.obj_id = file_data.file_id ); "1
  • /components/ILIAS/File/classes/Setup/Database/class.ilFileObjectDatabaseObjective.php
"UPDATE il_file_icon_suffixes SET suffix = REPLACE(suffix, 'icon_file_', '') WHERE suffix LIKE 'icon_file_%';"1
  • /components/ILIAS/File/classes/Setup/Database/class.ilFileObjectDatabaseObjective.php
"UPDATE `object_data` SET `offline` = 0 WHERE `type` = \"file\" AND `offline` IS NULL"1
  • /components/ILIAS/File/classes/Setup/Database/class.ilFileObjectDatabaseObjective.php
"SELECT ops_id FROM rbac_operations WHERE operation = %s"1
  • /components/ILIAS/File/classes/Setup/Database/class.ilFileObjectRBACDatabaseSteps.php
"SELECT * from rbac_templates WHERE type = %s AND ops_id = %s"1
  • /components/ILIAS/File/classes/Setup/Database/class.ilFileObjectRBACDatabaseSteps.php
"SELECT op_order FROM rbac_operations WHERE operation = %s"1
  • /components/ILIAS/File/classes/Setup/Database/class.ilFileObjectRBACDatabaseSteps.php
"SELECT title, rid, file_id, page_count, on_click_mode FROM file_data JOIN object_data ON object_data.obj_id = file_data.file_id JOIN object_reference ON object_reference.obj_id = object_data.obj_id WHERE rid IS NOT NULL AND " . $this->db->in('ref_id', $ids, false, 'integer')1
  • /components/ILIAS/File/classes/Info/class.ilObjFileInfoRepository.php
"SELECT title, rid, file_id, page_count, on_click_mode FROM file_data JOIN object_data ON object_data.obj_id = file_data.file_id WHERE rid IS NOT NULL AND " . $this->db->in('file_id', $ids, false, 'integer')1
  • /components/ILIAS/File/classes/Info/class.ilObjFileInfoRepository.php
"SELECT rid FROM " . self::SUFFIX_TABLE_NAME . " WHERE suffix IN (" . implode(',', $suffixes) . ")"1
  • /components/ILIAS/File/classes/Icons/IconDatabaseRepository.php
"SELECT i." . self::ICON_RESOURCE_IDENTIFICATION . ", i." . self::ICON_ACTIVE . ", i." . self::IS_DEFAULT_ICON . ", GROUP_CONCAT(s." . self::SUFFIX . ") AS " . self::SUFFIXES . " FROM " . self::ICON_TABLE_NAME . " AS i" . " JOIN " . self::SUFFIX_TABLE_NAME . " AS s" . " ON " . "i." . self::ICON_RESOURCE_IDENTIFICATION . " = " . "s." . self::ICON_RESOURCE_IDENTIFICATION1
  • /components/ILIAS/File/classes/Icons/IconDatabaseRepository.php
"SELECT i." . self::ICON_RESOURCE_IDENTIFICATION . ", i." . self::ICON_ACTIVE . ", i." . self::IS_DEFAULT_ICON . ", GROUP_CONCAT(s." . self::SUFFIX . ") AS " . self::SUFFIXES . " FROM " . self::ICON_TABLE_NAME . " AS i" . " INNER JOIN " . self::SUFFIX_TABLE_NAME . " AS s" . " ON " . "i." . self::ICON_RESOURCE_IDENTIFICATION . " = " . "s." . self::ICON_RESOURCE_IDENTIFICATION . " GROUP BY i." . self::ICON_RESOURCE_IDENTIFICATION1
  • /components/ILIAS/File/classes/Icons/IconDatabaseRepository.php
"SELECT i." . self::ICON_RESOURCE_IDENTIFICATION . ", i." . self::ICON_ACTIVE . ", i." . self::IS_DEFAULT_ICON . ", GROUP_CONCAT(s." . self::SUFFIX . ") AS " . self::SUFFIXES . " FROM " . self::ICON_TABLE_NAME . " AS i" . " INNER JOIN " . self::SUFFIX_TABLE_NAME . " AS s" . " ON " . "i." . self::ICON_RESOURCE_IDENTIFICATION . " = " . "s." . self::ICON_RESOURCE_IDENTIFICATION . " WHERE i." . self::ICON_RESOURCE_IDENTIFICATION . " = %s" . " GROUP BY i." . self::ICON_RESOURCE_IDENTIFICATION1
  • /components/ILIAS/File/classes/Icons/IconDatabaseRepository.php
"SELECT s." . self::ICON_RESOURCE_IDENTIFICATION . " FROM " . self::SUFFIX_TABLE_NAME . " AS s" . " INNER JOIN " . self::ICON_TABLE_NAME . " AS i" . " ON s." . self::ICON_RESOURCE_IDENTIFICATION . " = i." . self::ICON_RESOURCE_IDENTIFICATION . " WHERE s." . self::SUFFIX . " = %s AND i." . self::ICON_ACTIVE . " = %s"1
  • /components/ILIAS/File/classes/Icons/IconDatabaseRepository.php
"DELETE FROM " . self::ICON_TABLE_NAME . " WHERE " . self::ICON_RESOURCE_IDENTIFICATION . " = %s"1
  • /components/ILIAS/File/classes/Icons/IconDatabaseRepository.php
"SELECT * FROM " . IconDatabaseRepository::SUFFIX_TABLE_NAME . " AS s" . " INNER JOIN " . IconDatabaseRepository::ICON_TABLE_NAME . " AS i" . " ON s." . IconDatabaseRepository::ICON_RESOURCE_IDENTIFICATION . " = i." . IconDatabaseRepository::ICON_RESOURCE_IDENTIFICATION . " WHERE s." . IconDatabaseRepository::SUFFIX . " = %s AND i." . IconDatabaseRepository::IS_DEFAULT_ICON . " = %s"1
  • /components/ILIAS/File/classes/Icons/class.ilObjFileDefaultIconsObjective.php
"DELETE FROM " . IconDatabaseRepository::ICON_TABLE_NAME1
  • /components/ILIAS/File/classes/Icons/class.ilObjFileDefaultIconsObjective.php
"DELETE FROM " . IconDatabaseRepository::SUFFIX_TABLE_NAME1
  • /components/ILIAS/File/classes/Icons/class.ilObjFileDefaultIconsObjective.php
"SELECT rid FROM " . IconDatabaseRepository::ICON_TABLE_NAME . " WHERE " . IconDatabaseRepository::IS_DEFAULT_ICON . " = 1"1
  • /components/ILIAS/File/classes/Icons/class.ilObjFileDefaultIconsObjective.php
"DELETE FROM " . IconDatabaseRepository::ICON_TABLE_NAME . " WHERE " . IconDatabaseRepository::IS_DEFAULT_ICON . " = 1"1
  • /components/ILIAS/File/classes/Icons/class.ilObjFileDefaultIconsObjective.php
"SELECT " . IconDatabaseRepository::SUFFIX . " FROM " . IconDatabaseRepository::SUFFIX_TABLE_NAME . " WHERE " . $db->in(IconDatabaseRepository::ICON_RESOURCE_IDENTIFICATION, $rids, false, 'text')1
  • /components/ILIAS/File/classes/Icons/class.ilObjFileDefaultIconsObjective.php
"DELETE FROM " . IconDatabaseRepository::SUFFIX_TABLE_NAME . " WHERE " . $db->in(IconDatabaseRepository::ICON_RESOURCE_IDENTIFICATION, $rids, false, 'text')1
  • /components/ILIAS/File/classes/Icons/class.ilObjFileDefaultIconsObjective.php
"SELECT " . IconDatabaseRepository::ICON_RESOURCE_IDENTIFICATION . " FROM " . IconDatabaseRepository::SUFFIX_TABLE_NAME . " WHERE " . $db->in(IconDatabaseRepository::SUFFIX, $suffixes, false, 'text')1
  • /components/ILIAS/File/classes/Icons/class.ilObjFileDefaultIconsObjective.php
"UPDATE " . IconDatabaseRepository::ICON_TABLE_NAME . " SET " . IconDatabaseRepository::ICON_ACTIVE . " = 0 WHERE " . $db->in(IconDatabaseRepository::ICON_RESOURCE_IDENTIFICATION, $rids, false, 'text')1
  • /components/ILIAS/File/classes/Icons/class.ilObjFileDefaultIconsObjective.php
"DELETE su FROM " . IconDatabaseRepository::SUFFIX_TABLE_NAME . " su LEFT JOIN " . IconDatabaseRepository::ICON_TABLE_NAME . " i ON su." . IconDatabaseRepository::ICON_RESOURCE_IDENTIFICATION . " = i." . IconDatabaseRepository::ICON_RESOURCE_IDENTIFICATION . " WHERE i." . IconDatabaseRepository::ICON_RESOURCE_IDENTIFICATION . " IS NULL"1
  • /components/ILIAS/File/classes/Icons/class.ilObjFileDefaultIconsObjective.php
"SELECT * FROM " . IconDatabaseRepository::ICON_TABLE_NAME . " WHERE " . IconDatabaseRepository::IS_DEFAULT_ICON . " = 1"1
  • /components/ILIAS/File/classes/Icons/class.ilObjFileDefaultIconsObjective.php
'SELECT rid FROM file_data WHERE file_id = %s'1
  • /components/ILIAS/File/classes/Preview/class.ilObjFilePreviewRendererGUI.php
"SELECT ref_id FROM object_reference JOIN object_data ON object_reference.obj_id = object_data.obj_id WHERE object_data.type = 'facs';"1
  • /components/ILIAS/FileServices/classes/class.ilFileServicesSettings.php
"SELECT * FROM il_upload_policy WHERE policy_id = %s"1
  • /components/ILIAS/FileServices/classes/UploadService/UploadLimits/UploadPolicyDBRepository.php
"SELECT * FROM il_upload_policy"1
  • /components/ILIAS/FileServices/classes/UploadService/UploadLimits/UploadPolicyDBRepository.php
"DELETE FROM il_upload_policy WHERE policy_id = %s"1
  • /components/ILIAS/FileServices/classes/UploadService/UploadLimits/UploadPolicyDBRepository.php
'SELECT ' . self::FIELD_SUBTYPE_ID . ' ,' . self::FIELD_STATUS . ' ,' . self::FIELD_POINTS . ' ,' . self::FIELD_LP_MODE . ' ,' . self::FIELD_LAST_CHANGED . ' ,' . self::FIELD_OBJ_ID . ' ,' . self::FIELD_DEADLINE_PERIOD . ' ,' . self::FIELD_DEADLINE_DATE . ' ,' . self::FIELD_VALIDITY_QUALIFICATION_PERIOD . ' ,' . self::FIELD_VALIDITY_QUALIFICATION_DATE . ' ,' . self::FIELD_VQ_RESTART_PERIOD . ', ' . self::FIELD_RM_NOT_RESTARTED_BY_USER_DAY . ', ' . self::FIELD_PROC_ENDS_NOT_SUCCESSFUL . ', ' . self::FIELD_SEND_RE_ASSIGNED_MAIL . ', ' . self::FIELD_SEND_INFO_TO_RE_ASSIGN_MAIL . ', ' . self::FIELD_SEND_RISKY_TO_FAIL_MAIL . ', ' . self::FIELD_VQ_RESTART_RECHECK . ' FROM ' . self::TABLE . ' WHERE ' . self::FIELD_SUBTYPE_ID . ' = ' . $this->db->quote($type_id, 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Settings/class.ilStudyProgrammeSettingsDBRepository.php
'SELECT ' . self::FIELD_SUBTYPE_ID . ', ' . self::FIELD_STATUS . ', ' . self::FIELD_POINTS . ', ' . self::FIELD_LP_MODE . ', ' . self::FIELD_LAST_CHANGED . ', ' . self::FIELD_OBJ_ID . ', ' . self::FIELD_DEADLINE_PERIOD . ', ' . self::FIELD_DEADLINE_DATE . ', ' . self::FIELD_VALIDITY_QUALIFICATION_PERIOD . ', ' . self::FIELD_VALIDITY_QUALIFICATION_DATE . ', ' . self::FIELD_VQ_RESTART_PERIOD . ', ' . self::FIELD_RM_NOT_RESTARTED_BY_USER_DAY . ', ' . self::FIELD_PROC_ENDS_NOT_SUCCESSFUL . ', ' . self::FIELD_SEND_RE_ASSIGNED_MAIL . ', ' . self::FIELD_SEND_INFO_TO_RE_ASSIGN_MAIL . ', ' . self::FIELD_SEND_RISKY_TO_FAIL_MAIL . ', ' . self::FIELD_VQ_RESTART_RECHECK . ' FROM ' . self::TABLE . ' WHERE ' . self::FIELD_OBJ_ID . ' = ' . $this->db->quote($obj_id, 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Settings/class.ilStudyProgrammeSettingsDBRepository.php
'DELETE FROM ' . self::TABLE . ' WHERE ' . self::FIELD_OBJ_ID . ' = ' . $this->db->quote($obj_id, 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Settings/class.ilStudyProgrammeSettingsDBRepository.php
'SELECT ' . self::FIELD_OBJ_ID . ' FROM ' . self::TABLE . ' WHERE ' . self::FIELD_OBJ_ID . ' = ' . $this->db->quote($obj_id, 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Settings/class.ilStudyProgrammeSettingsDBRepository.php
'SELECT ' . self::FIELD_OBJ_ID . ', ' . self::FIELD_PROC_ENDS_NOT_SUCCESSFUL . ' FROM ' . self::TABLE . PHP_EOL . ' WHERE ' . self::FIELD_STATUS . ' = ' . ilStudyProgrammeSettings::STATUS_ACTIVE . ' AND ' . self::FIELD_PROC_ENDS_NOT_SUCCESSFUL . ' IS NOT NULL'1
  • /components/ILIAS/StudyProgramme/classes/model/Settings/class.ilStudyProgrammeSettingsDBRepository.php
'SELECT ' . self::FIELD_OBJ_ID . ', ' . self::FIELD_RM_NOT_RESTARTED_BY_USER_DAY . ' FROM ' . self::TABLE . PHP_EOL . ' WHERE ' . self::FIELD_STATUS . ' = ' . ilStudyProgrammeSettings::STATUS_ACTIVE . ' AND ' . self::FIELD_RM_NOT_RESTARTED_BY_USER_DAY . ' IS NOT NULL'1
  • /components/ILIAS/StudyProgramme/classes/model/Settings/class.ilStudyProgrammeSettingsDBRepository.php
'SELECT ' . self::FIELD_OBJ_ID . ', ' . self::FIELD_VQ_RESTART_PERIOD . ' FROM ' . self::TABLE . PHP_EOL . ' WHERE ' . self::FIELD_STATUS . ' = ' . ilStudyProgrammeSettings::STATUS_ACTIVE . ' AND ' . self::FIELD_VQ_RESTART_PERIOD . ' >= 0'1
  • /components/ILIAS/StudyProgramme/classes/model/Settings/class.ilStudyProgrammeSettingsDBRepository.php
'SELECT ' . self::FIELD_PRG_OBJ_ID . ',' . self::FIELD_CAT_REF_ID . ',' . self::FIELD_EDITOR_ID . ',' . self::FIELD_LAST_EDITED . PHP_EOL . 'FROM ' . self::TABLE . PHP_EOL . 'WHERE ' . self::FIELD_PRG_OBJ_ID . ' = ' . $this->db->quote($prg_obj_id, 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/AutoCategories/class.ilStudyProgrammeAutoCategoryDBRepository.php
'DELETE FROM ' . self::TABLE . PHP_EOL . 'WHERE prg_obj_id = ' . $ac->getPrgObjId( ) . PHP_EOL . 'AND cat_ref_id = ' . $ac->getCategoryRefId( )1
  • /components/ILIAS/StudyProgramme/classes/model/AutoCategories/class.ilStudyProgrammeAutoCategoryDBRepository.php
'DELETE FROM ' . self::TABLE . PHP_EOL . 'WHERE prg_obj_id = ' . $this->db->quote($prg_obj_id, 'integer') . PHP_EOL . 'AND cat_ref_id IN (' . $ids . ')'1
  • /components/ILIAS/StudyProgramme/classes/model/AutoCategories/class.ilStudyProgrammeAutoCategoryDBRepository.php
'SELECT ' . self::FIELD_PRG_OBJ_ID . PHP_EOL . 'FROM ' . self::TABLE . ' prgs' . PHP_EOL . 'INNER JOIN object_reference oref ON ' . 'prgs.' . self::FIELD_PRG_OBJ_ID . ' = oref.obj_id' . PHP_EOL . 'WHERE ' . self::FIELD_CAT_REF_ID . ' = ' . $ilDB->quote($cat_ref_id, 'integer') . PHP_EOL . 'AND oref.deleted IS NULL'1
  • /components/ILIAS/StudyProgramme/classes/model/AutoCategories/class.ilStudyProgrammeAutoCategoryDBRepository.php
'UPDATE ' . self::TYPE_TABLE . ' SET' . ' ' . self::FIELD_DEFAULT_LANG . ' = ' . $this->db->quote($row[self::FIELD_DEFAULT_LANG], 'text') . ' ,' . self::FIELD_OWNER . ' = ' . $this->db->quote($row[self::FIELD_OWNER], 'integer') . ' ,' . self::FIELD_CREATE_DATE . ' = ' . $this->db->quote($row[self::FIELD_CREATE_DATE], 'text') . ' ,' . self::FIELD_LAST_UPDATE . ' = ' . $this->db->quote($row[self::FIELD_LAST_UPDATE], 'text') . ' ,' . self::FIELD_ICON . ' = ' . $this->db->quote($row[self::FIELD_ICON], 'text') . ' WHERE ' . self::FIELD_ID . ' = ' . $this->db->quote($row[self::FIELD_ID], 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Types/class.ilStudyProgrammeTypeDBRepository.php
'UPDATE ' . self::AMD_TABLE . ' SET' . ' ' . self::FIELD_REC_ID . ' = ' . $this->db->quote($row[self::FIELD_REC_ID], 'integer') . ' ,' . self::FIELD_TYPE_ID . ' = ' . $this->db->quote($row[self::FIELD_TYPE_ID], 'integer') . ' WHERE ' . self::FIELD_ID . ' = ' . $this->db->quote($row[self::FIELD_ID], 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Types/class.ilStudyProgrammeTypeDBRepository.php
'UPDATE ' . self::TYPE_TRANSLATION_TABLE . ' SET' . ' ' . self::FIELD_PRG_TYPE_ID . ' = ' . $this->db->quote($row[self::FIELD_PRG_TYPE_ID], 'integer') . ' ,' . self::FIELD_LANG . ' = ' . $this->db->quote($row[self::FIELD_LANG], 'text') . ' ,' . self::FIELD_MEMBER . ' = ' . $this->db->quote($row[self::FIELD_MEMBER], 'text') . ' ,' . self::FIELD_VALUE . ' = ' . $this->db->quote($row[self::FIELD_VALUE], 'text') . ' WHERE ' . self::FIELD_ID . ' = ' . $this->db->quote($row[self::FIELD_ID], 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Types/class.ilStudyProgrammeTypeDBRepository.php
'DELETE FROM ' . self::TYPE_TABLE . ' WHERE ' . self::FIELD_ID . ' = ' . $type->getId( )1
  • /components/ILIAS/StudyProgramme/classes/model/Types/class.ilStudyProgrammeTypeDBRepository.php
'DELETE FROM ' . self::TYPE_TRANSLATION_TABLE . ' WHERE ' . self::FIELD_PRG_TYPE_ID . ' = ' . $this->db->quote($type_id, 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Types/class.ilStudyProgrammeTypeDBRepository.php
'DELETE FROM ' . self::AMD_TABLE . ' WHERE ' . self::FIELD_TYPE_ID . ' = ' . $this->db->quote($type_id, 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Types/class.ilStudyProgrammeTypeDBRepository.php
'DELETE FROM ' . self::AMD_TABLE . ' WHERE ' . self::FIELD_ID . ' = ' . $this->db->quote($rec->getId( ), 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Types/class.ilStudyProgrammeTypeDBRepository.php
'DELETE FROM ' . self::TYPE_TRANSLATION_TABLE . ' WHERE ' . self::FIELD_ID . ' = ' . $this->db->quote($tt->getId( ), 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Types/class.ilStudyProgrammeTypeDBRepository.php
'DELETE FROM ' . self::TYPE_TRANSLATION_TABLE . ' WHERE ' . self::FIELD_REC_ID . ' = ' . $this->db->quote($type_id, 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Types/class.ilStudyProgrammeTypeDBRepository.php
'SELECT count(*) AS cnt FROM ' . self::TYPE_TABLE1
  • /components/ILIAS/StudyProgramme/classes/model/Types/class.ilStudyProgrammeTypeDBRepository.php
'SELECT ' . self::FIELD_REC_ID . ' FROM ' . self::AMD_TABLE1
  • /components/ILIAS/StudyProgramme/classes/model/Types/class.ilStudyProgrammeTypeDBRepository.php
'SELECT ' . implode(',', $user_data_fields) . PHP_EOL . 'FROM usr_data WHERE usr_id = ' . $this->db->quote($usr_id, 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Assignments/class.ilPRGAssignmentDBRepository.php
'DELETE FROM ' . self::ASSIGNMENT_TABLE . PHP_EOL . 'WHERE ' . self::ASSIGNMENT_FIELD_ID . ' = ' . $ass_id1
  • /components/ILIAS/StudyProgramme/classes/model/Assignments/class.ilPRGAssignmentDBRepository.php
'DELETE FROM ' . self::PROGRESS_TABLE . PHP_EOL . 'WHERE ' . self::PROGRESS_FIELD_ASSIGNMENT_ID . ' = ' . $ass_id1
  • /components/ILIAS/StudyProgramme/classes/model/Assignments/class.ilPRGAssignmentDBRepository.php
'DELETE FROM ' . self::ASSIGNMENT_TABLE . PHP_EOL . 'WHERE ' . self::ASSIGNMENT_FIELD_ROOT_PRG_ID . '=' . $this->db->quote($prg_obj_id, 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Assignments/class.ilPRGAssignmentDBRepository.php
'DELETE FROM ' . self::PROGRESS_TABLE . PHP_EOL . 'WHERE ' . self::PROGRESS_FIELD_ASSIGNMENT_ID . PHP_EOL . 'NOT IN (' . PHP_EOL . 'SELECT ' . $this->db->quoteIdentifier(self::ASSIGNMENT_FIELD_ID) . ' FROM ' . $this->db->quoteIdentifier(self::ASSIGNMENT_TABLE) . PHP_EOL . ');' . PHP_EOL1
  • /components/ILIAS/StudyProgramme/classes/model/Assignments/class.ilPRGAssignmentDBRepository.php
'SELECT * FROM ' . self::PROGRESS_TABLE . ' WHERE ' . self::PROGRESS_FIELD_ASSIGNMENT_ID . ' = ' . $assignment_id1
  • /components/ILIAS/StudyProgramme/classes/model/Assignments/class.ilPRGAssignmentDBRepository.php
'UPDATE ' . self::ASSIGNMENT_TABLE . ' SET' . ' ' . self::ASSIGNMENT_FIELD_USR_ID . ' = ' . $this->db->quote($values[self::ASSIGNMENT_FIELD_USR_ID], 'integer') . ' ,' . self::ASSIGNMENT_FIELD_ROOT_PRG_ID . ' = ' . $this->db->quote($values[self::ASSIGNMENT_FIELD_ROOT_PRG_ID], 'integer') . ' ,' . self::ASSIGNMENT_FIELD_LAST_CHANGE . ' = ' . $this->db->quote($values[self::ASSIGNMENT_FIELD_LAST_CHANGE], 'text') . ' ,' . self::ASSIGNMENT_FIELD_LAST_CHANGE_BY . ' = ' . $this->db->quote($values[self::ASSIGNMENT_FIELD_LAST_CHANGE_BY], 'integer') . ' ,' . self::ASSIGNMENT_FIELD_RESTART_DATE . ' = ' . $this->db->quote($values[self::ASSIGNMENT_FIELD_RESTART_DATE], 'timestamp') . ' ,' . self::ASSIGNMENT_FIELD_RESTARTED_ASSIGNMENT_ID . ' = ' . $this->db->quote($values[self::ASSIGNMENT_FIELD_RESTARTED_ASSIGNMENT_ID], 'integer') . ' ,' . self::ASSIGNMENT_FIELD_MANUALLY_ASSIGNED . ' = ' . $this->db->quote($values[self::ASSIGNMENT_FIELD_MANUALLY_ASSIGNED], 'integer') . ' WHERE ' . self::ASSIGNMENT_FIELD_ID . ' = ' . $this->db->quote($values[self::ASSIGNMENT_FIELD_ID], 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/Assignments/class.ilPRGAssignmentDBRepository.php
'INSERT INTO ' . self::PROGRESS_TABLE . '(' . self::PROGRESS_FIELD_ASSIGNMENT_ID . ',' . self::PROGRESS_FIELD_USR_ID . ',' . self::PROGRESS_FIELD_PRG_ID . ',' . self::PROGRESS_FIELD_STATUS . ',' . self::PROGRESS_FIELD_POINTS . ',' . self::PROGRESS_FIELD_POINTS_CUR . ',' . self::PROGRESS_FIELD_COMPLETION_BY . ',' . self::PROGRESS_FIELD_LAST_CHANGE_BY . ',' . self::PROGRESS_FIELD_LAST_CHANGE . ',' . self::PROGRESS_FIELD_ASSIGNMENT_DATE . ',' . self::PROGRESS_FIELD_COMPLETION_DATE . ',' . self::PROGRESS_FIELD_DEADLINE . ',' . self::PROGRESS_FIELD_VQ_DATE . ',' . self::PROGRESS_FIELD_INVALIDATED . ',' . self::PROGRESS_FIELD_IS_INDIVIDUAL . PHP_EOL . ') VALUES (' . PHP_EOL . $assignment_id . ' ,' . $usr_id . ' ,' . $pgs->getNodeId( ) . ' ,' . $pgs->getStatus( ) . ' ,' . $pgs->getAmountOfPoints( ) . ' ,' . $pgs->getCurrentAmountOfPoints( ) . ' ,' . $completion . ' ,' . $pgs->getLastChangeBy( ) . ' ,' . $lastchange . ' ,' . $assign_date . ' ,' . $completion_date . ' ,' . $deadline . ' ,' . $validity . ' ,' . $invalidated . ' ,' . $individual . ')' . PHP_EOL . 'ON DUPLICATE KEY UPDATE' . PHP_EOL . self::PROGRESS_FIELD_STATUS . '=' . $pgs->getStatus( ) . ',' . self::PROGRESS_FIELD_POINTS . '=' . $pgs->getAmountOfPoints( ) . ',' . self::PROGRESS_FIELD_POINTS_CUR . '=' . $pgs->getCurrentAmountOfPoints( ) . ',' . self::PROGRESS_FIELD_COMPLETION_BY . '=' . $completion . ',' . self::PROGRESS_FIELD_LAST_CHANGE_BY . '=' . $pgs->getLastChangeBy( ) . ',' . self::PROGRESS_FIELD_LAST_CHANGE . '=' . $lastchange . ',' . self::PROGRESS_FIELD_ASSIGNMENT_DATE . '=' . $assign_date . ',' . self::PROGRESS_FIELD_COMPLETION_DATE . '=' . $completion_date . ',' . self::PROGRESS_FIELD_DEADLINE . '=' . $deadline . ',' . self::PROGRESS_FIELD_VQ_DATE . '=' . $validity . ',' . self::PROGRESS_FIELD_INVALIDATED . '=' . $invalidated . ',' . self::PROGRESS_FIELD_IS_INDIVIDUAL . '=' . $individual1
  • /components/ILIAS/StudyProgramme/classes/model/Assignments/class.ilPRGAssignmentDBRepository.php
'SELECT ' . self::FIELD_PRG_OBJ_ID . ',' . self::FIELD_SOURCE_TYPE . ',' . self::FIELD_SOURCE_ID . ',' . self::FIELD_ENABLED . ',' . self::FIELD_EDITOR_ID . ',' . self::FIELD_LAST_EDITED . ',' . self::FIELD_SEARCH_RECURSIVE . PHP_EOL . 'FROM ' . self::TABLE . PHP_EOL . 'WHERE ' . self::FIELD_PRG_OBJ_ID . ' = ' . $this->db->quote($prg_obj_id, 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/AutoMemberships/class.ilStudyProgrammeAutoMembershipsDBRepository.php
'DELETE FROM ' . self::TABLE . PHP_EOL . 'WHERE prg_obj_id = ' . $ams->getPrgObjId( ) . PHP_EOL . 'AND ' . self::FIELD_SOURCE_TYPE . ' = ' . $this->db->quote($ams->getSourceType( ), 'string') . PHP_EOL . 'AND ' . self::FIELD_SOURCE_ID . ' = ' . $ams->getSourceId( )1
  • /components/ILIAS/StudyProgramme/classes/model/AutoMemberships/class.ilStudyProgrammeAutoMembershipsDBRepository.php
'DELETE FROM ' . self::TABLE . PHP_EOL . 'WHERE prg_obj_id = ' . $this->db->quote($prg_obj_id, 'integer') . PHP_EOL . 'AND ' . self::FIELD_SOURCE_TYPE . ' = ' . $this->db->quote($source_type, 'string') . PHP_EOL . 'AND ' . self::FIELD_SOURCE_ID . ' = ' . $this->db->quote($source_id, 'integer')1
  • /components/ILIAS/StudyProgramme/classes/model/AutoMemberships/class.ilStudyProgrammeAutoMembershipsDBRepository.php
"SELECT path FROM tree WHERE child = " . $db->quote($source_id, "integer")1
  • /components/ILIAS/StudyProgramme/classes/model/AutoMemberships/class.ilStudyProgrammeAutoMembershipsDBRepository.php
'SELECT ' . self::FIELD_PRG_OBJ_ID . PHP_EOL . 'FROM ' . self::TABLE . ' prgs' . PHP_EOL . 'INNER JOIN object_reference oref ON ' . PHP_EOL . 'prgs.' . self::FIELD_PRG_OBJ_ID . ' = oref.obj_id' . PHP_EOL . 'WHERE (' . self::FIELD_SOURCE_ID . ' = ' . $db->quote($source_id, 'integer') . PHP_EOL . ' OR (' . $db->in(self::FIELD_SOURCE_ID, $path, false, 'integer') . ' AND search_recursive = 1)' . PHP_EOL . ')' . PHP_EOL . 'AND ' . self::FIELD_ENABLED . ' = 1' . PHP_EOL . 'AND ' . self::FIELD_SOURCE_TYPE . ' = ' . $db->quote($source_type, 'text') . PHP_EOL . 'AND oref.deleted IS NULL'1
  • /components/ILIAS/StudyProgramme/classes/model/AutoMemberships/class.ilStudyProgrammeAutoMembershipsDBRepository.php
"SELECT o.obj_id, r.ref_id FROM object_data o INNER JOIN object_reference r ON r.obj_id = o.obj_id WHERE title = '__TalkTemplateAdministration' LIMIT 1"1
  • /components/ILIAS/EmployeeTalk/classes/class.ilObjTalkTemplateAdministration.php
" SELECT DISTINCT od.obj_id AS objId, oRef.ref_id AS refId FROM ( SELECT tree.parent AS parent, talk.employee AS employee FROM etal_data AS talk INNER JOIN object_reference AS oRef ON oRef.obj_id = talk.object_id INNER JOIN tree ON tree.child = oRef.ref_id WHERE oRef.deleted IS NULL ) AS talk INNER JOIN object_reference AS oRef ON oRef.ref_id = talk.parent INNER JOIN object_data AS od ON od.obj_id = oRef.obj_id WHERE od.type = 'tals' AND (talk.employee = " . $this->database->quote($userId, 'integer') . " OR od.owner = " . $this->database->quote($userId, 'integer') . ") AND oRef.deleted is null"1
  • /components/ILIAS/EmployeeTalk/classes/TalkSeries/Repository/IliasDBEmployeeTalkSeriesRepository.php
'SELECT * FROM etal_serie WHERE id = ' . $this->database->quote($obj_id, 'integer')1
  • /components/ILIAS/EmployeeTalk/classes/TalkSeries/Repository/IliasDBEmployeeTalkSeriesRepository.php
'DELETE FROM etal_serie WHERE id = ' . $this->database->quote($obj_id, 'integer')1
  • /components/ILIAS/EmployeeTalk/classes/TalkSeries/Repository/IliasDBEmployeeTalkSeriesRepository.php
'SELECT COUNT(*) AS count FROM etal_serie WHERE id = ' . $this->database->quote($obj_id, 'integer')1
  • /components/ILIAS/EmployeeTalk/classes/TalkSeries/Repository/IliasDBEmployeeTalkSeriesRepository.php
"SELECT o.obj_id, r.ref_id FROM object_data o INNER JOIN object_reference r ON r.obj_id = o.obj_id WHERE title = " . $ilDB->quote('__TalkTemplateAdministration', 'text')1
  • /components/ILIAS/EmployeeTalk/classes/Talk/class.ilObjEmployeeTalk.php
'SELECT * FROM etal_data'1
  • /components/ILIAS/EmployeeTalk/classes/Talk/Repository/IliasDBEmployeeTalkRepository.php
'SELECT * FROM etal_data AS talk WHERE ' . $this->database->in('employee', $employees, false, 'integer')1
  • /components/ILIAS/EmployeeTalk/classes/Talk/Repository/IliasDBEmployeeTalkRepository.php
'SELECT * FROM etal_data AS talk INNER JOIN object_data AS od ON od.obj_id = talk.object_id WHERE (' . $this->database->in('employee', $employees, false, 'integer') . ' AND ' . $this->database->in('od.owner', $employees, false, 'integer') . ') OR od.owner = ' . $this->database->quote($user, 'integer') . ' OR employee = ' . $this->database->quote($user, 'integer')1
  • /components/ILIAS/EmployeeTalk/classes/Talk/Repository/IliasDBEmployeeTalkRepository.php
'SELECT * FROM etal_data AS talk INNER JOIN object_data AS od ON od.obj_id = talk.object_id WHERE talk.employee = ' . $this->database->quote($employee, 'integer') . ' AND od.owner = ' . $this->database->quote($owner, 'integer')1
  • /components/ILIAS/EmployeeTalk/classes/Talk/Repository/IliasDBEmployeeTalkRepository.php
'SELECT * FROM etal_data WHERE object_id = ' . $this->database->quote($objectId, 'integer')1
  • /components/ILIAS/EmployeeTalk/classes/Talk/Repository/IliasDBEmployeeTalkRepository.php
'DELETE FROM etal_data WHERE object_id = ' . $this->database->quote($talk->getObjectId( ), 'integer')1
  • /components/ILIAS/EmployeeTalk/classes/Talk/Repository/IliasDBEmployeeTalkRepository.php
'SELECT * FROM etal_data WHERE employee = ' . $this->database->quote($iliasUserId, 'integer')1
  • /components/ILIAS/EmployeeTalk/classes/Talk/Repository/IliasDBEmployeeTalkRepository.php
'SELECT * FROM etal_data WHERE series_id = ' . $this->database->quote($seriesId, 'text')1
  • /components/ILIAS/EmployeeTalk/classes/Talk/Repository/IliasDBEmployeeTalkRepository.php
"SELECT * FROM copg_pc_def ORDER BY order_nr"1
  • /components/ILIAS/COPage/PC/class.PCDefinition.php
"DELETE FROM copg_section_timings WHERE " . " page_id = " . $ilDB->quote($a_page->getId( ), "integer") . " AND parent_type = " . $ilDB->quote($a_page->getParentType( ), "text")1
  • /components/ILIAS/COPage/PC/Section/class.ilPCSection.php
"SELECT * FROM copg_section_timings " . " WHERE page_id = " . $ilDB->quote($a_page->getId( ), "integer") . " AND parent_type = " . $ilDB->quote($a_page->getParentType( ), "text")1
  • /components/ILIAS/COPage/PC/Section/class.ilPCSection.php
"DELETE FROM page_anchor WHERE " . " page_parent_type = " . $ilDB->quote($a_parent_type, "text") . " AND page_id = " . $ilDB->quote($a_page_id, "integer") . " AND page_lang = " . $ilDB->quote($a_page_lang, "text")1
  • /components/ILIAS/COPage/PC/Paragraph/class.ilPCParagraph.php
"INSERT INTO page_anchor " . "(page_parent_type, page_id, page_lang, anchor_name) VALUES (" . $ilDB->quote($a_parent_type, "text") . "," . $ilDB->quote($a_page_id, "integer") . "," . $ilDB->quote($a_page_lang, "text") . "," . $ilDB->quote($a_anchor_name, "text") . ")"1
  • /components/ILIAS/COPage/PC/Paragraph/class.ilPCParagraph.php
"SELECT * FROM page_anchor " . " WHERE page_parent_type = " . $ilDB->quote($a_parent_type, "text") . " AND page_id = " . $ilDB->quote($a_page_id, "integer") . $and_lang1
  • /components/ILIAS/COPage/PC/Paragraph/class.ilPCParagraph.php
"SELECT * FROM page_question WHERE page_parent_type = %s " . " AND page_id = %s AND page_lang = %s"1
  • /components/ILIAS/COPage/PC/Question/class.ilPCQuestion.php
"SELECT * FROM page_question " . " WHERE question_id = " . $ilDB->quote($a_q_id, "integer")1
  • /components/ILIAS/COPage/PC/Question/class.ilPCQuestion.php
"SELECT est_reading_time FROM page_object " . " WHERE page_id = %s AND parent_type = %s AND lang = %s"1
  • /components/ILIAS/COPage/ReadingTime/class.ReadingTimeDBRepo.php
"SELECT * FROM page_object " . " WHERE parent_id = " . $db->quote($a_parent_id, "integer") . " AND parent_type = " . $db->quote($a_parent_type, "text") . " AND est_reading_time = " . $db->quote(0, "integer")1
  • /components/ILIAS/COPage/ReadingTime/class.ReadingTimeDBRepo.php
"SELECT SUM(est_reading_time) as rt FROM page_object " . " WHERE parent_id = " . $db->quote($a_parent_id, "integer") . " AND parent_type = " . $db->quote($a_parent_type, "text") . " AND lang = " . $db->quote("-", "text")1
  • /components/ILIAS/COPage/ReadingTime/class.ReadingTimeDBRepo.php
"SELECT * FROM page_qst_answer WHERE " . " qst_id = " . $ilDB->quote($a_id, "integer") . " AND " . " user_id = " . $ilDB->quote($ilUser->getId( ), "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageQuestionProcessor.php
"UPDATE page_qst_answer SET " . " try = try + 1," . " passed = " . $ilDB->quote($passed, "integer") . "," . " points = " . $ilDB->quote($points, "float") . " WHERE qst_id = " . $ilDB->quote($a_id, "integer") . " AND user_id = " . $ilDB->quote($ilUser->getId( ), "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageQuestionProcessor.php
"SELECT count(user_id) usr_cnt FROM page_qst_answer WHERE " . " qst_id = " . $ilDB->quote($a_q_id, "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageQuestionProcessor.php
"SELECT count(user_id) usr_cnt FROM page_qst_answer WHERE " . " qst_id = " . $ilDB->quote($a_q_id, "integer") . " AND " . " passed = " . $ilDB->quote(1, "integer") . " AND " . " try = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageQuestionProcessor.php
"SELECT count(user_id) usr_cnt FROM page_qst_answer WHERE " . " qst_id = " . $ilDB->quote($a_q_id, "integer") . " AND " . " passed = " . $ilDB->quote(1, "integer") . " AND " . " try = " . $ilDB->quote(2, "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageQuestionProcessor.php
"SELECT count(user_id) usr_cnt FROM page_qst_answer WHERE " . " qst_id = " . $ilDB->quote($a_q_id, "integer") . " AND " . " passed = " . $ilDB->quote(1, "integer") . " AND " . " try >= " . $ilDB->quote(3, "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageQuestionProcessor.php
"SELECT * FROM page_qst_answer WHERE " . $qst . $and1
  • /components/ILIAS/COPage/classes/class.ilPageQuestionProcessor.php
"UPDATE page_qst_answer SET " . " try = " . $ilDB->quote(0, "integer") . "," . " passed = " . $ilDB->quote(0, "integer") . "," . " points = " . $ilDB->quote(0, "integer") . "," . " unlocked = " . $ilDB->quote(0, "integer") . " WHERE qst_id = " . $ilDB->quote($a_q_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageQuestionProcessor.php
"UPDATE page_qst_answer SET " . " unlocked = " . $ilDB->quote(1, "integer") . " WHERE qst_id = " . $ilDB->quote($a_q_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageQuestionProcessor.php
"DELETE FROM page_pc_usage WHERE usage_type = " . $ilDB->quote($a_usage_type, "text") . " AND usage_id = " . $ilDB->quote($a_usage_id, "integer") . " AND usage_lang = " . $ilDB->quote($a_lang, "text") . $and_hist . " AND pc_type = " . $ilDB->quote($a_pc_type, "text")1
  • /components/ILIAS/COPage/classes/class.ilPageContentUsage.php
"SELECT * FROM page_pc_usage " . " WHERE pc_type = " . $ilDB->quote($a_pc_type, "text") . " AND pc_id = " . $ilDB->quote($a_pc_id, "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageContentUsage.php
"SELECT pc_type, pc_id FROM page_pc_usage WHERE " . " usage_id = " . $ilDB->quote($a_usage_id, "integer") . " AND " . " usage_lang = " . $ilDB->quote($a_lang, "text") . " AND " . " usage_type = " . $ilDB->quote($a_usage_type, "text") . $hist_str1
  • /components/ILIAS/COPage/classes/class.ilPageContentUsage.php
"SELECT * FROM page_object" . " WHERE page_id = " . $this->db->quote($this->id, "integer") . " AND parent_type=" . $this->db->quote($this->getParentType( ), "text") . " AND lang = " . $this->db->quote($this->getLanguage( ), "text")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT * FROM page_history" . " WHERE page_id = " . $this->db->quote($this->id, "integer") . " AND parent_type=" . $this->db->quote($this->getParentType( ), "text") . " AND nr = " . $this->db->quote($this->old_nr, "integer") . " AND lang = " . $this->db->quote($this->getLanguage( ), "text")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT page_id FROM page_object WHERE page_id = " . $db->quote($a_id, "integer") . " " . "AND parent_type = " . $db->quote($a_parent_type, "text") . $and_lang1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT page_id, parent_type, lang, active, activation_start, activation_end, show_activation_info FROM page_object " . " WHERE parent_id = " . $db->quote($a_parent_id, "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"UPDATE page_object SET active = %s, activation_start = %s, " . " activation_end = %s WHERE page_id = %s" . " AND parent_type = %s AND lang = %s"1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT active, activation_start, activation_end, show_activation_info FROM page_object WHERE page_id = %s" . " AND parent_type = %s AND lang = %s"1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT parent_id FROM page_object WHERE page_id = " . $db->quote($a_id, "integer") . " " . "AND parent_type=" . $db->quote($a_type, "text")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"UPDATE page_object SET parent_id = %s WHERE page_id = %s" . " AND parent_type = %s"1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT * FROM page_object WHERE " . "page_id = " . $this->db->quote($this->getId( ), "integer") . " AND " . "parent_type = " . $this->db->quote($this->getParentType( ), "text") . " AND " . "lang = " . $this->db->quote($this->getLanguage( ), "text")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT max(nr) as mnr FROM page_history WHERE " . "page_id = " . $this->db->quote($this->getId( ), "integer") . " AND " . "parent_type = " . $this->db->quote($this->getParentType( ), "text") . " AND " . "lang = " . $this->db->quote($this->getLanguage( ), "text")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"DELETE FROM page_history WHERE " . "page_id = %s AND parent_type = %s AND hdate = %s AND lang = %s"1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"DELETE FROM page_object " . "WHERE page_id = " . $this->db->quote($this->getId( ), "integer") . " AND parent_type= " . $this->db->quote($this->getParentType( ), "text") . $and1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT * FROM page_object WHERE page_id = " . $db->quote($a_id, "integer") . " AND " . " parent_type = " . $db->quote($a_parent_type, "text") . " AND " . " lang = " . $db->quote($a_lang, "text") . " AND " . " inactive_elements = " . $db->quote(1, "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT * FROM page_history " . " WHERE page_id = " . $db->quote($this->getId( ), "integer") . " AND parent_type = " . $db->quote($this->getParentType( ), "text") . " AND lang = " . $db->quote($this->getLanguage( ), "text") . " ORDER BY hdate DESC"1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT * FROM page_history " . " WHERE page_id = %s " . " AND parent_type = %s " . " AND nr = %s" . " AND lang = %s"1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT MAX(nr) mnr FROM page_history " . " WHERE page_id = " . $db->quote($this->getId( ), "integer") . " AND parent_type = " . $db->quote($this->getParentType( ), "text") . " AND lang = " . $db->quote($this->getLanguage( ), "text") . $and_nr1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT MIN(nr) mnr FROM page_history " . " WHERE page_id = " . $db->quote($this->getId( ), "integer") . " AND parent_type = " . $db->quote($this->getParentType( ), "text") . " AND lang = " . $db->quote($this->getLanguage( ), "text") . " AND nr > " . $db->quote($a_nr, "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT * FROM page_history " . " WHERE page_id = " . $db->quote($this->getId( ), "integer") . " AND parent_type = " . $db->quote($this->getParentType( ), "text") . " AND lang = " . $db->quote($this->getLanguage( ), "text") . " AND nr = " . $db->quote($a_nr, "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT page_id, last_change hdate, parent_type, parent_id, last_change_user user_id, content, lang FROM page_object " . " WHERE page_id = " . $db->quote($this->getId( ), "integer") . " AND parent_type = " . $db->quote($this->getParentType( ), "text") . " AND lang = " . $db->quote($this->getLanguage( ), "text")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"UPDATE page_object " . " SET view_cnt = view_cnt + 1 " . " WHERE page_id = " . $db->quote($this->getId( ), "integer") . " AND parent_type = " . $db->quote($this->getParentType( ), "text") . " AND lang = " . $db->quote($this->getLanguage( ), "text")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT * FROM page_object " . " WHERE parent_id = " . $db->quote($a_parent_id, "integer") . " AND parent_type = " . $db->quote($a_parent_type, "text") . " AND last_change >= " . $db->quote($limit_ts, "timestamp") . $and_lang1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT * FROM page_history " . " WHERE parent_id = " . $db->quote($a_parent_id, "integer") . " AND parent_type = " . $db->quote($a_parent_type, "text") . $and_str . $and_lang1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT * FROM page_object " . " WHERE parent_id = " . $db->quote($a_parent_id, "integer") . " AND parent_type = " . $db->quote($a_parent_type, "text") . $and_lang1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT * FROM page_object " . " WHERE parent_id = " . $db->quote($a_parent_id, "integer") . " AND parent_type = " . $db->quote($a_parent_type, "text") . $and_lang . " ORDER BY created DESC"1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT last_change_user, lang, page_id FROM page_object " . " WHERE parent_id = %s AND parent_type = %s " . " AND last_change_user != %s" . $and_lang1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT count(*) as cnt, lang, page_id, user_id FROM page_history " . " WHERE parent_id = %s AND parent_type = %s AND user_id != %s " . $and_lang . " GROUP BY page_id, user_id, lang "1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT last_change_user, lang FROM page_object " . " WHERE page_id = %s AND parent_type = %s " . " AND last_change_user != %s" . $and_lang1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT count(*) as cnt, lang, page_id, user_id FROM page_history " . " WHERE page_id = %s AND parent_type = %s AND user_id != %s " . $and_lang . " GROUP BY user_id, page_id, lang "1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT * FROM page_object " . " WHERE parent_id = " . $db->quote($a_parent_id, "integer") . " AND parent_type = " . $db->quote($a_parent_type, "text") . " AND int_links = " . $db->quote(1, "integer") . $and_lang1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT lang FROM page_object " . " WHERE page_id = " . $db->quote($a_id, "integer") . " AND parent_type = " . $db->quote($a_parent_type, "text")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"UPDATE page_object SET " . " edit_lock_user = " . $db->quote($user->getId( ), "integer") . "," . " edit_lock_ts = " . $db->quote($ts, "integer") . " WHERE (edit_lock_user = " . $db->quote($user->getId( ), "integer") . " OR " . " edit_lock_ts < " . $db->quote(time( ) - ($min * 60), "integer") . ") " . " AND page_id = " . $db->quote($this->getId( ), "integer") . " AND parent_type = " . $db->quote($this->getParentType( ), "text")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"UPDATE page_object SET " . " edit_lock_user = " . $db->quote($user->getId( ), "integer") . "," . " edit_lock_ts = 0" . " WHERE edit_lock_user = " . $db->quote($user->getId( ), "integer") . " AND page_id = " . $db->quote($this->getId( ), "integer") . " AND parent_type = " . $db->quote($this->getParentType( ), "text")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT edit_lock_user, edit_lock_ts FROM page_object " . " WHERE page_id = " . $db->quote($this->getId( ), "integer") . " AND parent_type = " . $db->quote($this->getParentType( ), "text")1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT last_change FROM page_object " . " WHERE parent_id = " . $db->quote($a_parent_id, "integer") . " AND parent_type = " . $db->quote($a_parent_type, "text") . $and_lang . " ORDER BY last_change DESC"1
  • /components/ILIAS/COPage/classes/class.ilPageObject.php
"SELECT page_id, is_empty FROM page_object WHERE page_id = " . $ilDB->quote($a_id, "integer") . " " . "AND parent_type= " . $ilDB->quote($a_parent_type, "text") . $and_lang1
  • /components/ILIAS/COPage/classes/class.ilPageUtil.php
"SELECT page_id, active, activation_start, activation_end, show_activation_info FROM page_object WHERE " . $db->in("page_id", $ids, false, "integer") . " AND parent_type = %s AND lang = %s"1
  • /components/ILIAS/COPage/classes/class.ilPageActivationDBRepository.php
"SELECT * FROM copg_multilang " . " WHERE parent_type = " . $this->db->quote($this->getParentType( ), "text") . " AND parent_id = " . $this->db->quote($this->getParentId( ), "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageMultiLang.php
"SELECT * FROM copg_multilang_lang " . " WHERE parent_type = " . $this->db->quote($this->getParentType( ), "text") . " AND parent_id = " . $this->db->quote($this->getParentId( ), "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageMultiLang.php
"DELETE FROM copg_multilang " . " WHERE parent_type = " . $this->db->quote($this->getParentType( ), "text") . " AND parent_id = " . $this->db->quote($this->getParentId( ), "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageMultiLang.php
"DELETE FROM copg_multilang_lang " . " WHERE parent_type = " . $this->db->quote($this->getParentType( ), "text") . " AND parent_id = " . $this->db->quote($this->getParentId( ), "integer")1
  • /components/ILIAS/COPage/classes/class.ilPageMultiLang.php
"INSERT INTO copg_multilang " . "(parent_type, parent_id, master_lang) VALUES (" . $this->db->quote($this->getParentType( ), "text") . "," . $this->db->quote($this->getParentId( ), "integer") . "," . $this->db->quote($this->getMasterLanguage( ), "text") . ")"1
  • /components/ILIAS/COPage/classes/class.ilPageMultiLang.php
"INSERT INTO copg_multilang_lang " . "(parent_type, parent_id, lang) VALUES (" . $this->db->quote($this->getParentType( ), "text") . "," . $this->db->quote($this->getParentId( ), "integer") . "," . $this->db->quote($lang, "text") . ")"1
  • /components/ILIAS/COPage/classes/class.ilPageMultiLang.php
"SELECT * FROM copg_pobj_def "1
  • /components/ILIAS/COPage/classes/class.ilCOPageObjDef.php
"SELECT layout_id id, title, description, " . " style_id, special_page " . " FROM page_layout " . "WHERE " . $db->in("layout_id", $a_ids, false, "integer")1
  • /components/ILIAS/COPage/classes/class.ilCOPageDataSet.php
"DELETE FROM page_editor_settings WHERE " . "settings_grp = " . $ilDB->quote($a_grp, "text") . " AND name = " . $ilDB->quote($a_name, "text")1
  • /components/ILIAS/COPage/classes/class.ilPageEditorSettings.php
"INSERT INTO page_editor_settings " . "(settings_grp, name, value) VALUES (" . $ilDB->quote($a_grp, "text") . "," . $ilDB->quote($a_name, "text") . "," . $ilDB->quote($a_value, "text") . ")"1
  • /components/ILIAS/COPage/classes/class.ilPageEditorSettings.php
"SELECT value FROM page_editor_settings " . " WHERE settings_grp = " . $ilDB->quote($a_grp, "text") . " AND name = " . $ilDB->quote($a_name, "text")1
  • /components/ILIAS/COPage/classes/class.ilPageEditorSettings.php
"DELETE FROM copg_pc_def"1
  • /components/ILIAS/COPage/classes/Setup/class.ilCOPageDefinitionProcessor.php
"DELETE FROM copg_pobj_def"1
  • /components/ILIAS/COPage/classes/Setup/class.ilCOPageDefinitionProcessor.php
"INSERT INTO copg_pc_def " . "(pc_type, name, component, directory, int_links, style_classes, xsl, def_enabled, top_item, order_nr) VALUES (" . $this->db->quote($attributes["pc_type"], "text") . "," . $this->db->quote($attributes["name"], "text") . "," . $this->db->quote($this->type . "/" . $this->component, "text") . "," . $this->db->quote($attributes["directory"], "text") . "," . $this->db->quote($attributes["int_links"], "integer") . "," . $this->db->quote($attributes["style_classes"], "integer") . "," . $this->db->quote($attributes["xsl"], "integer") . "," . $this->db->quote($attributes["def_enabled"], "integer") . "," . $this->db->quote($attributes["top_item"], "integer") . "," . $this->db->quote($attributes["order_nr"], "integer") . ")"1
  • /components/ILIAS/COPage/classes/Setup/class.ilCOPageDefinitionProcessor.php
"INSERT INTO copg_pobj_def " . "(parent_type, class_name, component, directory) VALUES (" . $this->db->quote($attributes["parent_type"], "text") . "," . $this->db->quote($attributes["class_name"], "text") . "," . $this->db->quote($this->type . "/" . $this->component, "text") . "," . $this->db->quote($attributes["directory"], "text") . ")"1
  • /components/ILIAS/COPage/classes/Setup/class.ilCOPageDefinitionProcessor.php
"SELECT content FROM page_object " . " WHERE page_id = %s AND parent_type = %s AND lang = %s"1
  • /components/ILIAS/COPage/classes/Setup/class.ilCOPageDBUpdateSteps.php
"UPDATE copg_pc_def SET " . PHP_EOL . " component = REPLACE(component, 'Modules', 'components/ILIAS') " . PHP_EOL . " WHERE component LIKE ('Modules/%')"1
  • /components/ILIAS/COPage/classes/Setup/class.ilCOPageDBUpdateSteps.php
"UPDATE copg_pc_def SET " . PHP_EOL . " component = REPLACE(component, 'Services', 'components/ILIAS') " . PHP_EOL . " WHERE component LIKE ('Services/%')"1
  • /components/ILIAS/COPage/classes/Setup/class.ilCOPageDBUpdateSteps.php
"UPDATE page_layout SET active=" . $ilDB->quote($a_setting, "integer") . " WHERE layout_id =" . $ilDB->quote($this->layout_id, "integer")1
  • /components/ILIAS/COPage/Layout/classes/class.ilPageLayout.php
"DELETE FROM page_layout WHERE layout_id =" . $ilDB->quote($this->layout_id, "integer")1
  • /components/ILIAS/COPage/Layout/classes/class.ilPageLayout.php
"UPDATE page_layout SET title=" . $ilDB->quote($this->title, "text") . ",description =" . $ilDB->quote($this->description, "text") . ",active =" . $ilDB->quote($this->active, "integer") . ",mod_scorm =" . $ilDB->quote($mod_scorm, "integer") . ",mod_portfolio =" . $ilDB->quote($mod_portfolio, "integer") . ",mod_lm =" . $ilDB->quote($mod_lm, "integer") . " WHERE layout_id =" . $ilDB->quote($this->layout_id, "integer")1
  • /components/ILIAS/COPage/Layout/classes/class.ilPageLayout.php
"SELECT * FROM page_layout WHERE layout_id =" . $ilDB->quote($this->layout_id, "integer")1
  • /components/ILIAS/COPage/Layout/classes/class.ilPageLayout.php
"SELECT * FROM page_layout $add ORDER BY title "1
  • /components/ILIAS/COPage/Layout/classes/class.ilPageLayout.php
"SELECT layout_id FROM page_layout $add ORDER BY title "1
  • /components/ILIAS/COPage/Layout/classes/class.ilPageLayout.php
"DELETE FROM int_link WHERE source_type = " . $ilDB->quote($a_source_type, "text") . " AND source_id=" . $ilDB->quote($a_source_id, "integer") . $lang_where1
  • /components/ILIAS/COPage/IntLink/class.ilInternalLink.php
"DELETE FROM int_link WHERE target_type = %s " . " AND target_id = %s AND target_inst = %s "1
  • /components/ILIAS/COPage/IntLink/class.ilInternalLink.php
"SELECT * FROM int_link WHERE " . "target_type = " . $ilDB->quote($a_target_type, "text") . " AND " . "target_id = " . $ilDB->quote($a_target_id, "integer") . " AND " . "target_inst = " . $ilDB->quote($a_target_inst, "integer")1
  • /components/ILIAS/COPage/IntLink/class.ilInternalLink.php
"SELECT * FROM int_link WHERE " . "source_type = " . $ilDB->quote($a_source_type, "text") . " AND " . "source_id = " . $ilDB->quote($a_source_id, "integer") . $lang_where1
  • /components/ILIAS/COPage/IntLink/class.ilInternalLink.php
"DELETE FROM page_pc_usage WHERE usage_type = " . $db->quote($a_type, "text") . " AND usage_id = " . $db->quote((int) $a_id, "integer") . " AND usage_lang = " . $db->quote($a_lang, "text") . $and_hist . " AND pc_type = " . $db->quote($pc_type, "text")1
  • /components/ILIAS/COPage/Usage/class.UsageDBRepository.php
"INSERT INTO page_style_usage " . "(id, page_id, page_type, page_lang, page_nr, template, stype, sname) VALUES (" . $this->db->quote($id, "integer") . "," . $this->db->quote($page->getId( ), "integer") . "," . $this->db->quote($page->getParentType( ), "text") . "," . $this->db->quote($page->getLanguage( ), "text") . "," . $this->db->quote($a_old_nr, "integer") . "," . $this->db->quote($u["template"], "integer") . "," . $this->db->quote($u["stype"], "text") . "," . $this->db->quote(\ilStr::subStr($u["sname"], 0, 30), "text") . ")"1
  • /components/ILIAS/COPage/Style/StyleManager.php
"DELETE FROM page_style_usage WHERE " . " page_id = " . $this->db->quote($page->getId( ), "integer") . " AND page_type = " . $this->db->quote($page->getParentType( ), "text") . " AND page_lang = " . $this->db->quote($page->getLanguage( ), "text") . $and_old_nr1
  • /components/ILIAS/COPage/Style/StyleManager.php
"SELECT MAX(nr) max_nr, parent_type, page_id, lang FROM page_history " . " WHERE nr > %s AND hdate < %s GROUP BY parent_type, page_id, lang "1
  • /components/ILIAS/COPage/History/class.HistoryDBRepository.php
"SELECT MAX(nr) mnr FROM page_history " . " WHERE parent_type = %s AND page_id = %s AND lang = %s "1
  • /components/ILIAS/COPage/History/class.HistoryDBRepository.php
"DELETE FROM page_history " . " WHERE parent_type = " . $db->quote($parent_type, "text") . " AND page_id = " . $db->quote($page_id, "integer") . " AND lang = " . $db->quote($lang, "text") . " AND nr <= " . $db->quote($delete_lower_than_nr, "integer")1
  • /components/ILIAS/COPage/History/class.HistoryDBRepository.php
"SELECT nr FROM page_history " . " WHERE parent_type = %s " . " AND page_id = %s " . " AND lang = %s " . " AND nr <= %s "1
  • /components/ILIAS/COPage/History/class.HistoryDBRepository.php
"SELECT * FROM grp_settings " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/Group/classes/class.ilObjGroupAccess.php
'SELECT registration_type, registration_enabled, registration_unlimited, registration_start, ' . 'registration_end, registration_mem_limit, registration_max_members FROM grp_settings ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Group/classes/class.ilObjGroupAccess.php
'SELECT period_start, period_end, period_time_indication FROM grp_settings ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Group/classes/class.ilObjGroupAccess.php
"SELECT grp_type FROM grp_settings " . "WHERE obj_id = " . $ilDB->quote($a_id, 'integer')1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
"INSERT INTO grp_settings (obj_id,information,grp_type,registration_type,registration_enabled," . "registration_unlimited,registration_start,registration_end,registration_password,registration_mem_limit," . "registration_max_members,waiting_list,latitude,longitude,location_zoom,enablemap,reg_ac_enabled,reg_ac,view_mode,mail_members_type," . "leave_end,registration_min_members,auto_wait, grp_start, grp_end, auto_notification, session_limit, session_prev, session_next) " . "VALUES(" . $this->db->quote($this->getId( ), 'integer') . ", " . $this->db->quote($this->getInformation( ), 'text') . ", " . $this->db->quote($this->getGroupType( ), 'integer') . ", " . $this->db->quote($this->getRegistrationType( ), 'integer') . ", " . $this->db->quote(($this->isRegistrationEnabled( ) ? 1 : 0), 'integer') . ", " . $this->db->quote(($this->isRegistrationUnlimited( ) ? 1 : 0), 'integer') . ", " . $this->db->quote(($this->getRegistrationStart( ) && !$this->getRegistrationStart( )->isNull( )) ? $this->getRegistrationStart( )->get(IL_CAL_DATETIME, '') : null, 'timestamp') . ", " . $this->db->quote(($this->getRegistrationEnd( ) && !$this->getRegistrationEnd( )->isNull( )) ? $this->getRegistrationEnd( )->get(IL_CAL_DATETIME, '') : null, 'timestamp') . ", " . $this->db->quote($this->getPassword( ), 'text') . ", " . $this->db->quote((int) $this->isMembershipLimited( ), 'integer') . ", " . $this->db->quote($this->getMaxMembers( ), 'integer') . ", " . $this->db->quote($this->isWaitingListEnabled( ) ? 1 : 0, 'integer') . ", " . $this->db->quote($this->getLatitude( ), 'text') . ", " . $this->db->quote($this->getLongitude( ), 'text') . ", " . $this->db->quote($this->getLocationZoom( ), 'integer') . ", " . $this->db->quote((int) $this->getEnableGroupMap( ), 'integer') . ", " . $this->db->quote($this->isRegistrationAccessCodeEnabled( ), 'integer') . ', ' . $this->db->quote($this->getRegistrationAccessCode( ), 'text') . ', ' . $this->db->quote($this->view_mode, 'integer') . ', ' . $this->db->quote($this->getMailToMembersType( ), 'integer') . ', ' . $this->db->quote(($this->getCancellationEnd( ) && !$this->getCancellationEnd( )->isNull( )) ? $this->getCancellationEnd( )->get(IL_CAL_UNIX) : null, 'integer') . ', ' . $this->db->quote($this->getMinMembers( ), 'integer') . ', ' . $this->db->quote($this->hasWaitingListAutoFill( ), 'integer') . ', ' . $this->db->quote($this->getStart( ) instanceof ilDate ? $this->getStart( )->get(IL_CAL_UNIX) : null, 'integer') . ', ' . $this->db->quote($this->getEnd( ) instanceof ilDate ? $this->getEnd( )->get(IL_CAL_UNIX) : null, 'integer') . ', ' . $this->db->quote($this->getAutoNotification( ), \ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($this->isSessionLimitEnabled( ), ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($this->getNumberOfPreviousSessions( ), ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($this->getNumberOfNextSessions( ), ilDBConstants::T_INTEGER) . ')'1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
"UPDATE grp_settings " . "SET information = " . $this->db->quote($this->getInformation( ), 'text') . ", " . "grp_type = " . $this->db->quote($this->getGroupType( ), 'integer') . ", " . "registration_type = " . $this->db->quote($this->getRegistrationType( ), 'integer') . ", " . "registration_enabled = " . $this->db->quote($this->isRegistrationEnabled( ) ? 1 : 0, 'integer') . ", " . "registration_unlimited = " . $this->db->quote($this->isRegistrationUnlimited( ) ? 1 : 0, 'integer') . ", " . "registration_start = " . $this->db->quote(($this->getRegistrationStart( ) && !$this->getRegistrationStart( )->isNull( )) ? $this->getRegistrationStart( )->get(IL_CAL_DATETIME, '') : null, 'timestamp') . ", " . "registration_end = " . $this->db->quote(($this->getRegistrationEnd( ) && !$this->getRegistrationEnd( )->isNull( )) ? $this->getRegistrationEnd( )->get(IL_CAL_DATETIME, '') : null, 'timestamp') . ", " . "registration_password = " . $this->db->quote($this->getPassword( ), 'text') . ", " . "registration_mem_limit = " . $this->db->quote((int) $this->isMembershipLimited( ), 'integer') . ", " . "registration_max_members = " . $this->db->quote($this->getMaxMembers( ), 'integer') . ", " . "waiting_list = " . $this->db->quote($this->isWaitingListEnabled( ) ? 1 : 0, 'integer') . ", " . "latitude = " . $this->db->quote($this->getLatitude( ), 'text') . ", " . "longitude = " . $this->db->quote($this->getLongitude( ), 'text') . ", " . "location_zoom = " . $this->db->quote($this->getLocationZoom( ), 'integer') . ", " . "enablemap = " . $this->db->quote((int) $this->getEnableGroupMap( ), 'integer') . ", " . 'reg_ac_enabled = ' . $this->db->quote($this->isRegistrationAccessCodeEnabled( ), 'integer') . ', ' . 'reg_ac = ' . $this->db->quote($this->getRegistrationAccessCode( ), 'text') . ', ' . 'view_mode = ' . $this->db->quote($this->view_mode, 'integer') . ', ' . 'mail_members_type = ' . $this->db->quote($this->getMailToMembersType( ), 'integer') . ', ' . 'leave_end = ' . $this->db->quote(($this->getCancellationEnd( ) && !$this->getCancellationEnd( )->isNull( )) ? $this->getCancellationEnd( )->get(IL_CAL_UNIX) : null, 'integer') . ', ' . "registration_min_members = " . $this->db->quote($this->getMinMembers( ), 'integer') . ", " . "auto_wait = " . $this->db->quote($this->hasWaitingListAutoFill( ), 'integer') . ", " . "show_members = " . $this->db->quote((int) $this->getShowMembers( ), 'integer') . ", " . 'period_start = ' . $this->db->quote(\ilCalendarUtil::convertDateToUtcDBTimestamp($this->getStart( )), \ilDBConstants::T_TIMESTAMP) . ', ' . 'period_end = ' . $this->db->quote(\ilCalendarUtil::convertDateToUtcDBTimestamp($this->getEnd( )), \ilDBConstants::T_TIMESTAMP) . ', ' . 'period_time_indication = ' . $this->db->quote($this->getStartTimeIndication( ) ? 1 : 0, \ilDBConstants::T_INTEGER) . ', ' . 'auto_notification = ' . $this->db->quote($this->getAutoNotification( ), \ilDBConstants::T_INTEGER) . ', ' . 'session_limit = ' . $this->db->quote($this->isSessionLimitEnabled( ), ilDBConstants::T_INTEGER) . ', ' . 'session_prev = ' . $this->db->quote($this->getNumberOfPreviousSessions( ), ilDBConstants::T_INTEGER) . ', ' . 'session_next = ' . $this->db->quote($this->getNumberOfNextSessions( ), ilDBConstants::T_INTEGER) . ' ' . "WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
"DELETE FROM grp_settings " . "WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
"SELECT * FROM grp_settings " . "WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
"SELECT login,firstname,lastname,title,usr_id,last_login " . "FROM usr_data " . "WHERE usr_id IN (" . implode(',', ilArrayUtil::quoteArray($a_mem_ids)) . ") "1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
'SELECT obj_id FROM object_data WHERE type = ' . $ilDB->quote('rolt', 'text') . ' AND title = ' . $ilDB->quote('il_grp_status_closed', 'text')1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
'SELECT obj_id FROM object_data WHERE type = ' . $ilDB->quote('rolt', 'text') . ' AND title = ' . $ilDB->quote('il_grp_status_open', 'text')1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
"SELECT * FROM object_data WHERE title = " . $ilDB->quote($a_title, 'text') . " AND type = 'grp'"1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
"SELECT * FROM usr_data as ud " . "WHERE usr_id IN (" . implode(",", ilArrayUtil::quoteArray($members)) . ") " . $and1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
'SELECT view_mode FROM grp_settings ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
"SELECT obj_id FROM grp_settings " . "WHERE reg_ac_enabled = " . $ilDB->quote(1, 'integer') . " " . "AND reg_ac = " . $ilDB->quote($a_code, 'text')1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
"SELECT leave_end" . " FROM grp_settings" . " WHERE obj_id = " . $ilDB->quote($a_group_id, "integer")1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
"SELECT obj_id, registration_min_members" . " FROM grp_settings" . " WHERE registration_min_members > " . $ilDB->quote(0, "integer") . " AND registration_mem_limit = " . $ilDB->quote(1, "integer") . " AND ((leave_end IS NOT NULL" . " AND leave_end < " . $ilDB->quote($now, "integer") . ")" . " OR (leave_end IS NULL" . " AND registration_end IS NOT NULL" . " AND registration_end < " . $ilDB->quote($now_date_local, "text") . "))" . " AND (period_start IS NULL OR period_start > " . $ilDB->quote($now_date, ilDBConstants::T_TEXT) . ")"1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
'SELECT show_members FROM grp_settings' . ' WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
" SELECT DISTINCT obd.obj_id, obd.type, obd2.title" . " FROM rbac_ua ua" . " JOIN rbac_fa fa ON (ua.rol_id = fa.rol_id)" . " JOIN object_reference obr ON (fa.parent = obr.ref_id)" . " JOIN object_data obd ON (obr.obj_id = obd.obj_id)" . " JOIN object_data obd2 ON (ua.rol_id = obd2.obj_id)" . " WHERE obd.type = " . $ilDB->quote("grp", "text") . " AND fa.assign = " . $ilDB->quote("y", "text") . " AND ua.usr_id = " . $ilDB->quote($a_usr_id, "integer") . " AND " . $ilDB->in("obd.obj_id", $a_obj_ids, false, "integer")1
  • /components/ILIAS/Group/classes/class.ilGroupLP.php
'SELECT orgu_id, ot.id AS type_id FROM orgu_data INNER JOIN orgu_types AS ot ON (ot.id = orgu_data.orgu_type_id) WHERE ot.icon IS NOT NULL'1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnit.php
"SELECT o.obj_id, r.ref_id FROM object_data o INNER JOIN object_reference r ON r.obj_id = o.obj_id WHERE title = " . $ilDb->quote('__OrgUnitAdministration', 'text') . ""1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnit.php
"SELECT * FROM object_translation WHERE obj_id = " . $this->ilDb->quote($this->getId( ), 'integer') . " ORDER BY lang_default DESC"1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnit.php
"DELETE FROM object_translation WHERE obj_id = " . $this->ilDb->quote($this->getId( ), 'integer')1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnit.php
'DELETE FROM ' . self::TABLE_NAME . ' WHERE orgu_id = ' . $this->ilDb->quote($this->getId( ), 'integer')1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnit.php
"DELETE FROM object_translation WHERE obj_id= " . $this->ilDb->quote($this->getId( ), 'integer')1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnit.php
"DELETE FROM object_translation WHERE obj_id= " . $this->quote($this->getId( ), 'integer') . " AND lang_code = " . $this->quote($a_lang, 'text')1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnit.php
"INSERT INTO object_translation " . "(obj_id,title,description,lang_code,lang_default) " . "VALUES " . "(" . $this->ilDb->quote($this->getId( ), 'integer') . "," . $this->ilDb->quote($a_title, 'text') . "," . $this->ilDb->quote($a_desc, 'text') . "," . $this->ilDb->quote($a_lang, 'text') . "," . $this->ilDb->quote($a_lang_default, 'integer') . ")"1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnit.php
"UPDATE object_translation SET "1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnit.php
"SELECT usr_id, rol_id FROM rbac_ua WHERE " . $this->db->in("rol_id", $ref_ids, false, "integer")1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnitTree.php
"SELECT object_data.obj_id, object_reference.ref_id, object_data.title, object_data.type, rbac_pa.ops_id, rbac_operations.ops_id as op_id FROM object_data INNER JOIN rbac_operations ON rbac_operations.operation = " . $this->db->quote($operation, "text") . " INNER JOIN rbac_ua ON rbac_ua.usr_id = " . $this->db->quote($this->ilUser->getId( ), "integer") . " INNER JOIN rbac_pa ON rbac_pa.rol_id = rbac_ua.rol_id AND rbac_pa.ops_id LIKE CONCAT('%', rbac_operations.ops_id, '%') INNER JOIN object_reference ON object_reference.ref_id = rbac_pa.ref_id WHERE object_data.obj_id = object_reference.obj_id AND object_data.type = 'orgu'"1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnitTree.php
"SELECT object_data.obj_id, object_data.title, object_data.type, rbac_pa.ops_id FROM object_data INNER JOIN rbac_ua ON rbac_ua.usr_id = " . $this->db->quote($this->ilUser->getId( ), "integer") . " INNER JOIN rbac_pa ON rbac_pa.rol_id = rbac_ua.rol_id AND rbac_pa.ops_id LIKE CONCAT('%', " . $this->db->quote($operation_id, "integer") . ", '%') INNER JOIN rbac_fa ON rbac_fa.rol_id = rbac_ua.rol_id INNER JOIN tree ON tree.child = rbac_fa.parent INNER JOIN object_reference ON object_reference.ref_id = tree.parent WHERE object_data.obj_id = object_reference.obj_id AND object_data.type = 'orgu'"1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnitTree.php
"SELECT orgu.obj_id, refr.ref_id FROM object_data orgu INNER JOIN object_reference refr ON refr.obj_id = orgu.obj_id INNER JOIN object_data roles ON roles.title LIKE CONCAT('il_orgu_employee_',refr.ref_id) OR roles.title LIKE CONCAT('il_orgu_superior_',refr.ref_id) INNER JOIN rbac_ua rbac ON rbac.usr_id = " . $this->db->quote($user_id, "integer") . " AND roles.obj_id = rbac.rol_id WHERE orgu.type = 'orgu'"1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnitTree.php
"SELECT object_reference.ref_id FROM rbac_ua JOIN rbac_fa ON rbac_fa.rol_id = rbac_ua.rol_id JOIN object_reference ON rbac_fa.parent = object_reference.ref_id JOIN object_data ON object_data.obj_id = object_reference.obj_id WHERE rbac_ua.usr_id = " . $this->db->quote($user_id, 'integer') . " AND object_data.type = 'orgu';"1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnitTree.php
"SELECT obj_id, title FROM object_data WHERE type = 'role' AND title LIKE 'il_orgu_" . $role . "%'"1
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnitTree.php
"SELECT * FROM object_data " . "INNER JOIN object_reference as ref on ref.obj_id = object_data.obj_id and ref.deleted is null " . 'WHERE object_data.type = "orgu" and import_id = ' . $this->database->quote($external_id, "text") . " " . "ORDER BY create_date DESC"1
  • /components/ILIAS/OrgUnit/classes/class.ilOrgUnitImporter.php
'select * from orgu_obj_pos_settings ' . 'where obj_id = ' . $db->quote($a_obj_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Settings/class.ilOrgUnitObjectPositionSetting.php
'DELETE from orgu_obj_pos_settings ' . 'WHERE obj_id = ' . $this->db->quote($this->obj_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Settings/class.ilOrgUnitObjectPositionSetting.php
'select * from orgu_obj_pos_settings ' . 'where obj_id = ' . $this->db->quote($this->obj_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Settings/class.ilOrgUnitObjectPositionSetting.php
'SELECT * FROM orgu_obj_type_settings ' . 'WHERE obj_type = ' . $this->db->quote($this->type, 'text')1
  • /components/ILIAS/OrgUnit/classes/Settings/class.ilOrgUnitObjectTypePositionSetting.php
'SELECT DISTINCT lang FROM ' . self::TABLE_NAME . ' WHERE orgu_type_id = ' . $db->quote($a_orgu_type_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitTypeTranslation.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE orgu_type_id != ' . $db->quote($a_orgu_type_id, 'integer') . ' AND member = ' . $db->quote($a_member, 'text') . ' AND lang = ' . $db->quote($a_lang, 'text') . ' AND value = ' . $db->quote($a_value, 'text')1
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitTypeTranslation.php
'DELETE FROM ' . self::TABLE_NAME . ' WHERE orgu_type_id = ' . $this->db->quote($this->getOrguTypeId( ), 'integer') . ' AND lang = ' . $this->db->quote($this->getLang( ), 'text')1
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitTypeTranslation.php
'DELETE FROM ' . self::TABLE_NAME . ' WHERE orgu_type_id = ' . $ilDB->quote($a_orgu_type_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitTypeTranslation.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE orgu_type_id = ' . $this->db->quote($this->orgu_type_id, 'integer') . ' AND lang = ' . $this->db->quote($this->lang, 'text')1
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitTypeTranslation.php
'DELETE FROM ' . self::TABLE_NAME . ' WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitType.php
'DELETE FROM orgu_types_adv_md_rec WHERE type_id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitType.php
'SELECT * FROM orgu_data WHERE orgu_type_id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitType.php
'SELECT DISTINCT orgu_id FROM orgu_data od ' . 'JOIN object_reference oref ON oref.obj_id = od.orgu_id ' . 'WHERE od.orgu_type_id = ' . $this->db->quote($this->getId( ), 'integer') . ' AND oref.deleted IS NULL'1
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitType.php
'SELECT * FROM orgu_types_adv_md_rec WHERE type_id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitType.php
'DELETE FROM orgu_types_adv_md_rec WHERE type_id = ' . $this->db->quote($this->getId( ), 'integer') . ' AND rec_id = ' . $this->db->quote($a_record_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitType.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE id = ' . $this->db->quote($this->id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitType.php
'DELETE FROM il_orgu_ua' . PHP_EOL . 'WHERE user_id NOT IN (' . PHP_EOL . 'SELECT usr_id FROM usr_data' . PHP_EOL . ')'1
  • /components/ILIAS/OrgUnit/classes/Setup/class.ilOrgUnitRemoveDeletedUsersObjective.php
'SELECT * FROM il_orgu_operations WHERE context_id = ' . $db->quote($context_id, 'integer') . ' AND operation_string = ' . $db->quote($operation, 'text')1
  • /components/ILIAS/OrgUnit/classes/Setup/class.ilOrgUnitOperationRegisteredObjective.php
"SELECT * FROM usr_data WHERE usr_id = " . $this->dic->database( )->quote($user_id, "integer")1
  • /components/ILIAS/OrgUnit/classes/User/class.ilOrgUnitUserQueries.php
"SELECT orgu_ua.orgu_id AS orgu_id, orgu_ua.user_id AS empl_usr_id, orgu_ua2.user_id as sup_usr_id, superior.email as sup_email, superior.second_email as sup_second_email, superior.login as sup_login FROM il_orgu_ua as orgu_ua, il_orgu_ua as orgu_ua2 inner join usr_data as superior on superior.usr_id = orgu_ua2.user_id WHERE orgu_ua.orgu_id = orgu_ua2.orgu_id and orgu_ua.user_id <> orgu_ua2.user_id and orgu_ua.position_id = " . \ilOrgUnitPosition::CORE_POSITION_EMPLOYEE . " and orgu_ua2.position_id = " . \ilOrgUnitPosition::CORE_POSITION_SUPERIOR . " AND " . $DIC->database( )->in('orgu_ua.user_id', $user_ids, false, 'integer')1
  • /components/ILIAS/OrgUnit/classes/User/class.ilOrgUnitUserRepository.php
"SELECT * FROM usr_data WHERE " . $this->dic->database( )->in('usr_id', $user_ids, false, 'int')1
  • /components/ILIAS/OrgUnit/classes/User/class.ilOrgUnitUserRepository.php
"SELECT " . $ilDB->groupConcat("path", $separator) . " AS orgus FROM orgu_usr_assignements WHERE user_id = %s GROUP BY user_id;"1
  • /components/ILIAS/OrgUnit/classes/PathStorage/class.ilOrgUnitPathStorage.php
"DELETE FROM " . self::TABLE_NAME . " WHERE " . $ilDB->in('ref_id', $ref_ids, true, 'integer')1
  • /components/ILIAS/OrgUnit/classes/PathStorage/class.ilOrgUnitPathStorage.php
'SELECT * FROM object_reference JOIN object_data ON object_reference.obj_id = object_data.obj_id AND deleted IS NULL WHERE object_data.type = %s'1
  • /components/ILIAS/OrgUnit/classes/PathStorage/class.ilOrgUnitPathStorage.php
'SELECT usr_id FROM usr_data WHERE email = ' . $ilDB->quote($id, 'text')1
  • /components/ILIAS/OrgUnit/classes/SimpleUserImport/class.ilOrgUnitSimpleUserImport.php
'SELECT id, title, description, core_position, core_identifier FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.' . $field . ' = ' . $this->db->quote($value, $fields[$field])1
  • /components/ILIAS/OrgUnit/classes/Positions/class.ilOrgUnitPositionDBRepository.php
'SELECT id, title, description, core_position, core_identifier FROM' . PHP_EOL . self::TABLE_NAME . PHP_EOL . $sql_order_part . PHP_EOL . $sql_range_part1
  • /components/ILIAS/OrgUnit/classes/Positions/class.ilOrgUnitPositionDBRepository.php
'SELECT id, ' . $field . ' FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE 1'1
  • /components/ILIAS/OrgUnit/classes/Positions/class.ilOrgUnitPositionDBRepository.php
'SELECT id, title, description, core_identifier, core_position FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE 1'1
  • /components/ILIAS/OrgUnit/classes/Positions/class.ilOrgUnitPositionDBRepository.php
'SELECT DISTINCT ' . self::TABLE_NAME . '.id, ' . self::TABLE_NAME . '.*' . PHP_EOL . 'FROM ' . self::TABLE_NAME . PHP_EOL . 'LEFT JOIN ' . self::TABLE_NAME_UA . PHP_EOL . 'ON ' . self::TABLE_NAME . '.id = ' . self::TABLE_NAME_UA . '.position_id' . PHP_EOL . 'AND ' . self::TABLE_NAME_UA . '.orgu_id = ' . $this->db->quote($orgu_id, 'integer') . PHP_EOL . 'WHERE ' . self::TABLE_NAME_UA . '.user_id IS NOT NULL' . PHP_EOL . 'OR ' . self::TABLE_NAME . '.core_position = 1'1
  • /components/ILIAS/OrgUnit/classes/Positions/class.ilOrgUnitPositionDBRepository.php
'DELETE FROM ' . self::TABLE_NAME . PHP_EOL . ' WHERE id = ' . $this->db->quote($position_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/class.ilOrgUnitPositionDBRepository.php
'DELETE FROM ' . self::TABLE_NAME . PHP_EOL . ' WHERE operation_id = ' . $this->db->quote($operation->getOperationId( ), 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/Operation/class.ilOrgUnitOperationDBRepository.php
'SELECT operation_id, operation_string, description, list_order, context_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.operation_string = ' . $this->db->quote($operation_string, 'string') . PHP_EOL . ' AND ' . self::TABLE_NAME . '.context_id = ' . $this->db->quote($context->getId( ), 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/Operation/class.ilOrgUnitOperationDBRepository.php
'SELECT operation_id, operation_string, description, list_order, context_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.operation_id = ' . $this->db->quote($operation_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/Operation/class.ilOrgUnitOperationDBRepository.php
'SELECT operation_id, operation_string, description, list_order, context_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.operation_string = ' . $this->db->quote($operation_string, 'string')1
  • /components/ILIAS/OrgUnit/classes/Positions/Operation/class.ilOrgUnitOperationDBRepository.php
'DELETE FROM ' . self::TABLE_NAME . PHP_EOL . ' WHERE id = ' . $this->db->quote($operation_context->getId( ), 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/Operation/class.ilOrgUnitOperationContextDBRepository.php
'SELECT id, context, parent_context_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.context = ' . $this->db->quote($context, 'string')1
  • /components/ILIAS/OrgUnit/classes/Positions/Operation/class.ilOrgUnitOperationContextDBRepository.php
'SELECT id, context, parent_context_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.id = ' . $this->db->quote($id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/Operation/class.ilOrgUnitOperationContextDBRepository.php
'DELETE FROM ' . self::TABLE_NAME . PHP_EOL . ' WHERE id = ' . $this->db->quote($assignment->getId( ), 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'DELETE FROM ' . self::TABLE_NAME . PHP_EOL . ' WHERE user_id = ' . $this->db->quote($user_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT id, user_id, position_id, orgu_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . $this->db->in('user_id', $user_ids, false, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT id, user_id, position_id, orgu_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.position_id = ' . $this->db->quote($position_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT id, user_id, position_id, orgu_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.orgu_id = ' . $this->db->quote($orgu_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT id, user_id, position_id, orgu_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.user_id = ' . $this->db->quote($user_id, 'integer') . PHP_EOL . ' AND ' . self::TABLE_NAME . '.position_id = ' . $this->db->quote($position_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT user_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.position_id = ' . $this->db->quote($position_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT user_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . $this->db->in(self::TABLE_NAME . '.orgu_id', $orgu_ids, false, 'integer') . PHP_EOL . ' AND ' . self::TABLE_NAME . '.position_id = ' . $this->db->quote($position_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT user_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . $this->db->in(self::TABLE_NAME . '.orgu_id', $orgu_ids, false, 'integer') . PHP_EOL . ' AND ' . self::TABLE_NAME . '.position_id = ' . $this->db->quote($position_filter_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT orgu_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.user_id = ' . $this->db->quote($user_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT orgu_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.user_id = ' . $this->db->quote($user_id, 'integer') . PHP_EOL . ' AND ' . self::TABLE_NAME . '.position_id = ' . $this->db->quote($position_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT DISTINCT position_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.user_id = ' . $this->db->quote($user_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT ' . PHP_EOL . ' ua.orgu_id AS orgu_id,' . PHP_EOL . ' ua.user_id AS empl,' . PHP_EOL . ' ua2.user_id as sup' . PHP_EOL . ' FROM' . PHP_EOL . self::TABLE_NAME . ' as ua,' . PHP_EOL . self::TABLE_NAME . ' as ua2' . PHP_EOL . ' WHERE ua.orgu_id = ua2.orgu_id' . PHP_EOL . ' AND ua.user_id <> ua2.user_id' . PHP_EOL . ' AND ua.position_id = ' . $this->db->quote(ilOrgUnitPosition::CORE_POSITION_EMPLOYEE, 'integer') . PHP_EOL . ' AND ua2.position_id = ' . $this->db->quote(ilOrgUnitPosition::CORE_POSITION_SUPERIOR, 'integer') . PHP_EOL . ' AND ' . $this->db->in('ua.user_id', $user_ids, false, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT usr_id, login, firstname, lastname, active, orgu_id' . PHP_EOL . ', GROUP_CONCAT (od.title SEPARATOR ", ") as orgu_title ' . PHP_EOL . 'FROM ' . self::TABLE_NAME . PHP_EOL . 'JOIN usr_data ud on ud.usr_id = user_id' . PHP_EOL . 'JOIN object_reference oref on oref.ref_id = orgu_id' . PHP_EOL . 'JOIN object_data od on od.obj_id = oref.obj_id' . PHP_EOL . 'WHERE ' . $this->db->in(self::TABLE_NAME . '.orgu_id', $orgu_ids, false, 'integer') . PHP_EOL . 'AND ' . self::TABLE_NAME . '.position_id = ' . $this->db->quote($position_id, 'integer') . PHP_EOL . 'group by login' . PHP_EOL . $sql_order_part . PHP_EOL . $sql_range_part . PHP_EOL1
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php
'SELECT id, parent_id, context_id, position_id, protected, operations FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.parent_id = ' . $this->db->quote($parent_id, 'integer') . PHP_EOL . ' AND ' . self::TABLE_NAME . '.position_id = ' . $this->db->quote($position_id, 'integer') . PHP_EOL . ' AND ' . self::TABLE_NAME . '.context_id = ' . $this->db->quote($context->getId( ), 'integer') . PHP_EOL1
  • /components/ILIAS/OrgUnit/classes/Positions/Permissions/class.ilOrgUnitPermissionDBRepository.php
'DELETE FROM ' . self::TABLE_NAME . PHP_EOL . ' WHERE id = ' . $this->db->quote($permission->getId( ), 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/Permissions/class.ilOrgUnitPermissionDBRepository.php
'SELECT id, parent_id, context_id, position_id, protected, operations FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.parent_id = ' . $this->db->quote(ilOrgUnitPermission::PARENT_TEMPLATE, 'integer') . PHP_EOL . ' AND ' . self::TABLE_NAME . '.position_id = ' . $this->db->quote($position_id, 'integer') . PHP_EOL . ' AND ' . self::TABLE_NAME . '.context_id = ' . $this->db->quote($context->getId( ), 'integer') . PHP_EOL1
  • /components/ILIAS/OrgUnit/classes/Positions/Permissions/class.ilOrgUnitPermissionDBRepository.php
'SELECT id, ' . self::TABLE_NAME . '.over, scope, position_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.' . $field . ' = ' . $this->db->quote($id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/Authorities/class.ilOrgUnitAuthorityDBRepository.php
'DELETE FROM ' . self::TABLE_NAME . PHP_EOL . ' WHERE id = ' . $this->db->quote($id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/Authorities/class.ilOrgUnitAuthorityDBRepository.php
'DELETE FROM ' . self::TABLE_NAME . PHP_EOL . ' WHERE position_id = ' . $this->db->quote($position_id, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/Authorities/class.ilOrgUnitAuthorityDBRepository.php
'DELETE FROM ' . self::TABLE_NAME . PHP_EOL . ' WHERE position_id = ' . $this->db->quote($position_id, 'integer') . PHP_EOL . ' AND ' . $this->db->in('id', $ids, true, 'integer')1
  • /components/ILIAS/OrgUnit/classes/Positions/Authorities/class.ilOrgUnitAuthorityDBRepository.php
"SELECT user_id FROM notification" . " WHERE type = " . $ilDB->quote($type, "integer") . " AND user_id = " . $ilDB->quote($user_id, "integer") . " AND id = " . $ilDB->quote($id, "integer") . " AND activated = " . $ilDB->quote(0, "integer")1
  • /components/ILIAS/Notification/classes/class.ilNotification.php
"SELECT user_id FROM notification" . " WHERE type = " . $ilDB->quote($type, "integer") . " AND user_id = " . $ilDB->quote($user_id, "integer") . " AND id = " . $ilDB->quote($id, "integer") . " AND activated = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Notification/classes/class.ilNotification.php
"SELECT user_id FROM notification" . " WHERE type = " . $ilDB->quote($type, "integer") . " AND id = " . $ilDB->quote($id, "integer") . " AND activated = " . $ilDB->quote(0, "integer") . " AND " . $ilDB->in("user_id", $recipients, false, "integer")1
  • /components/ILIAS/Notification/classes/class.ilNotification.php
"SELECT user_id FROM notification" . " WHERE type = " . $ilDB->quote($type, "integer") . " AND id = " . $ilDB->quote($id, "integer") . " AND activated = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Notification/classes/class.ilNotification.php
"SELECT user_id FROM notification" . " WHERE type = " . $ilDB->quote($type, "integer") . " AND id = " . $ilDB->quote($id, "integer") . " AND " . $ilDB->in("user_id", $recipients, false, "integer")1
  • /components/ILIAS/Notification/classes/class.ilNotification.php
"SELECT user_id FROM notification" . " WHERE type = " . $ilDB->quote(self::TYPE_WIKI_PAGE, "integer") . " AND id = " . $ilDB->quote($page_id, "integer") . " AND " . $ilDB->in("user_id", $recipients, false, "integer")1
  • /components/ILIAS/Notification/classes/class.ilNotification.php
"SELECT user_id FROM notification " . " WHERE type = %s AND id = %s AND " . $ilDB->in("user_id", $user_ids, false, "integer")1
  • /components/ILIAS/Notification/classes/class.ilNotification.php
"UPDATE notification" . " SET last_mail = " . $ilDB->quote(date("Y-m-d H:i:s"), "timestamp")1
  • /components/ILIAS/Notification/classes/class.ilNotification.php
"DELETE FROM notification" . " WHERE type = " . $ilDB->quote($type, "integer") . " AND id = " . $ilDB->quote($id, "integer")1
  • /components/ILIAS/Notification/classes/class.ilNotification.php
"DELETE FROM notification" . " WHERE user_id = " . $ilDB->quote($user_id, "integer")1
  • /components/ILIAS/Notification/classes/class.ilNotification.php
"SELECT id FROM notification " . " WHERE type = %s " . " AND user_id = %s " . " AND activated = %s "1
  • /components/ILIAS/Notification/classes/class.ilNotification.php
"SELECT * FROM obj_noti_settings " . " WHERE obj_id = " . $db->quote($this->obj_id, "integer")1
  • /components/ILIAS/Notification/classes/class.ilObjNotificationSettings.php
"DELETE FROM obj_noti_settings WHERE " . " obj_id = " . $db->quote($this->obj_id, "integer")1
  • /components/ILIAS/Notification/classes/class.ilObjNotificationSettings.php
'DELETE FROM notification WHERE user_id ='1
  • /components/ILIAS/Notification/tests/NotificationTest.php
"SELECT * FROM svy_qpl WHERE obj_fi = %s"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"INSERT INTO svy_qpl (id_questionpool, obj_fi, tstamp) VALUES (%s, %s, %s)"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT question_id FROM svy_question WHERE obj_fi = %s AND original_id IS NULL"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT svy_qtype.type_tag FROM svy_question, svy_qtype WHERE svy_question.questiontype_fi = svy_qtype.questiontype_id AND svy_question.question_id = %s"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT answer_id FROM svy_answer WHERE question_fi = %s"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT svy_svy.* FROM svy_svy, svy_svy_qst WHERE svy_svy_qst.survey_fi = svy_svy.survey_id AND svy_svy_qst.question_fi = %s"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT svy_question.*, svy_qtype.type_tag, svy_qtype.plugin FROM svy_question, svy_qtype WHERE svy_question.questiontype_fi = svy_qtype.questiontype_id AND svy_question.tstamp > 0 AND " . $ilDB->in('svy_question.question_id', $question_array, false, 'integer')1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT svy_question.*, svy_qtype.type_tag, svy_qtype.plugin FROM svy_question, svy_qtype WHERE svy_question.original_id IS NULL AND svy_question.tstamp > 0 AND svy_question.questiontype_fi = svy_qtype.questiontype_id AND svy_question.obj_fi = %s" . $where1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT question_id FROM svy_question WHERE obj_fi = %s AND svy_question.tstamp > 0 AND original_id IS NULL"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT * FROM svy_qtype ORDER BY type_tag"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT * FROM svy_qtype"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT sq.obj_fi, od.offline as offline FROM svy_qpl sq JOIN object_data od ON (sq.obj_fi = od.obj_id) WHERE sq.obj_fi > 0 AND sq.tstamp > 0 AND NOT(od.offline = 1)"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT svy_question.*, svy_qtype.type_tag FROM svy_question, svy_qtype " . "WHERE svy_question.questiontype_fi = svy_qtype.questiontype_id " . "AND svy_question.tstamp > 0 AND " . $ilDB->in('svy_question.question_id', $question_ids, false, 'integer') . " " . "ORDER BY svy_question.title"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT question_id FROM svy_question WHERE owner_fi = %s AND tstamp = %s"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"UPDATE svy_question SET obj_fi = %s WHERE question_id = %s"1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"UPDATE svy_question" . " SET obligatory = " . $ilDB->quote($status, "integer") . " WHERE question_id = " . $ilDB->quote($question_id, "integer")1
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT svy_variable.* FROM svy_variable WHERE svy_variable.question_fi = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMetricQuestion.php
"INSERT INTO " . $this->getAdditionalTableName( ) . " (question_fi, subtype) VALUES (%s, %s)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMetricQuestion.php
"INSERT INTO svy_variable (variable_id, category_fi, question_fi, value1, value2, sequence, tstamp) VALUES (%s, %s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMetricQuestion.php
"INSERT INTO " . $this->getAdditionalTableName( ) . " (question_fi, orientation) VALUES (%s, %s)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveySingleChoiceQuestion.php
"DELETE from svy_variable before the INSERT into svy_variable. if scale > 0 we get scale value else we get null"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveySingleChoiceQuestion.php
"INSERT INTO svy_variable category_fi= " . $category_id . " question_fi= " . $this->getId( ) . " value1= " . ($i + 1) . " other= " . $cat->other . " sequence= " . $i . " scale =" . $debug_scale1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveySingleChoiceQuestion.php
"INSERT svy_answer answer_id=" . $next_id . " question_fi=" . $this->getId( ) . " active_fi=" . $active_id . " value=" . $debug_value . " textanswer=" . $debug_answer1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveySingleChoiceQuestion.php
"SELECT SUM(max_sum_score) sum_sum_score FROM (SELECT MAX(scale) max_sum_score FROM svy_svy_qst sq " . "JOIN svy_question q ON (sq.question_fi = q.question_id) " . "JOIN svy_variable v ON (v.question_fi = q.question_id) " . "WHERE sq.survey_fi = %s AND q.questiontype_fi = %s " . "GROUP BY (q.question_id)) x"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveySingleChoiceQuestion.php
"SELECT * FROM svy_qst_matrixrows WHERE question_fi = %s ORDER BY sequence"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
"INSERT INTO " . $this->getAdditionalTableName( ) . " ( question_fi, subtype, column_separators, row_separators, neutral_column_separator,column_placeholders, legend, singleline_row_caption, repeat_column_header, bipolar_adjective1, bipolar_adjective2, layout, tstamp) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
"UPDATE " . $this->getAdditionalTableName( ) . " SET bipolar_adjective1 = %s, bipolar_adjective2 = %s WHERE question_fi = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
"INSERT INTO svy_category (category_id, title, defaultvalue, owner_fi, neutral, tstamp) VALUES (%s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
"INSERT INTO svy_qst_matrixrows (id_svy_qst_matrixrows, title, label, other, sequence, question_fi) VALUES (%s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
"UPDATE " . $this->getAdditionalTableName( ) . " SET layout = %s WHERE question_fi = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
"SELECT MAX(scale) max_sum_score, q.question_id FROM svy_svy_qst sq " . "JOIN svy_question q ON (sq.question_fi = q.question_id) " . "JOIN svy_variable v ON (v.question_fi = q.question_id) " . "WHERE sq.survey_fi = %s AND q.questiontype_fi = %s " . "GROUP BY (q.question_id)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
"SELECT COUNT(mr.id_svy_qst_matrixrows) cnt_rows, q.question_id FROM svy_svy_qst sq " . "JOIN svy_question q ON (sq.question_fi = q.question_id) " . "JOIN svy_qst_matrixrows mr ON (mr.question_fi = q.question_id) " . "WHERE sq.survey_fi = %s AND q.questiontype_fi = %s " . "GROUP BY (q.question_id)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
"INSERT INTO " . $this->getAdditionalTableName( ) . " (question_fi, maxchars) VALUES (%s, %s)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyTextQuestion.php
"SELECT question_id FROM svy_question WHERE title = %s$refwhere"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"SELECT complete FROM svy_question WHERE question_id = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"UPDATE svy_question question_id=" . $question_id1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"UPDATE svy_question SET complete = %s, tstamp = %s WHERE question_id = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"UPDATE svy_question id=" . $this->getId( ) . " SET: title=" . $this->getTitle( ) . " ..."1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"INSERT INTO svy_question (question_id, questiontype_fi, " . "obj_fi, owner_fi, title, description, author, questiontext, obligatory, complete, " . "created, original_id, tstamp) VALUES " . "(%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"INSERT INTO svy_question question_id= " . $next_id . " questiontype_fi= " . $this->getQuestionTypeID( )1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"INSERT INTO svy_category (category_id, title, neutral, owner_fi, tstamp) VALUES (%s, %s, %s, %s, %s)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"INSERT INTO svy_category id=" . $next_id1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"DELETE FROM " . $this->getAdditionalTableName( )1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"DELETE FROM svy_answer WHERE question_fi = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"DELETE FROM svy_constraint WHERE question_fi = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"SELECT constraint_fi FROM svy_qst_constraint WHERE question_fi = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"DELETE FROM svy_qst_constraint WHERE question_fi = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"DELETE FROM svy_qblk_qst WHERE question_fi = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"DELETE FROM svy_svy_qst WHERE question_fi = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"DELETE FROM svy_question WHERE question_id = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"UPDATE svy_question"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"UPDATE svy_question" . " SET original_id = NULL" . " WHERE original_id = " . $ilDB->quote($question_id, "integer")1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"SELECT type_tag FROM svy_question, svy_qtype WHERE svy_question.question_id = %s AND svy_question.questiontype_fi = svy_qtype.questiontype_id"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"SELECT title FROM svy_question WHERE svy_question.question_id = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"SELECT * FROM svy_question WHERE question_id = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"DELETE FROM svy_material WHERE question_fi = " . $this->getOriginalId( )1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"INSERT INTO svy_material (material_id, question_fi, internal_link, import_id, material_title, tstamp) VALUES (%s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"INSERT svy_material material_id=" . $next_id . " question_fi=" . $this->getOriginalId( )1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"SELECT question_id FROM svy_question WHERE question_id = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"UPDATE svy_material SET internal_link = %s, tstamp = %s WHERE material_id = %s"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"UPDATE svy_question" . " SET original_id = " . $ilDB->quote($a_original_id, "integer") . "," . " obj_fi = " . $ilDB->quote($a_object_id, "integer") . " WHERE question_id = " . $ilDB->quote($a_question_id, "integer")1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"SELECT q.question_id,s.obj_fi" . " FROM svy_question q" . " JOIN svy_svy_qst sq ON (sq.question_fi = q.question_id)" . " JOIN svy_svy s ON (s.survey_id = sq.survey_fi)" . " WHERE original_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"SELECT svy_svy.obj_fi FROM svy_svy_qst" . " JOIN svy_svy ON (svy_svy.survey_id = svy_svy_qst.survey_fi)" . " WHERE svy_svy_qst.question_fi = " . $ilDB->quote($a_question_id, "integer")1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"SELECT obj_fi FROM svy_question " . " WHERE question_id = " . $ilDB->quote($a_qid, "integer")1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"SELECT survey_fi" . " FROM svy_svy_qst" . " WHERE question_fi = " . $ilDB->quote($this->question->getId( ), "integer")1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestionEvaluation.php
"SELECT finished_id FROM svy_finished" . " WHERE survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer")1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestionEvaluation.php
"INSERT INTO " . $this->getAdditionalTableName( ) . " (question_fi, orientation, use_min_answers, nr_min_answers, nr_max_answers) VALUES (%s, %s, %s, %s, %s)"1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMultipleChoiceQuestion.php
"SELECT SUM(scale) sum_sum_score FROM svy_svy_qst sq " . "JOIN svy_question q ON (sq.question_fi = q.question_id) " . "JOIN svy_variable v ON (v.question_fi = q.question_id) " . "WHERE sq.survey_fi = %s AND q.questiontype_fi = %s "1
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMultipleChoiceQuestion.php
" SELECT ud.usr_id, login, firstname, lastname, title, gender, pprof.value public_profile,pup.value public_upload, pupgen.value public_gender FROM usr_data ud LEFT JOIN usr_pref pprof ON pprof.usr_id = ud.usr_id AND pprof.keyword = %s LEFT JOIN usr_pref pupgen ON pupgen.usr_id = ud.usr_id AND pupgen.keyword = %s LEFT JOIN usr_pref pup ON pup.usr_id = ud.usr_id AND pup.keyword = %s WHERE $in "1
  • /components/ILIAS/Mail/classes/class.ilMailUserCache.php
" SELECT DISTINCT mail.rcp_to login FROM mail WHERE " . $this->db->like('mail.rcp_to', 'text', $this->quoted_term) . " AND mail.rcp_to IS NOT NULL AND mail.rcp_to != '' AND sender_id = " . $this->db->quote($this->user_id, 'integer') . " AND mail.sender_id = mail.user_id"1
  • /components/ILIAS/Mail/classes/class.ilMailAutoCompleteSentMailsRecipientsProvider.php
'INSERT INTO ' . $this->table_mail_obj_data . ' (obj_id, user_id, title, m_type) VALUES(%s,%s,%s,%s)'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'UPDATE ' . $this->table_mail_obj_data . ' SET title = %s WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'SELECT obj_id FROM ' . $this->table_mail_obj_data . ' WHERE user_id = %s AND title = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'SELECT obj_id, title FROM ' . $this->table_mail_obj_data . ' WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'DELETE FROM ' . $this->table_mail_obj_data . ' WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'SELECT * FROM ' . $this->table_mail_obj_data . ' WHERE user_id = %s AND obj_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'SELECT * FROM ' . $this->table_tree . ' WHERE child = %s AND tree = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'SELECT * FROM ' . $this->table_mail_obj_data . ' WHERE user_id = %s AND title = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'SELECT * FROM ' . $this->table_tree . ', ' . $this->table_mail_obj_data1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'DELETE FROM mail_obj_data WHERE user_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'DELETE FROM mail_options WHERE user_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'DELETE FROM mail_saved WHERE user_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'DELETE FROM mail_tree WHERE tree = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'DELETE FROM mail_auto_responder WHERE sender_id = %s OR receiver_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'DELETE FROM mail WHERE user_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'UPDATE mail SET sender_id = %s, import_name = %s WHERE sender_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailbox.php
'SELECT sender_id, m_subject, mail_id, m_status, send_time, import_name ' . "FROM $this->table_mail " . 'LEFT JOIN object_data ON obj_id = sender_id ' . 'WHERE user_id = %s AND folder_id = %s ' . 'AND ((sender_id > 0 AND sender_id IS NOT NULL AND obj_id IS NOT NULL) ' . 'OR (sender_id = 0 OR sender_id IS NULL))'1
  • /components/ILIAS/Mail/classes/class.ilMail.php
"SELECT COUNT(*) FROM $this->table_mail WHERE user_id = %s AND folder_id = %s"1
  • /components/ILIAS/Mail/classes/class.ilMail.php
"SELECT * FROM $this->table_mail WHERE user_id = %s AND mail_id = %s"1
  • /components/ILIAS/Mail/classes/class.ilMail.php
"UPDATE $this->table_mail " . 'INNER JOIN mail_obj_data ' . 'ON mail_obj_data.obj_id = %s AND mail_obj_data.user_id = %s ' . "SET $this->table_mail.folder_id = mail_obj_data.obj_id " . "WHERE $this->table_mail.user_id = %s"1
  • /components/ILIAS/Mail/classes/class.ilMail.php
"DELETE FROM $this->table_mail WHERE user_id = %s AND mail_id = %s"1
  • /components/ILIAS/Mail/classes/class.ilMail.php
"SELECT * FROM $this->table_mail_saved WHERE user_id = %s"1
  • /components/ILIAS/Mail/classes/class.ilMail.php
'SELECT id FROM mail_tpl_ctx WHERE component = ' . $DIC->database( )->quote($a_component, 'text')1
  • /components/ILIAS/Mail/classes/class.ilMailTemplateContextService.php
'DELETE FROM mail_tpl_ctx WHERE component = ' . $DIC->database( )->quote($a_component, 'text') . ' AND id = ' . $DIC->database( )->quote($id, 'text')1
  • /components/ILIAS/Mail/classes/class.ilMailTemplateContextService.php
'DELETE FROM mail_tpl_ctx WHERE component = ' . $DIC->database( )->quote($a_component, 'text')1
  • /components/ILIAS/Mail/classes/class.ilMailTemplateContextService.php
'SELECT * FROM mail_tpl_ctx'1
  • /components/ILIAS/Mail/classes/class.ilMailTemplateContextService.php
'SELECT id FROM mail_tpl_ctx WHERE id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailTemplateContextService.php
"UPDATE settings SET value = %s WHERE module = 'common' AND keyword = 'mail_address_option'"1
  • /components/ILIAS/Mail/classes/class.ilMailGlobalAddressSettingsChangedCommand.php
'UPDATE mail_options SET mail_address_option = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailGlobalAddressSettingsChangedCommand.php
' SELECT object_reference.ref_id FROM object_reference, tree, object_data WHERE tree.parent = %s AND object_data.type = %s AND object_reference.ref_id = tree.child AND object_reference.obj_id = object_data.obj_id'1
  • /components/ILIAS/Mail/classes/class.ilMailGlobalServices.php
' SELECT COUNT(mail_id) cnt, MAX(send_time) send_time FROM mail WHERE folder_id = %s AND user_id = %s AND m_status = %s '1
  • /components/ILIAS/Mail/classes/class.ilMailGlobalServices.php
' SELECT COUNT(mail_id) cnt, MAX(m.send_time) send_time FROM mail m INNER JOIN mail_obj_data mo ON mo.user_id = m.user_id AND mo.obj_id = m.folder_id AND mo.m_type = %s WHERE m.user_id = %s AND m.m_status = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailGlobalServices.php
'SELECT mail.* FROM mail_options INNER JOIN mail ON mail.user_id = mail_options.user_id INNER JOIN mail_obj_data ON mail_obj_data.obj_id = mail.folder_id INNER JOIN usr_data ud ON ud.usr_id = mail.user_id WHERE mail_options.cronjob_notification = %s AND mail.send_time >= %s AND mail.m_status = %s AND ud.active = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailSummaryNotification.php
'SELECT mail_options.cronjob_notification, mail_options.signature, mail_options.incoming_type, mail_options.mail_address_option, mail_options.absence_status, mail_options.absent_from, mail_options.absent_until, mail_options.absence_ar_subject, mail_options.absence_ar_body, usr_data.email, usr_data.second_email FROM mail_options INNER JOIN usr_data ON mail_options.user_id = usr_data.usr_id WHERE mail_options.user_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailOptions.php
'SELECT cronjob_notification FROM mail_options WHERE user_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailOptions.php
'SELECT path FROM mail_attachment WHERE mail_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilFileDataMail.php
'SELECT path FROM mail_attachment WHERE mail_id = ' . $this->db->quote($mail_id, 'integer')1
  • /components/ILIAS/Mail/classes/class.ilFileDataMail.php
' INSERT INTO mail_attachment ( mail_id, path) VALUES (%s, %s)'1
  • /components/ILIAS/Mail/classes/class.ilFileDataMail.php
'SELECT path FROM mail_attachment WHERE mail_id = ' . $this->db->quote($a_mail_id, 'integer')1
  • /components/ILIAS/Mail/classes/class.ilFileDataMail.php
'SELECT COUNT(mail_id) count_mail_id FROM mail_attachment WHERE path = ' . $this->db->quote($path, 'text')1
  • /components/ILIAS/Mail/classes/class.ilFileDataMail.php
'DELETE FROM mail_attachment WHERE mail_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilFileDataMail.php
' SELECT DISTINCT(ma1.path) FROM mail_attachment ma1 INNER JOIN mail ON mail.mail_id = ma1.mail_id WHERE mail.user_id = %s AND (SELECT COUNT(tmp.path) FROM mail_attachment tmp WHERE tmp.path = ma1.path) = 1 '1
  • /components/ILIAS/Mail/classes/class.ilFileDataMail.php
'SELECT * FROM mail_man_tpl'1
  • /components/ILIAS/Mail/classes/class.ilMailTemplateRepository.php
'SELECT * FROM mail_man_tpl WHERE tpl_id = %s'1
  • /components/ILIAS/Mail/classes/class.ilMailTemplateRepository.php
'DELETE FROM mail_man_tpl WHERE ' . $this->db->in('tpl_id', $template_ids, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Mail/classes/class.ilMailTemplateRepository.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE sender_id = ' . $this->db->quote($sender_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Mail/classes/Autoresponder/AutoresponderDatabaseRepository.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE receiver_id = ' . $this->db->quote($receiver_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Mail/classes/Autoresponder/AutoresponderDatabaseRepository.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE sender_id = ' . $this->db->quote($sender_id, ilDBConstants::T_INTEGER) . ' AND receiver_id = ' . $this->db->quote($receiver_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Mail/classes/Autoresponder/AutoresponderDatabaseRepository.php
'DELETE FROM ' . self::TABLE_NAME . ' WHERE sender_id = ' . $this->db->quote($auto_responder->getSenderId( ), ilDBConstants::T_INTEGER) . ' AND receiver_id = ' . $this->db->quote($auto_responder->getReceiverId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Mail/classes/Autoresponder/AutoresponderDatabaseRepository.php
'DELETE FROM ' . self::TABLE_NAME . ' WHERE sender_id = ' . $this->db->quote($sender_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Mail/classes/Autoresponder/AutoresponderDatabaseRepository.php
'SELECT 1 existing_record FROM ' . self::TABLE_NAME . ' WHERE sender_id = ' . $this->db->quote($sender_id, ilDBConstants::T_INTEGER) . ' AND receiver_id = ' . $this->db->quote($receiver_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Mail/classes/Autoresponder/AutoresponderDatabaseRepository.php
'UPDATE settings SET value = %s WHERE module = %s AND keyword = %s'1
  • /components/ILIAS/Mail/classes/Setup/class.ilMailDatabaseUpdateSteps.php
"SELECT tpl_id, m_message FROM mail_man_tpl WHERE m_message LIKE '%[CLIENT_NAME]%'"1
  • /components/ILIAS/Mail/classes/Setup/class.ilMailDatabaseUpdateSteps.php
'UPDATE mail_man_tpl SET m_message = %s WHERE tpl_id = %s'1
  • /components/ILIAS/Mail/classes/Setup/class.ilMailDatabaseUpdateSteps.php
"SELECT lang, type, body FROM mail_template WHERE body LIKE '%[CLIENT_NAME]%'"1
  • /components/ILIAS/Mail/classes/Setup/class.ilMailDatabaseUpdateSteps.php
'UPDATE mail_template SET body = %s WHERE lang = %s AND type = %s'1
  • /components/ILIAS/Mail/classes/Setup/class.ilMailDatabaseUpdateSteps.php
'UPDATE settings SET value = %s WHERE keyword = %s'1
  • /components/ILIAS/Mail/classes/Setup/class.ilMailDatabaseUpdateSteps.php
"UPDATE mail_tpl_ctx SET " . PHP_EOL . " component = REPLACE(component, 'Modules', 'components/ILIAS') " . PHP_EOL . " WHERE component LIKE ('Modules/%')"1
  • /components/ILIAS/Mail/classes/Setup/class.ilMailDatabaseUpdateSteps.php
"UPDATE mail_tpl_ctx SET " . PHP_EOL . " path = REPLACE(path, 'Modules', 'components/ILIAS') " . PHP_EOL . " WHERE component LIKE ('Modules/%')" . PHP_EOL . " AND path IS NOT NULL"1
  • /components/ILIAS/Mail/classes/Setup/class.ilMailDatabaseUpdateSteps.php
'SELECT COUNT(m.mail_id) cnt ' . $this->getFrom( ) . $this->getWhere( )1
  • /components/ILIAS/Mail/classes/Message/MailBoxQuery.php
'SELECT m.mail_id ' . $this->getFrom( ) . $this->getWhere( )1
  • /components/ILIAS/Mail/classes/Message/MailBoxQuery.php
'SELECT m.mail_id, m.user_id, m.folder_id, m.sender_id, m.send_time, ' . 'm.m_status, m.m_subject, m.import_name, m.rcp_to, m.attachments' . $this->getFrom( ) . $this->getWhere( )1
  • /components/ILIAS/Mail/classes/Message/MailBoxQuery.php
'SELECT m.*' . $this->getFrom( ) . $this->getWhere( )1
  • /components/ILIAS/Mail/classes/Message/MailBoxQuery.php
'SELECT t.tree ' . 'FROM rbac_fa fa ' . 'JOIN tree t ON t.child = fa.parent ' . 'WHERE fa.rol_id = ' . $this->db->quote($role_id, 'integer') . ' ' . "AND fa.assign = 'y' " . 'AND t.tree = 1'1
  • /components/ILIAS/Mail/classes/Address/Type/class.ilRoleMailboxSearch.php
'SELECT dat.obj_id ' . 'FROM object_data dat ' . 'JOIN rbac_fa fa ON fa.rol_id = dat.obj_id ' . 'JOIN tree t ON t.child = fa.parent ' . 'WHERE dat.title =' . $this->db->quote($local_part, 'text') . ' ' . "AND dat.type = 'role' " . "AND fa.assign = 'y' " . 'AND t.tree = 1'1
  • /components/ILIAS/Mail/classes/Address/Type/class.ilRoleMailboxSearch.php
'SELECT rdat.obj_id ' . 'FROM object_data odat ' . 'JOIN object_reference oref ON oref.obj_id = odat.obj_id ' . 'JOIN tree otree ON otree.child = oref.ref_id ' . 'JOIN rbac_fa rfa ON rfa.parent = otree.child ' . 'JOIN object_data rdat ON rdat.obj_id = rfa.rol_id ' . 'WHERE odat.title = ' . $this->db->quote($domain, 'text') . ' ' . 'AND otree.tree = 1 ' . "AND rfa.assign = 'y' " . 'AND rdat.title LIKE ' . $this->db->quote('%' . preg_replace('/([_%])/', '\\\\$1', $local_part) . '%', 'text')1
  • /components/ILIAS/Mail/classes/Address/Type/class.ilRoleMailboxSearch.php
'SELECT dat.obj_id ' . 'FROM object_data dat ' . 'JOIN object_reference ref ON ref.obj_id = dat.obj_id ' . 'JOIN tree t ON t.child = ref.ref_id ' . 'WHERE dat.title = ' . $this->db->quote($domain, 'text') . ' ' . "AND dat.type = 'role' " . 'AND t.tree = 1 '1
  • /components/ILIAS/Mail/classes/Address/Type/class.ilRoleMailboxSearch.php
'SELECT rdat.title role_title,odat.title object_title, ' . ' oref.ref_id object_ref ' . 'FROM object_data rdat ' . 'JOIN rbac_fa fa ON fa.rol_id = rdat.obj_id ' . 'JOIN tree rtree ON rtree.child = fa.parent ' . 'JOIN object_reference oref ON oref.ref_id = rtree.child ' . 'JOIN object_data odat ON odat.obj_id = oref.obj_id ' . 'WHERE rdat.obj_id = ' . $this->db->quote($this->role_id, 'integer') . ' ' . "AND fa.assign = 'y' "1
  • /components/ILIAS/Mail/classes/Address/Type/class.ilRoleMailboxAddress.php
'SELECT COUNT(DISTINCT dat.obj_id) count ' . 'FROM object_data dat ' . 'JOIN object_reference ref ON ref.obj_id = dat.obj_id ' . 'JOIN tree ON tree.child = ref.ref_id ' . 'WHERE title = ' . $this->db->quote($object_title, 'text') . ' ' . 'AND tree.tree = 1 '1
  • /components/ILIAS/Mail/classes/Address/Type/class.ilRoleMailboxAddress.php
'SELECT COUNT(DISTINCT dat.obj_id) count ' . 'FROM object_data dat ' . 'JOIN object_reference ref ON ref.obj_id = dat.obj_id ' . 'JOIN tree ON tree.child = ref.ref_id ' . 'WHERE title = ' . $this->db->quote($local_part, 'text') . ' ' . 'AND tree.tree = 1 '1
  • /components/ILIAS/Mail/classes/Address/Type/class.ilRoleMailboxAddress.php
'SELECT COUNT(rd.obj_id) count ' . 'FROM object_data rd ' . 'JOIN rbac_fa fa ON rd.obj_id = fa.rol_id ' . 'JOIN tree t ON t.child = fa.parent ' . "WHERE fa.assign = 'y' " . 'AND t.child = ' . $this->db->quote($object_ref, 'integer') . ' ' . 'AND rd.title LIKE ' . $this->db->quote('%' . preg_replace('/([_%])/', '\\\\$1', $local_part) . '%', 'text') . ' '1
  • /components/ILIAS/Mail/classes/Address/Type/class.ilRoleMailboxAddress.php
'SELECT title FROM object_data WHERE obj_id = ' . $this->db->quote($this->role_id, 'integer')1
  • /components/ILIAS/Mail/classes/Address/Type/class.ilRoleMailboxAddress.php
' SELECT mail_id FROM mail_cron_orphaned LEFT JOIN mail_obj_data mdata ON mdata.obj_id = folder_id WHERE ts_do_delete <= %s AND ((mdata.m_type = %s OR mdata.m_type = %s) OR mdata.obj_id IS NULL) '1
  • /components/ILIAS/Mail/classes/Cron/ExpiredOrOrphanedMails/ExpiredOrOrphanedMailsCollector.php
'SELECT mail_id FROM mail_cron_orphaned WHERE ts_do_delete <= %s'1
  • /components/ILIAS/Mail/classes/Cron/ExpiredOrOrphanedMails/ExpiredOrOrphanedMailsCollector.php
' SELECT m.mail_id FROM mail m LEFT JOIN mail_obj_data mdata ON mdata.obj_id = m.folder_id WHERE m.send_time <= %s '1
  • /components/ILIAS/Mail/classes/Cron/ExpiredOrOrphanedMails/ExpiredOrOrphanedMailsCollector.php
'SELECT COUNT(*) cnt FROM mail_attachment WHERE path = ?'1
  • /components/ILIAS/Mail/classes/Cron/ExpiredOrOrphanedMails/MailDeletionHandler.php
' SELECT path, COUNT(mail_id) cnt_mail_ids FROM mail_attachment WHERE ' . $this->db->in('mail_id', $this->collector->mailIdsToDelete( ), false, ilDBConstants::T_INTEGER) . ' GROUP BY path'1
  • /components/ILIAS/Mail/classes/Cron/ExpiredOrOrphanedMails/MailDeletionHandler.php
'DELETE FROM mail_attachment WHERE ' . $this->db->in('mail_id', $this->collector->mailIdsToDelete( ), false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Mail/classes/Cron/ExpiredOrOrphanedMails/MailDeletionHandler.php
'DELETE FROM mail WHERE ' . $this->db->in('mail_id', $this->collector->mailIdsToDelete( ), false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Mail/classes/Cron/ExpiredOrOrphanedMails/MailDeletionHandler.php
'DELETE FROM mail_cron_orphaned WHERE ' . $this->db->in('mail_id', $this->collector->mailIdsToDelete( ), false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Mail/classes/Cron/ExpiredOrOrphanedMails/MailDeletionHandler.php
'INSERT INTO mail_cron_orphaned (mail_id, folder_id, ts_do_delete) VALUES (?, ?, ?)'1
  • /components/ILIAS/Mail/classes/Cron/ExpiredOrOrphanedMails/Notifier.php
' SELECT m.mail_id, m.user_id, m.folder_id, m.send_time, m.m_subject, mdata.title FROM mail m LEFT JOIN mail_obj_data mdata ON mdata.obj_id = m.folder_id LEFT JOIN mail_cron_orphaned mco ON mco.mail_id = m.mail_id WHERE mco.mail_id IS NULL AND m.send_time <= %s '1
  • /components/ILIAS/Mail/classes/Cron/ExpiredOrOrphanedMails/NotificationsCollector.php
"SELECT o1.title role,o2.title container FROM object_data o1 " . "JOIN rbac_fa fa ON o1.obj_id = rol_id " . "JOIN object_reference obr ON ref_id = fa.parent AND obr.deleted IS NULL " . "JOIN object_data o2 ON obr.obj_id = o2.obj_id " . "INNER JOIN tree t ON t.child = obr.ref_id AND t.tree = 1 " . "WHERE o1.type = 'role' " . "AND assign = 'y' " . "AND (" . $ilDB->like('o1.title', 'text', '%' . $a_str . '%') . "OR " . $ilDB->like('o2.title', 'text', '%' . $a_str . '%') . " )" . "AND fa.parent != 8 " . "ORDER BY role,container"1
  • /components/ILIAS/AccessControl/classes/class.ilRoleAutoComplete.php
"SELECT ref_id, title FROM object_data ode " . "JOIN object_reference ore ON ode.obj_id = ore.obj_id " . "WHERE " . $ilDB->like('title', 'text', $a_str . '%') . ' ' . 'ORDER BY title'1
  • /components/ILIAS/AccessControl/classes/class.ilRoleAutoComplete.php
'SELECT * FROM ' . self::LOG_TABLE_NAME . ' WHERE ref_id = ' . $this->db->quote($ref_id, ilDBConstants::T_INTEGER) . $this->getWhereForFilter($filter) . $order->join(' ORDER BY ', static fn (string $ret, string $key, string $value) : string => $ret === ' ORDER BY ' ? "{$ret} {$key} {$value}" : "{$ret}, {$key} {$value} ")1
  • /components/ILIAS/AccessControl/classes/class.ilRbacLog.php
'SELECT COUNT(*) as cnt FROM ' . self::LOG_TABLE_NAME . ' WHERE ref_id = ' . $this->db->quote($ref_id, ilDBConstants::T_INTEGER) . $this->getWhereForFilter($filter)1
  • /components/ILIAS/AccessControl/classes/class.ilRbacLog.php
'INSERT INTO ' . self::LOG_TABLE_NAME . ' (log_id, user_id, created, ref_id, action, data)' . " VALUES (" . $ilDB->quote($id, "integer") . "," . $ilDB->quote($ilUser->getId( ), "integer") . "," . $ilDB->quote(time( ), "integer") . "," . $ilDB->quote($ref_id, "integer") . "," . $ilDB->quote($action, "integer") . "," . $ilDB->quote(serialize($diff), "text") . ")"1
  • /components/ILIAS/AccessControl/classes/class.ilRbacLog.php
'DELETE FROM ' . self::LOG_TABLE_NAME . ' WHERE ref_id = ' . $ilDB->quote($ref_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacLog.php
'DELETE FROM ' . self::LOG_TABLE_NAME . ' WHERE created < ' . $ilDB->quote(strtotime("-" . $max . "months"), "integer")1
  • /components/ILIAS/AccessControl/classes/class.ilRbacLog.php
'UPDATE rbac_fa set blocked = ' . $this->db->quote($a_blocked_status, 'integer') . ' ' . 'WHERE rol_id = ' . $this->db->quote($a_role_id, 'integer') . ' ' . 'AND parent = ' . $this->db->quote($a_ref_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"DELETE FROM rbac_ua WHERE usr_id = " . $this->db->quote($a_usr_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"DELETE FROM rbac_ua " . "WHERE rol_id = " . $this->db->quote($a_rol_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"DELETE FROM rbac_pa " . "WHERE rol_id = " . $this->db->quote($a_rol_id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'DELETE FROM rbac_templates ' . 'WHERE rol_id = ' . $this->db->quote($a_obj_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'DELETE FROM rbac_fa ' . 'WHERE rol_id = ' . $this->db->quote($a_obj_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'DELETE FROM rbac_fa ' . 'WHERE rol_id = ' . $this->db->quote($a_rol_id, 'integer') . ' ' . $clause1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'DELETE FROM rbac_templates ' . 'WHERE rol_id = ' . $this->db->quote($a_rol_id, 'integer') . ' ' . $clause1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'SELECT COUNT(*) num FROM rbac_ua ' . 'WHERE ' . $ilDB->in('rol_id', (array) $a_limited_roles, false, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"INSERT INTO rbac_ua (usr_id, rol_id) " . "VALUES (" . $ilDB->quote($a_usr_id, 'integer') . "," . $ilDB->quote($a_role_id, 'integer') . ")"1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"INSERT INTO rbac_ua (usr_id, rol_id) " . "VALUES (" . $this->db->quote($a_usr_id, 'integer') . "," . $this->db->quote($a_rol_id, 'integer') . ")"1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"DELETE FROM rbac_ua " . "WHERE usr_id = " . $this->db->quote($a_usr_id, 'integer') . " " . "AND rol_id = " . $this->db->quote($a_rol_id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'DELETE FROM rbac_pa ' . 'WHERE rol_id = %s ' . 'AND ref_id = %s'1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"INSERT INTO rbac_pa (rol_id,ops_id,ref_id) " . "VALUES " . "(" . $this->db->quote($a_rol_id, 'integer') . "," . $this->db->quote($ops_ids, 'text') . "," . $this->db->quote($a_ref_id, 'integer') . ")"1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"DELETE FROM rbac_pa " . "WHERE ref_id = " . $this->db->quote($a_ref_id, 'integer') . $and11
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'DELETE FROM rbac_pa ' . 'WHERE ' . $this->db->in('rol_id', $role_ids, false, 'integer') . ' ' . 'AND ref_id = ' . $this->db->quote($a_ref_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"DELETE FROM rbac_pa " . "WHERE ref_id = " . $this->db->quote($a_ref_id, 'integer') . " " . "AND rol_id = " . $this->db->quote($a_rol_id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'DELETE FROM rbac_pa ' . 'WHERE ref_id IN ' . '( ' . $GLOBALS['DIC']['tree']->getSubTreeQuery($a_ref_id, ['child']) . ' ) ' . 'AND rol_id = ' . $this->db->quote($a_role_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'DELETE FROM rbac_templates ' . 'WHERE parent IN ( ' . $GLOBALS['DIC']['tree']->getSubTreeQuery($a_ref_id, ['child']) . ' ) ' . 'AND rol_id = ' . $this->db->quote($a_rol_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'DELETE FROM rbac_fa ' . 'WHERE parent IN ( ' . $GLOBALS['DIC']['tree']->getSubTreeQuery($a_ref_id, ['child']) . ' ) ' . 'AND rol_id = ' . $this->db->quote($a_rol_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"DELETE FROM rbac_pa " . "WHERE " . $this->db->in('ref_id', $a_ref_ids, false, 'integer') . ' ' . "AND rol_id = " . $this->db->quote($a_rol_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'SELECT * FROM rbac_templates ' . 'WHERE rol_id = ' . $this->db->quote($a_source_id, 'integer') . ' ' . 'AND parent = ' . $this->db->quote($a_source_parent, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'INSERT INTO rbac_templates (rol_id,type,ops_id,parent) ' . 'VALUES (' . $this->db->quote($a_dest_id, 'integer') . "," . $this->db->quote($op['type'], 'text') . "," . $this->db->quote($op['ops_id'], 'integer') . "," . $this->db->quote($a_dest_parent, 'integer') . ")"1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"SELECT s1.type, s1.ops_id " . "FROM rbac_templates s1, rbac_templates s2 " . "WHERE s1.rol_id = " . $this->db->quote($a_source1_id, 'integer') . " " . "AND s1.parent = " . $this->db->quote($a_source1_parent, 'integer') . " " . "AND s2.rol_id = " . $this->db->quote($a_source2_id, 'integer') . " " . "AND s2.parent = " . $this->db->quote($a_source2_parent, 'integer') . " " . "AND s1.type = s2.type " . "AND s1.ops_id = s2.ops_id"1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'INSERT INTO rbac_templates (rol_id,type,ops_id,parent) ' . 'VALUES (?,?,?,?)'1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'DELETE FROM rbac_templates ' . 'WHERE rol_id = ' . $this->db->quote($a_dest_id, 'integer') . ' ' . 'AND type = ' . $this->db->quote($type, 'text') . ' ' . 'AND ops_id = ' . $this->db->quote($op, 'integer') . ' ' . 'AND parent = ' . $this->db->quote($a_dest_parent, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'DELETE FROM rbac_templates ' . 'WHERE rol_id = ' . $this->db->quote($a_rol_id, 'integer') . ' ' . 'AND parent = ' . $this->db->quote($a_ref_id, 'integer') . ' ' . $and_type1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'SELECT rol_id FROM rbac_fa ' . 'WHERE rol_id = ' . $this->db->quote($a_rol_id, 'integer') . ' ' . 'AND parent = ' . $this->db->quote($a_parent, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'INSERT INTO rbac_fa (rol_id, parent, assign, protected) ' . 'VALUES (%s,%s,%s,%s)'1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"INSERT INTO rbac_ta (typ_id, ops_id) " . "VALUES(" . $this->db->quote($a_type_id, 'integer') . "," . $this->db->quote($a_ops_id, 'integer') . ")"1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"DELETE FROM rbac_ta " . "WHERE typ_id = " . $this->db->quote($a_type_id, 'integer') . " " . "AND ops_id = " . $this->db->quote($a_ops_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
'UPDATE rbac_fa ' . 'SET protected = ' . $this->db->quote($a_value, 'text') . ' ' . 'WHERE rol_id = ' . $this->db->quote($a_role_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php
"SELECT obj_id FROM object_data " . " WHERE type=" . $ilDB->quote("rolt", "text") . " AND title=" . $ilDB->quote($a_tpl_name, "text")1
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"SELECT assign_users FROM role_data WHERE role_id = " . $ilDB->quote($a_role_id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"SELECT * FROM role_data WHERE role_id= " . $this->db->quote($this->id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"UPDATE role_data SET " . "allow_register= " . $this->db->quote($this->allow_register, 'integer') . ", " . "assign_users = " . $this->db->quote($this->getAssignUsersStatus( ), 'integer') . " " . "WHERE role_id= " . $this->db->quote($this->id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"INSERT INTO role_data " . "(role_id,allow_register,assign_users) " . "VALUES " . "(" . $this->db->quote($this->id, 'integer') . "," . $this->db->quote($this->getAllowRegister( ), 'integer') . "," . $this->db->quote($this->getAssignUsersStatus( ), 'integer') . ")"1
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"SELECT * FROM role_data " . "JOIN object_data ON object_data.obj_id = role_data.role_id " . "WHERE allow_register = 1"1
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"SELECT * FROM role_data " . " WHERE role_id =" . $ilDB->quote($a_role_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"DELETE FROM role_data WHERE role_id = " . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"UPDATE role_data SET " . "auth_mode= " . $ilDB->quote($auth_mode, 'text') . " " . "WHERE role_id= " . $ilDB->quote($role_id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"SELECT auth_mode FROM role_data " . "WHERE role_id= " . $ilDB->quote($a_role_id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"SELECT * FROM role_data " . "WHERE auth_mode = " . $ilDB->quote($a_auth_mode, 'text')1
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"UPDATE role_data SET auth_mode = 'default' WHERE auth_mode = " . $ilDB->quote($a_auth_mode, 'text')1
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"SELECT DISTINCT(obj_id) obj_id FROM object_data " . "WHERE title =" . $this->db->quote($a_title, ilDBConstants::T_TEXT) . " " . "AND type IN('role','rolt')" . $clause . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT * FROM object_data " . "JOIN rbac_fa ON obj_id = rol_id " . $where . "AND object_data.obj_id = rbac_fa.rol_id " . "AND rbac_fa.parent = " . $this->db->quote($a_ref_id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT * FROM object_data " . "JOIN rbac_fa ON obj_id = rol_id " . $where . "AND rbac_fa.assign = 'y' "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT rol_id FROM rbac_fa fa ' . 'JOIN tree t1 ON t1.child = fa.parent ' . 'JOIN object_data obd ON fa.rol_id = obd.obj_id ' . 'WHERE assign = ' . $this->db->quote('y', 'text') . ' ' . 'AND obd.type = ' . $this->db->quote('role', 'text') . ' ' . 'AND t1.child IN (' . $tree->getSubTreeQuery($ref_id, ['child']) . ' ' . ') '1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT fa.*, rd.* " . "FROM object_data rd " . "JOIN rbac_fa fa ON rd.obj_id = fa.rol_id " . "WHERE fa.assign = 'y' " . "AND fa.parent = " . $this->db->quote($a_ref_id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'select count(distinct(ua.usr_id)) as num from rbac_ua ua ' . 'join object_data on ua.usr_id = obj_id ' . 'join usr_data ud on ua.usr_id = ud.usr_id ' . 'where ' . $this->db->in('rol_id', $a_roles, false, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT usr_id FROM rbac_ua WHERE rol_id= " . $this->db->quote($a_rol_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT usr_id FROM rbac_ua WHERE " . "rol_id= " . $this->db->quote($a_role_id, 'integer') . " " . "AND usr_id= " . $this->db->quote($a_usr_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT usr_id FROM rbac_ua WHERE " . $this->db->in('rol_id', $a_role_ids, false, 'integer') . " AND usr_id= " . $this->db->quote($a_usr_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT rol_id FROM rbac_ua WHERE usr_id = " . $this->db->quote($a_usr_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT ua.rol_id FROM rbac_ua ua " . "JOIN rbac_fa fa ON ua.rol_id = fa.rol_id " . "WHERE usr_id = " . $this->db->quote($a_usr_id, 'integer') . ' ' . "AND parent = " . $this->db->quote(ROLE_FOLDER_ID, ilDBConstants::T_INTEGER) . " " . "AND assign = 'y' "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT * FROM rbac_fa " . "WHERE rol_id = " . $this->db->quote($a_rol_id, 'integer') . " " . "AND parent = " . $this->db->quote($a_ref_id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT * FROM rbac_fa WHERE rol_id = " . $this->db->quote($a_role_id, 'integer') . ' ' . "AND assign = " . $this->db->quote('y', 'text')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT DISTINCT parent FROM rbac_fa " . "WHERE rol_id = " . $this->db->quote($a_rol_id, 'integer') . " " . $where . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT * FROM rbac_fa ' . 'WHERE rol_id = ' . $this->db->quote($a_role_id, 'integer') . ' ' . 'AND parent = ' . $this->db->quote($a_parent_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT * FROM rbac_operations ORDER BY ops_id '1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT * FROM rbac_operations WHERE ops_id = ' . $this->db->quote($ops_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT ops_id,type FROM rbac_templates " . "WHERE rol_id = " . $this->db->quote($a_rol_id, 'integer') . " " . "AND parent = " . $this->db->quote($a_parent, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT * FROM rbac_pa ' . 'WHERE ref_id = ' . $this->db->quote($a_ref_id, 'integer') . ' ' . 'AND rol_id = ' . $this->db->quote($a_role_id, 'integer') . ' '1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT ops_id FROM rbac_templates " . "WHERE type =" . $this->db->quote($a_type, 'text') . " " . "AND rol_id = " . $this->db->quote($a_rol_id, 'integer') . " " . "AND parent = " . $this->db->quote($a_parent, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT ops_id FROM rbac_pa " . "WHERE rol_id = " . $this->db->quote($a_role_id, 'integer') . " " . "AND ref_id = " . $this->db->quote($a_ref_id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT ta.ops_id FROM rbac_ta ta JOIN rbac_operations o ON ta.ops_id = o.ops_id ' . 'WHERE typ_id = ' . $this->db->quote($a_typ_id, 'integer') . ' ' . 'ORDER BY op_order'1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT * FROM object_data WHERE type = 'typ' AND title = " . $this->db->quote($a_type, 'text') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT ro.ops_id FROM rbac_operations ro " . "JOIN rbac_ta rt ON ro.ops_id = rt.ops_id " . "JOIN object_data od ON rt.typ_id = od.obj_id " . "WHERE type = " . $this->db->quote('typ', 'text') . " " . "AND title = " . $this->db->quote($a_type, 'text') . " " . $condition . " " . "ORDER BY op_order "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT parent p FROM rbac_fa ' . 'WHERE assign = ' . $this->db->quote('n', 'text') . ' ' . 'AND rol_id = ' . $this->db->quote($a_rol_id, 'integer') . ' '1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT tree FROM tree WHERE child =" . $this->db->quote($a_node_id, ilDBConstants::T_INTEGER) . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT * FROM object_data " . "JOIN rbac_fa ON obj_id = rol_id " . $where . "AND rbac_fa.assign = " . $this->db->quote($assign, 'text') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT obj_id FROM object_data " . "WHERE title=" . $this->db->quote($a_type, 'text') . " AND type='typ'"1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT ops_id FROM rbac_operations ' . 'WHERE ' . $ilDB->in('operation', $operations, false, 'text')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT ops_id, operation FROM rbac_operations"1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT ops_id, operation FROM rbac_operations ' . 'WHERE ' . $ilDB->in('operation', $operations, false, 'text')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT protected FROM rbac_fa ' . 'WHERE rol_id = ' . $this->db->quote($a_role_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT blocked from rbac_fa ' . 'WHERE rol_id = ' . $this->db->quote($a_role_id, 'integer') . ' ' . 'AND parent = ' . $this->db->quote($a_ref_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT parent from rbac_fa ' . 'WHERE rol_id = ' . $this->db->quote($a_role_id, 'integer') . ' ' . 'AND blocked = ' . $this->db->quote(1, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT * FROM rbac_operations ' . 'JOIN rbac_ta ON rbac_operations.ops_id = rbac_ta.ops_id ' . 'JOIN object_data ON rbac_ta.typ_id = object_data.obj_id ' . 'WHERE object_data.title = %s ' . 'AND object_data.type = %s ' . 'ORDER BY op_order ASC'1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT * FROM rbac_operations ORDER BY op_order ASC'1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT obr.obj_id FROM rbac_fa rfa ' . 'JOIN object_reference obr ON rfa.parent = obr.ref_id ' . 'WHERE assign = ' . $this->db->quote('y', 'text') . ' ' . 'AND rol_id = ' . $this->db->quote($a_role_id, 'integer') . ' ' . 'AND deleted IS NULL'1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT parent p_ref FROM rbac_fa ' . 'WHERE rol_id = ' . $this->db->quote($a_role_id, 'integer') . ' ' . 'AND assign = ' . $this->db->quote('y', 'text')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT * FROM object_data " . "JOIN rbac_fa ON object_data.obj_id = rbac_fa.rol_id " . $where . "AND rbac_fa.assign = 'y' " . 'AND ' . $this->db->in('object_data.obj_id', $role_ids, false, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT ta.typ_id, obj.title, ops.ops_id, ops.operation FROM rbac_ta ta ' . 'JOIN object_data obj ON obj.obj_id = ta.typ_id ' . 'JOIN rbac_operations ops ON ops.ops_id = ta.ops_id '1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'SELECT * FROM rbac_fa ' . 'WHERE rol_id = ' . $this->db->quote($a_role_id, 'integer') . ' ' . $and1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT ops_id FROM rbac_pa JOIN rbac_ua " . "ON (rbac_pa.rol_id = rbac_ua.rol_id) " . "WHERE rbac_ua.usr_id = " . $this->db->quote($a_user_id, 'integer') . " " . "AND rbac_pa.ref_id = " . $this->db->quote($a_ref_id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT operation FROM rbac_operations " . " WHERE " . $this->db->in("ops_id", $all_ops, false, "integer")1
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
"SELECT * FROM rbac_pa " . "WHERE ref_id = " . $this->db->quote($a_ref_id, 'integer')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacSystem.php
"SELECT * FROM rbac_pa " . "WHERE " . $this->db->in("ref_id", $ref_ids, false, "integer")1
  • /components/ILIAS/AccessControl/classes/class.ilRbacSystem.php
'SELECT ops_id FROM rbac_operations ' . 'WHERE operation = ' . $this->db->quote($a_operation, 'text')1
  • /components/ILIAS/AccessControl/classes/class.ilRbacSystem.php
"SELECT * FROM rbac_pa " . "WHERE rol_id = " . $this->db->quote($a_rol_id, 'integer') . " " . "AND ref_id = " . $this->db->quote($a_ref_id, 'integer') . " "1
  • /components/ILIAS/AccessControl/classes/class.ilRbacSystem.php
"Update operation order (operation=$this->operation;pos=$this->pos)"1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACOperationOrderUpdatedObjective.php
"SELECT ops_id" . PHP_EOL . "FROM rbac_operations" . PHP_EOL . "WHERE operation = " . $db->quote($this->operation, "text") . PHP_EOL1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACOperationOrderUpdatedObjective.php
"SELECT rpa.rol_id, rpa.ops_id, rpa.ref_id" . PHP_EOL . "FROM rbac_pa rpa" . PHP_EOL . "JOIN object_reference ref ON (ref.ref_id = rpa.ref_id)" . PHP_EOL . "JOIN object_data od ON (od.obj_id = ref.obj_id AND od.type = " . $db->quote($this->type, "text") . ")" . PHP_EOL . "WHERE (" . $db->like("ops_id", "text", "%i:" . $this->src_id . "%") . PHP_EOL . "OR " . $db->like("ops_id", "text", "%:\"" . $this->src_id . "\";%") . ")" . PHP_EOL1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACOperationClonedObjective.php
"SELECT rol_id, parent, ops_id" . PHP_EOL . "FROM rbac_templates" . PHP_EOL . "WHERE type = " . $db->quote($this->type, "text") . PHP_EOL . "AND (ops_id = " . $db->quote($this->src_id, "integer") . PHP_EOL . "OR ops_id = " . $db->quote($this->dest_id, "integer") . ")" . PHP_EOL1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACOperationClonedObjective.php
"DELETE FROM rbac_ta " . "WHERE typ_id IN (" . "SELECT obj_id FROM object_data " . "WHERE type = 'typ' " . "AND title = 'dbk'" . ")"1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACDeleteDbkSteps.php
"DELETE FROM object_data " . "WHERE type = 'typ' " . "AND title = 'dbk'"1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACDeleteDbkSteps.php
"DELETE FROM rbac_ta " . "WHERE ops_id IN (" . "SELECT ops_id FROM rbac_operations " . "WHERE operation = 'create_dbk'" . ")"1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACDeleteDbkSteps.php
"DELETE FROM rbac_templates " . "WHERE ops_id IN (" . "SELECT ops_id FROM rbac_operations " . "WHERE operation = 'create_dbk'" . ")"1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACDeleteDbkSteps.php
"DELETE FROM rbac_operations " . "WHERE operation = 'create_dbk'"1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACDeleteDbkSteps.php
"DELETE FROM rbac_templates " . "WHERE type = 'dbk' "1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACDeleteDbkSteps.php
"Delete rbac operation and rbac template for type $this->type and id $this->ops_id"1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACOperationDeletedObjective.php
"DELETE FROM rbac_ta" . PHP_EOL . "WHERE typ_id = " . $db->quote($type_id, "integer") . PHP_EOL . "AND ops_id = " . $db->quote($this->ops_id, "integer") . PHP_EOL1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACOperationDeletedObjective.php
"DELETE FROM rbac_templates" . PHP_EOL . "WHERE type = " . $db->quote($this->type, "text") . PHP_EOL . "AND ops_id = " . $db->quote($this->ops_id, "integer") . PHP_EOL1
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACOperationDeletedObjective.php
"SELECT * FROM wfld_user_setting " . " WHERE user_id = %s " . " AND wfld_id = %s "1
  • /components/ILIAS/WorkspaceFolder/UserSettings/classes/class.ilWorkspaceFolderUserSettingsRepository.php
"SELECT * FROM wfld_user_setting " . " WHERE user_id = %s " . " AND " . $db->in("wfld_id", $wfld_ids, false, "integer")1
  • /components/ILIAS/WorkspaceFolder/UserSettings/classes/class.ilWorkspaceFolderUserSettingsRepository.php
"SELECT * FROM ldap_rg_mapping " . "WHERE mapping_id = " . $this->db->quote($this->getMappingId( ), 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleGroupMappingSetting.php
"DELETE FROM ldap_rg_mapping " . "WHERE mapping_id = " . $this->db->quote($this->getMappingId( ), 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleGroupMappingSetting.php
"UPDATE ldap_rg_mapping " . "SET server_id = " . $this->db->quote($this->getServerId( ), 'integer') . ", " . "url = " . $this->db->quote($this->getURL( ), 'text') . ", " . "dn =" . $this->db->quote($this->getDN( ), 'text') . ", " . "member_attribute = " . $this->db->quote($this->getMemberAttribute( ), 'text') . ", " . "member_isdn = " . $this->db->quote($this->getMemberISDN( ), 'integer') . ", " . "role = " . $this->db->quote($this->getRole( ), 'integer') . ", " . "mapping_info = " . $this->db->quote($this->getMappingInfo( ), 'text') . ", " . "mapping_info_type = " . $this->db->quote($this->getMappingInfoType( ), 'integer') . " " . "WHERE mapping_id = " . $this->db->quote($this->getMappingId( ), 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleGroupMappingSetting.php
"INSERT INTO ldap_rg_mapping (mapping_id,server_id,url,dn,member_attribute,member_isdn,role,mapping_info,mapping_info_type) " . "VALUES ( " . $this->db->quote($this->getMappingId( ), 'integer') . ", " . $this->db->quote($this->getServerId( ), 'integer') . ", " . $this->db->quote($this->getURL( ), 'text') . ", " . $this->db->quote($this->getDN( ), 'text') . ", " . $this->db->quote($this->getMemberAttribute( ), 'text') . ", " . $this->db->quote($this->getMemberISDN( ), 'integer') . ", " . $this->db->quote($this->getRole( ), 'integer') . ", " . $this->db->quote($this->getMappingInfo( ), 'text') . ", " . $this->db->quote($this->getMappingInfoType( ), 'integer') . ")"1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleGroupMappingSetting.php
"SELECT DISTINCT(role_id) FROM ldap_role_assignments " . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleAssignmentRules.php
"SELECT DISTINCT(att_name) " . "FROM ldap_role_assignments " . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleAssignmentRules.php
"SELECT rule_id,add_on_update,remove_on_update FROM ldap_role_assignments " . "WHERE (add_on_update = 1 OR remove_on_update = 1) " . 'AND server_id = ' . $ilDB->quote($a_server_id, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleAssignmentRules.php
"SELECT rule_id FROM ldap_role_assignments " . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleAssignmentRules.php
'SELECT COUNT(*) num FROM ldap_role_assignments ' . 'WHERE add_on_update = 1 ' . 'OR remove_on_update = 1 '1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleAssignmentRule.php
"SELECT rule_id FROM ldap_role_assignments " . "WHERE server_id = " . $ilDB->quote($a_server_id, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleAssignmentRule.php
"INSERT INTO ldap_role_assignments (server_id,rule_id,type,dn,attribute,isdn,att_name,att_value,role_id, " . "add_on_update, remove_on_update, plugin_id ) " . "VALUES( " . $this->db->quote($this->getServerId( ), 'integer') . ", " . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($this->getType( ), 'integer') . ", " . $this->db->quote($this->getDN( ), 'text') . ", " . $this->db->quote($this->getMemberAttribute( ), 'text') . ", " . $this->db->quote($this->isMemberAttributeDN( ), 'integer') . ", " . $this->db->quote($this->getAttributeName( ), 'text') . ", " . $this->db->quote($this->getAttributeValue( ), 'text') . ", " . $this->db->quote($this->getRoleId( ), 'integer') . ", " . $this->db->quote($this->isAddOnUpdateEnabled( ), 'integer') . ', ' . $this->db->quote($this->isRemoveOnUpdateEnabled( ), 'integer') . ', ' . $this->db->quote($this->getPluginId( ), 'integer') . ' ' . ")"1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleAssignmentRule.php
"UPDATE ldap_role_assignments " . "SET server_id = " . $this->db->quote($this->getServerId( ), 'integer') . ", " . "type = " . $this->db->quote($this->getType( ), 'integer') . ", " . "dn = " . $this->db->quote($this->getDN( ), 'text') . ", " . "attribute = " . $this->db->quote($this->getMemberAttribute( ), 'text') . ", " . "isdn = " . $this->db->quote($this->isMemberAttributeDN( ), 'integer') . ", " . "att_name = " . $this->db->quote($this->getAttributeName( ), 'text') . ", " . "att_value = " . $this->db->quote($this->getAttributeValue( ), 'text') . ", " . "role_id = " . $this->db->quote($this->getRoleId( ), 'integer') . ", " . "add_on_update = " . $this->db->quote($this->isAddOnUpdateEnabled( ), 'integer') . ', ' . 'remove_on_update = ' . $this->db->quote($this->isRemoveOnUpdateEnabled( ), 'integer') . ', ' . 'plugin_id = ' . $this->db->quote($this->getPluginId( ), 'integer') . ' ' . "WHERE rule_id = " . $this->db->quote($this->getRuleId( ), 'integer') . " "1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleAssignmentRule.php
"DELETE FROM ldap_role_assignments " . "WHERE rule_id = " . $this->db->quote($this->getRuleId( ), 'integer') . " "1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleAssignmentRule.php
"SELECT * FROM ldap_role_assignments " . "WHERE rule_id = " . $this->db->quote($this->getRuleId( ), 'integer') . " "1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleAssignmentRule.php
"DELETE FROM ldap_rg_mapping " . "WHERE role = " . $ilDB->quote($a_role_id, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleGroupMappingSettings.php
"DELETE FROM ldap_rg_mapping " . "WHERE server_id = " . $ilDB->quote($a_server_id, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleGroupMappingSettings.php
"SELECT rgm.* FROM ldap_rg_mapping rgm JOIN ldap_server_settings lss " . "ON rgm.server_id = lss.server_id " . "WHERE lss.active = 1 " . "AND lss.role_sync_active = 1 "1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleGroupMappingSettings.php
"INSERT INTO ldap_rg_mapping (mapping_id,server_id,url,dn,member_attribute,member_isdn,role,mapping_info,mapping_info_type) " . "VALUES ( " . $this->db->quote($next_id, 'integer') . ", " . $this->db->quote($this->getServerId( ), 'integer') . ", " . $this->db->quote($data['url'], 'text') . ", " . $this->db->quote($data['dn'], 'text') . ", " . $this->db->quote($data['member_attribute'], 'text') . ", " . $this->db->quote($data['member_isdn'], 'integer') . ", " . $this->db->quote($data['role'], 'integer') . ", " . $this->db->quote($data['info'], 'text') . ", " . $this->db->quote($data['info_type'], 'integer') . ")"1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleGroupMappingSettings.php
"UPDATE ldap_rg_mapping " . "SET server_id = " . $this->db->quote($this->getServerId( ), 'integer') . ", " . "url = " . $this->db->quote($data['url'], 'text') . ", " . "dn =" . $this->db->quote($data['dn'], 'text') . ", " . "member_attribute = " . $this->db->quote($data['member_attribute'], 'text') . ", " . "member_isdn = " . $this->db->quote($data['member_isdn'], 'integer') . ", " . "role = " . $this->db->quote($data['role'], 'integer') . ", " . "mapping_info = " . $this->db->quote($data['info'], 'text') . ", " . "mapping_info_type = " . $this->db->quote($data['info_type'], 'integer') . " " . "WHERE mapping_id = " . $this->db->quote($mapping_id, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleGroupMappingSettings.php
"DELETE FROM ldap_rg_mapping " . "WHERE server_id = " . $this->db->quote($this->getServerId( ), 'integer') . " " . "AND mapping_id = " . $this->db->quote($a_mapping_id, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleGroupMappingSettings.php
"SELECT * FROM ldap_rg_mapping LEFT JOIN object_data " . "ON role = obj_id " . "WHERE server_id =" . $this->db->quote($this->getServerId( ), 'integer') . ' ' . "ORDER BY title,dn"1
  • /components/ILIAS/LDAP/classes/class.ilLDAPRoleGroupMappingSettings.php
"DELETE FROM ldap_attribute_mapping " . "WHERE server_id =" . $ilDB->quote($a_server_id, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPAttributeMapping.php
"SELECT value FROM ldap_attribute_mapping " . "WHERE server_id =" . $ilDB->quote($a_server_id, 'integer') . " " . "AND keyword = " . $ilDB->quote('global_role', 'text')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPAttributeMapping.php
'SELECT perform_update FROM ldap_attribute_mapping ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND perform_update = 1'1
  • /components/ILIAS/LDAP/classes/class.ilLDAPAttributeMapping.php
"INSERT INTO ldap_attribute_mapping (server_id,keyword,value,perform_update) " . "VALUES( " . $this->db->quote($this->server_id, 'integer') . ", " . $this->db->quote($keyword, 'text') . ", " . $this->db->quote($options['value'], 'text') . ", " . $this->db->quote($options['performUpdate'], 'integer') . ')'1
  • /components/ILIAS/LDAP/classes/class.ilLDAPAttributeMapping.php
"SELECT * FROM ldap_attribute_mapping " . "WHERE server_id =" . $this->db->quote($this->server_id, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPAttributeMapping.php
'UPDATE ldap_server_settings SET ' . 'url = ' . $this->db->quote(implode(',', $all_urls), 'text') . ' ' . 'WHERE server_id = ' . $this->db->quote($this->getServerId( ), 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
"SELECT server_id FROM ldap_server_settings " . "WHERE active = 1 AND authentication = 1 " . "ORDER BY name "1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
"SELECT server_id FROM ldap_server_settings " . "WHERE active = 1 " . "AND sync_per_cron = 1 " . "ORDER BY name"1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
"SELECT server_id FROM ldap_server_settings " . "WHERE active = 1 " . "AND role_sync_active = 1 "1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
'SELECT * FROM ldap_server_settings ORDER BY name'1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
"SELECT server_id FROM ldap_server_settings " . "WHERE active = " . $ilDB->quote(1, 'integer') . " " . "AND authentication = " . $ilDB->quote(0, 'integer') . " " . "AND ( authentication_type = " . $ilDB->quote($a_auth_mode, 'integer') . " " . "OR authentication_type = " . $ilDB->quote(0, 'integer') . ")"1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
"SELECT server_id FROM ldap_server_settings " . "WHERE authentication_type = " . $ilDB->quote($a_auth_mode, 'integer') . " " . "AND authentication = " . $ilDB->quote(0, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
"SELECT server_id FROM ldap_server_settings " . "WHERE authentication_type = " . $ilDB->quote($a_auth_mode, 'integer') . " "1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
'UPDATE ldap_server_settings ' . 'SET authentication_type = ' . $ilDB->quote(0, 'integer') . ' ' . 'WHERE authentication_type = ' . $ilDB->quote($a_authmode, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
"UPDATE ldap_server_settings " . 'SET authentication_type = ' . $ilDB->quote($a_auth_mode, 'integer') . " " . 'WHERE server_id = ' . $ilDB->quote($a_ldap_server_id, 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
'INSERT INTO ldap_server_settings (server_id,active,name,url,version,base_dn,referrals,tls,bind_type,bind_user,bind_pass,' . 'search_base,user_scope,user_attribute,filter,group_dn,group_scope,group_filter,group_member,group_memberisdn,group_name,' . 'group_attribute,group_optional,group_user_filter,sync_on_login,sync_per_cron,role_sync_active,role_bind_dn,role_bind_pass,migration, ' . 'authentication,authentication_type,username_filter, escape_dn) ' . 'VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)'1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
"UPDATE ldap_server_settings SET " . "active = " . $this->db->quote($this->isActive( ), 'integer') . ", " . "name = " . $this->db->quote($this->getName( ), 'text') . ", " . "url = " . $this->db->quote($this->getUrlString( ), 'text') . ", " . "version = " . $this->db->quote($this->getVersion( ), 'integer') . ", " . "base_dn = " . $this->db->quote($this->getBaseDN( ), 'text') . ", " . "referrals = " . $this->db->quote($this->isActiveReferrer( ), 'integer') . ", " . "tls = " . $this->db->quote($this->isActiveTLS( ), 'integer') . ", " . "bind_type = " . $this->db->quote($this->getBindingType( ), 'integer') . ", " . "bind_user = " . $this->db->quote($this->getBindUser( ), 'text') . ", " . "bind_pass = " . $this->db->quote($this->getBindPassword( ), 'text') . ", " . "search_base = " . $this->db->quote($this->getSearchBase( ), 'text') . ", " . "user_scope = " . $this->db->quote($this->getUserScope( ), 'integer') . ", " . "user_attribute = " . $this->db->quote($this->getUserAttribute( ), 'text') . ", " . "filter = " . $this->db->quote($this->getFilter( ), 'text') . ", " . "group_dn = " . $this->db->quote($this->getGroupDN( ), 'text') . ", " . "group_scope = " . $this->db->quote($this->getGroupScope( ), 'integer') . ", " . "group_filter = " . $this->db->quote($this->getGroupFilter( ), 'text') . ", " . "group_member = " . $this->db->quote($this->getGroupMember( ), 'text') . ", " . "group_memberisdn =" . $this->db->quote((int) $this->enabledGroupMemberIsDN( ), 'integer') . ", " . "group_name = " . $this->db->quote($this->getGroupName( ), 'text') . ", " . "group_attribute = " . $this->db->quote($this->getGroupAttribute( ), 'text') . ", " . "group_optional = " . $this->db->quote((int) $this->isMembershipOptional( ), 'integer') . ", " . "group_user_filter = " . $this->db->quote($this->getGroupUserFilter( ), 'text') . ", " . "sync_on_login = " . $this->db->quote(($this->enabledSyncOnLogin( ) ? 1 : 0), 'integer') . ", " . "sync_per_cron = " . $this->db->quote(($this->enabledSyncPerCron( ) ? 1 : 0), 'integer') . ", " . "role_sync_active = " . $this->db->quote($this->enabledRoleSynchronization( ), 'integer') . ", " . "role_bind_dn = " . $this->db->quote($this->getRoleBindDN( ), 'text') . ", " . "role_bind_pass = " . $this->db->quote($this->getRoleBindPassword( ), 'text') . ", " . "migration = " . $this->db->quote((int) $this->isAccountMigrationEnabled( ), 'integer') . ", " . 'authentication = ' . $this->db->quote((int) $this->isAuthenticationEnabled( ), 'integer') . ', ' . 'authentication_type = ' . $this->db->quote($this->getAuthenticationMapping( ), 'integer') . ' ' . ", username_filter = " . $this->db->quote($this->getUsernameFilter( ), "text") . " " . ", escape_dn = " . $this->db->quote($this->enabledEscapeDN( ) ? 1 : 0, 'integer') . " " . "WHERE server_id = " . $this->db->quote($this->getServerId( ), 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
"DELETE FROM ldap_server_settings " . "WHERE server_id = " . $this->db->quote($this->getServerId( ), 'integer')1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
"SELECT * FROM ldap_server_settings WHERE server_id = " . $this->db->quote($this->server_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php
"SELECT * FROM ldap_server_settings WHERE server_id = 1"1
  • /components/ILIAS/LDAP/tests/ilLDAPServerTest.php
"SELECT obj_id, title, tstamp, type, description" . PHP_EOL . "FROM object_data_del" . PHP_EOL . "WHERE obj_id = " . $ilDB->quote($a_object_id, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDataDeletionLog.php
"SELECT count(obj_id) cnt" . PHP_EOL . "FROM object_translation" . PHP_EOL . "WHERE obj_id = " . $ilDB->quote(ROOT_FOLDER_ID, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDefinition.php
"SELECT id, class_name, component, location, checkbox, inherit, translate, devmode, allow_link," . PHP_EOL . "allow_copy, rbac, `system`, sideblock, default_pos, grp, default_pres_pos, `export`, repository," . PHP_EOL . "workspace, administration, amet, orgunit_permissions, lti_provider, offline_handling" . PHP_EOL . "FROM il_object_def" . PHP_EOL . "WHERE component = %s" . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDefinition.php
"SELECT component FROM il_object_def WHERE id = %s"1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDefinition.php
"SELECT * FROM il_object_group"1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDefinition.php
'Update copy progress: ' . json_encode($json)1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectCopyGUI.php
"SELECT DISTINCT(ut_lp_collections.obj_id) obj_id" . PHP_EOL . "FROM object_reference" . PHP_EOL . "JOIN ut_lp_collections ON" . PHP_EOL . "(" . $ilDB->in("object_reference.ref_id", $ref_ids, false, "integer") . PHP_EOL . "AND object_reference.ref_id = ut_lp_collections.item_id)" . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectLP.php
"DELETE FROM ut_lp_collections" . PHP_EOL . "WHERE obj_id = " . $ilDB->quote($row["obj_id"], "integer") . PHP_EOL . "AND " . $ilDB->in("item_id", $ref_ids, false, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectLP.php
"SELECT ut_lp_collections.obj_id obj_id" . PHP_EOL . "FROM object_reference" . PHP_EOL . "JOIN ut_lp_collections ON" . PHP_EOL . "(object_reference.obj_id = " . $this->db->quote($this->obj_id, "integer") . PHP_EOL . "AND object_reference.ref_id = ut_lp_collections.item_id)" . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectLP.php
"DELETE FROM ut_lp_collections" . PHP_EOL . "WHERE obj_id = " . $this->db->quote($row["obj_id"], "integer") . PHP_EOL . "AND item_id = " . $this->db->quote($this->obj_id, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectLP.php
"SELECT obj_id, type" . PHP_EOL . "FROM object_data" . PHP_EOL . "WHERE " . $ilDB->in("obj_id", $obj_ids, false, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectLP.php
"SELECT obj_id" . PHP_EOL . "FROM read_event" . PHP_EOL . "WHERE " . $ilDB->in("obj_id", $find_by_parent, false, "integer") . PHP_EOL . "AND usr_id = " . $ilDB->quote($usr_id, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectLP.php
"SELECT type_id, lp_mode FROM ut_lp_defaults"1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectLP.php
"DELETE FROM ut_lp_defaults"1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectLP.php
"SELECT id, class_name, component, location, checkbox, inherit, translate, devmode, allow_link," . PHP_EOL . "allow_copy, rbac, `system`, sideblock, default_pos, grp, default_pres_pos, `export`, repository," . PHP_EOL . "workspace, administration, amet, orgunit_permissions, lti_provider, offline_handling" . PHP_EOL . "FROM il_object_def" . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilCachedObjectDefinition.php
"SELECT parent, subobj, mmax" . PHP_EOL . "FROM il_object_subobj" . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilCachedObjectDefinition.php
"SELECT DISTINCT(id) AS sid, parent, id, class_name, component, location, checkbox, inherit," . PHP_EOL . "translate, devmode, allow_link, allow_copy, rbac, `system`, sideblock, default_pos, grp," . PHP_EOL . "default_pres_pos, `export`, repository, workspace, administration, amet, orgunit_permissions," . PHP_EOL . "lti_provider, offline_handling" . PHP_EOL . "FROM il_object_def, il_object_subobj" . PHP_EOL . "WHERE NOT (" . $db->quoteIdentifier('system') . " = 1)" . PHP_EOL . "AND NOT (sideblock = 1)" . PHP_EOL . "AND subobj = id" . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilCachedObjectDefinition.php
"SELECT id, name, default_pres_pos" . PHP_EOL . "FROM il_object_group" . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilCachedObjectDefinition.php
"SELECT obj_type, sub_type, amet" . PHP_EOL . "FROM il_object_sub_type" . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilCachedObjectDefinition.php
"SELECT parent_id, obj_id, timing_type, timing_start, timing_end, suggestion_start," . PHP_EOL . "suggestion_end, changeable, visible, position, suggestion_start_rel, suggestion_end_rel" . PHP_EOL . "FROM crs_items" . PHP_EOL . "WHERE " . $db->in("obj_id", $ref_ids, false, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectActivation.php
"DELETE FROM crs_items " . PHP_EOL . "WHERE obj_id = " . $db->quote($ref_id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectActivation.php
"DELETE FROM crs_items " . PHP_EOL . "WHERE parent_id = " . $db->quote($ref_id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectActivation.php
"SELECT parent_id" . PHP_EOL . "FROM crs_items" . PHP_EOL . "WHERE timing_type = " . $db->quote(self::TIMINGS_PRESETTING, 'integer') . PHP_EOL . "AND " . $db->in('obj_id', $ref_ids, false, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectActivation.php
"SELECT parent_id" . PHP_EOL . "FROM crs_items" . PHP_EOL . "WHERE timing_type = " . $db->quote(self::TIMINGS_PRESETTING, 'integer') . PHP_EOL . "AND changeable = " . $db->quote(1, 'integer') . PHP_EOL . "AND " . $db->in('obj_id', $ref_ids, false, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectActivation.php
"SELECT parent_id, obj_id, timing_type, timing_start, timing_end, suggestion_start," . PHP_EOL . "suggestion_end, changeable, visible, position, suggestion_start_rel, suggestion_end_rel" . PHP_EOL . "FROM crs_items" . PHP_EOL . "WHERE obj_id = " . $db->quote($ref_id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectActivation.php
'SELECT obj_id, title, description, lang_code, lang_default' . PHP_EOL . 'FROM object_translation' . PHP_EOL . 'WHERE ' . $this->db->in('obj_id', $ids, false, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDataSet.php
'SELECT obj_id, lang_code' . PHP_EOL . 'FROM object_translation' . PHP_EOL . 'WHERE ' . $this->db->in('obj_id', $ids, false, 'integer') . PHP_EOL . 'AND lang_base = 1'1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDataSet.php
"SELECT od.obj_id, od.type, od.title, od.description, od.owner, od.create_date," . PHP_EOL . "od.last_update, od.import_id, ore.ref_id, ore.obj_id, ore.deleted, ore.deleted_by" . PHP_EOL . "FROM " . self::TABLE_OBJECT_DATA . " od" . PHP_EOL . "JOIN object_reference ore ON od.obj_id = ore.obj_id" . PHP_EOL . "WHERE ore.ref_id = " . $this->db->quote($this->ref_id, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT obj_id, type, title, description, owner, create_date, last_update, import_id, offline" . PHP_EOL . "FROM " . self::TABLE_OBJECT_DATA . PHP_EOL . "WHERE obj_id = " . $this->db->quote($this->id, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT obj_id, description" . PHP_EOL . "FROM object_description" . PHP_EOL . "WHERE obj_id = " . $this->db->quote($this->id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT title, description" . PHP_EOL . "FROM object_translation" . PHP_EOL . "WHERE obj_id = " . $this->db->quote($this->id, 'integer') . PHP_EOL . "AND lang_code = " . $this->db->quote($ilUser->getCurrentLanguage( ), 'text') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT import_id" . PHP_EOL . "FROM " . self::TABLE_OBJECT_DATA . PHP_EOL . "WHERE obj_id = " . $db->quote($obj_id, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT last_update, create_date" . PHP_EOL . "FROM " . self::TABLE_OBJECT_DATA . PHP_EOL . "WHERE obj_id = " . $this->db->quote($this->id, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT ref_id" . PHP_EOL . "FROM object_reference" . PHP_EOL . "WHERE obj_id = " . $db->quote($id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT obj_id" . PHP_EOL . "FROM " . self::TABLE_OBJECT_DATA . PHP_EOL . "WHERE " . $where . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT MAX(last_update) as last_update" . PHP_EOL . "FROM " . self::TABLE_OBJECT_DATA . PHP_EOL . "WHERE " . $db->in("obj_id", $obj_ids, false, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"UPDATE object_reference" . PHP_EOL . "SET deleted = " . $db->now( ) . ", " . PHP_EOL . "deleted_by = " . $db->quote($user_id, "integer") . PHP_EOL . "WHERE " . $db->in("ref_id", $ref_ids, false, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT deleted" . PHP_EOL . "FROM object_reference" . PHP_EOL . "WHERE ref_id = " . $db->quote($ref_id, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT obj_id, description" . PHP_EOL . "FROM object_description" . PHP_EOL . "WHERE obj_id = " . $db->quote($obj_id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT obj_id, type, title, description, owner, create_date, last_update, import_id, offline" . PHP_EOL . "FROM " . self::TABLE_OBJECT_DATA . PHP_EOL . "WHERE type = " . $db->quote($type, "text") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT COUNT(ref_id) num" . PHP_EOL . "FROM object_reference" . PHP_EOL . "WHERE obj_id = " . $this->db->quote($this->id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"DELETE FROM " . self::TABLE_OBJECT_DATA . PHP_EOL . "WHERE obj_id = " . $this->db->quote($this->getId( ), "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"DELETE FROM object_description" . PHP_EOL . "WHERE obj_id = " . $this->db->quote($this->getId( ), "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"DELETE FROM dav_property" . PHP_EOL . "WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"DELETE FROM object_reference" . PHP_EOL . "WHERE ref_id = " . $this->db->quote($this->getRefId( ), 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT object_data.obj_id" . PHP_EOL . "FROM " . self::TABLE_OBJECT_DATA . PHP_EOL . "LEFT JOIN object_reference ON object_reference.obj_id = object_data.obj_id " . PHP_EOL . "WHERE object_reference.ref_id= " . $db->quote($id, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT object_data.obj_id" . PHP_EOL . "FROM " . self::TABLE_OBJECT_DATA . PHP_EOL . "WHERE obj_id = " . $db->quote($id, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT obj_id, type, title, description, owner, create_date, last_update, import_id, offline" . PHP_EOL . "FROM " . self::TABLE_OBJECT_DATA . PHP_EOL . $where . PHP_EOL . $order . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT obj_data.title obj_title, path_data.title path_title, child" . PHP_EOL . "FROM tree " . PHP_EOL . "JOIN object_reference obj_ref ON child = obj_ref.ref_id " . PHP_EOL . "JOIN object_data obj_data ON obj_ref.obj_id = obj_data.obj_id " . PHP_EOL . "JOIN object_reference path_ref ON parent = path_ref.ref_id " . PHP_EOL . "JOIN object_data path_data ON path_ref.obj_id = path_data.obj_id " . PHP_EOL . "WHERE " . $db->in("child", $ref_ids, false, "integer") . PHP_EOL . "ORDER BY obj_data.title" . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"INSERT INTO dav_property" . PHP_EOL . "(obj_id, node_id, ns, name, value)" . PHP_EOL . "SELECT " . $this->db->quote($new_obj->getId( ), 'integer') . ", node_id, ns, name, value " . PHP_EOL . "FROM dav_property" . PHP_EOL . "WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT obj_id, description" . PHP_EOL . "FROM object_description" . PHP_EOL . "WHERE " . $db->in("obj_id", $obj_ids, false, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT od.obj_id, od.type, od.title" . PHP_EOL . "FROM object_data od" . PHP_EOL . "JOIN object_reference oref ON(oref.obj_id = od.obj_id)" . PHP_EOL . "JOIN tree ON (tree.child = oref.ref_id)" . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT oref.obj_id, od.type, od.title" . PHP_EOL . "FROM object_data od" . PHP_EOL . "JOIN container_reference oref ON (od.obj_id = oref.target_obj_id)" . PHP_EOL . "AND " . $db->in("oref.obj_id", $missing_obj_ids, false, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT create_date" . PHP_EOL . "FROM " . self::TABLE_OBJECT_DATA . PHP_EOL . "WHERE obj_id = " . $db->quote($obj_id, "integer") . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
"SELECT obj_id" . PHP_EOL . "FROM object_reference" . PHP_EOL . "WHERE ref_id = " . $this->db->quote($ref_id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDataCache.php
"SELECT object_data.obj_id, object_data.type, object_data.title, object_data.description, " . PHP_EOL . "object_data.owner, object_data.create_date, object_data.last_update, object_data.import_id, " . PHP_EOL . "object_data.offline, object_description.description as long_description " . PHP_EOL . "FROM object_data LEFT JOIN object_description ON object_data.obj_id = object_description.obj_id " . PHP_EOL . "WHERE object_data.obj_id = " . $this->db->quote($obj_id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDataCache.php
"SELECT title, description" . PHP_EOL . "FROM object_translation" . PHP_EOL . "WHERE obj_id = " . $this->db->quote($obj_id, 'integer') . PHP_EOL . "AND lang_code = " . $this->db->quote($user->getLanguage( ), 'text') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDataCache.php
"SELECT object_data.obj_id, object_data.type, object_data.title, object_data.description, " . PHP_EOL . "object_data.owner, object_data.create_date, object_data.last_update, object_data.import_id, " . PHP_EOL . "object_data.offline, object_description.description as long_description " . PHP_EOL . "FROM object_data LEFT JOIN object_description ON object_data.obj_id = object_description.obj_id " . PHP_EOL . "WHERE " . $this->db->in('object_data.obj_id', $obj_ids, false, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDataCache.php
"SELECT obj_id, title, description" . PHP_EOL . "FROM object_translation" . PHP_EOL . "WHERE " . $this->db->in('obj_id', $ids, false, 'integer') . PHP_EOL . "AND lang_code = " . $this->db->quote($lang, 'text') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDataCache.php
"SELECT ref_id, obj_id" . PHP_EOL . "FROM object_reference" . PHP_EOL . "WHERE " . $this->db->in('ref_id', $ref_ids, false, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectDataCache.php
"SELECT object_data.obj_id" . PHP_EOL . "FROM object_data, object_reference" . PHP_EOL . "WHERE object_reference.obj_id = object_data.obj_id" . PHP_EOL . "AND object_data.type = " . $ilDB->quote($object_type, 'text') . PHP_EOL . "AND object_data.owner = " . $ilDB->quote($owner_id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectFactory.php
"SELECT object_data.obj_id, object_data.type" . PHP_EOL . "FROM object_data, object_reference" . PHP_EOL . "WHERE object_reference.obj_id = object_data.obj_id" . PHP_EOL . "AND object_reference.ref_id = " . $ilDB->quote($ref_id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectFactory.php
"SELECT object_data.obj_id, object_data.type" . PHP_EOL . "FROM object_data" . PHP_EOL . "LEFT JOIN object_reference ON object_data.obj_id=object_reference.obj_id " . PHP_EOL . "WHERE object_reference.ref_id=" . $ilDB->quote($ref_id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/classes/class.ilObjectFactory.php
'SELECT obj_id, master_lang, fallback_lang FROM obj_content_master_lng LIMIT ' . self::TESTS_PER_STEP1
  • /components/ILIAS/ILIASObject/src/Setup/MigrateTranslations.php
"DELETE FROM obj_content_master_lng WHERE obj_id = {$row->obj_id}"1
  • /components/ILIAS/ILIASObject/src/Setup/MigrateTranslations.php
' SELECT DISTINCT COUNT(obj_id) as cnt FROM obj_content_master_lng '1
  • /components/ILIAS/ILIASObject/src/Setup/MigrateTranslations.php
"DELETE FROM il_object_def"1
  • /components/ILIAS/ILIASObject/src/Setup/ObjectDefinitionProcessor.php
"DELETE FROM il_object_subobj"1
  • /components/ILIAS/ILIASObject/src/Setup/ObjectDefinitionProcessor.php
"DELETE FROM il_object_group"1
  • /components/ILIAS/ILIASObject/src/Setup/ObjectDefinitionProcessor.php
"DELETE FROM il_object_sub_type"1
  • /components/ILIAS/ILIASObject/src/Setup/ObjectDefinitionProcessor.php
"INSERT INTO il_object_def (id, class_name, component,location," . "checkbox,inherit,translate,devmode,allow_link,allow_copy,rbac,default_pos," . "default_pres_pos,sideblock,grp," . $this->db->quoteIdentifier("system") . ",export,repository,workspace,administration," . "amet,orgunit_permissions,lti_provider,offline_handling) VALUES " . "(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)"1
  • /components/ILIAS/ILIASObject/src/Setup/ObjectDefinitionProcessor.php
"INSERT INTO il_object_group (id, name, default_pres_pos) VALUES (%s,%s,%s)"1
  • /components/ILIAS/ILIASObject/src/Setup/ObjectDefinitionProcessor.php
"INSERT INTO il_object_sub_type " . "(obj_type, sub_type, amet) VALUES (" . $this->db->quote($this->current_object, "text") . "," . $this->db->quote($attributes["id"], "text") . "," . $this->db->quote($attributes["amet"], "integer") . ")"1
  • /components/ILIAS/ILIASObject/src/Setup/ObjectDefinitionProcessor.php
'SELECT ' . 'obj.obj_id, obj.type, obj.title, obj.description, obj.owner,' . PHP_EOL . 'obj.create_date, obj.last_update, obj.import_id, obj.offline,' . PHP_EOL . 'obj.tile_image_rid, descr.description' . PHP_EOL . 'FROM ' . self::CORE_PROPERTIES_TABLE . ' AS obj' . PHP_EOL . 'LEFT JOIN ' . self::DESCRIPTION_TABLE . ' AS descr' . PHP_EOL . 'ON obj.obj_id = descr.obj_id' . PHP_EOL . $where1
  • /components/ILIAS/ILIASObject/src/Properties/CoreProperties/CachedRepository.php
'SELECT ' . 'ref_id, obj_id, deleted, deleted_by' . PHP_EOL . 'FROM ' . self::REFERENCE_PROPERTIES_TABLE . PHP_EOL . $where1
  • /components/ILIAS/ILIASObject/src/Properties/ObjectReferenceProperties/CachedRepository.php
'SELECT ' . 'obj_id, timing_type, timing_start, timing_end, visible' . PHP_EOL . 'FROM ' . self::TIMINGS_PROPERTIES_TABLE . PHP_EOL . $where1
  • /components/ILIAS/ILIASObject/src/Properties/ObjectReferenceProperties/AvailabilityPeriod/CachedRepository.php
'SELECT ' . 'changeable, position, suggestion_start, suggestion_end' . PHP_EOL . 'FROM ' . self::TIMINGS_PROPERTIES_TABLE . PHP_EOL . $where1
  • /components/ILIAS/ILIASObject/src/Properties/ObjectReferenceProperties/AvailabilityPeriod/CachedRepository.php
'SELECT title, description, lang_code, lang_default, lang_base' . PHP_EOL . 'FROM ' . self::OBJECT_TRANSLATIONS_TABLE . PHP_EOL . 'WHERE obj_id = ' . $this->db->quote($object_id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/src/Properties/Translations/CachedRepository.php
'SELECT obj_id, master_lang, fallback_lang' . PHP_EOL . 'FROM ' . self::COPAGE_TRANSLATIONS_TABLE . PHP_EOL . 'WHERE obj_id = ' . $this->db->quote($object_id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/src/Properties/Translations/CachedRepository.php
'SELECT title, description, lang_code, lang_default' . PHP_EOL . 'FROM ' . self::OBJECT_TRANSLATIONS_TABLE . PHP_EOL . 'WHERE obj_id = ' . $this->db->quote($object_id, 'integer') . PHP_EOL1
  • /components/ILIAS/ILIASObject/src/Properties/Translations/CachedRepository.php
'DELETE FROM ' . self::OBJECT_TRANSLATIONS_TABLE . PHP_EOL . 'WHERE obj_id = ' . $this->db->quote($obj_id, 'integer')1
  • /components/ILIAS/ILIASObject/src/Properties/Translations/CachedRepository.php
'INSERT INTO ' . self::OBJECT_TRANSLATIONS_TABLE . PHP_EOL . '(obj_id, title, description, lang_code, lang_default, lang_base)' . PHP_EOL . 'VALUES ' . $values1
  • /components/ILIAS/ILIASObject/src/Properties/Translations/CachedRepository.php
'SELECT DISTINCT(usr_id) FROM rbac_ua ' . 'WHERE ' . $ilDB->in('rol_id', $lrol, false, 'integer')1
  • /components/ILIAS/Awareness/User/class.ProviderCurrentCourse.php
"SELECT usr_id FROM usr_data "1
  • /components/ILIAS/Awareness/User/class.ProviderAllUsers.php
"SELECT DISTINCT usr_id FROM obj_members " . " WHERE " . $ilDB->in("obj_id", $groups_and_courses_of_user, false, "integer") . ' ' . 'AND (admin > ' . $ilDB->quote(0, 'integer') . ' ' . 'OR tutor > ' . $ilDB->quote(0, 'integer') . ' ' . 'OR member > ' . $ilDB->quote(0, 'integer') . ")"1
  • /components/ILIAS/Awareness/User/class.ProviderMemberships.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE type != 1 ORDER BY position ASC'1
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Entries/EntriesRepositoryDB.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE id = %s AND type != 1'1
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Entries/EntriesRepositoryDB.php
'SELECT id FROM ' . self::TABLE_NAME . ' WHERE id = %s AND type != 1'1
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Entries/EntriesRepositoryDB.php
'DELETE FROM ' . self::TABLE_NAME . ' WHERE type != 1'1
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Entries/EntriesRepositoryDB.php
'SELECT value FROM settings WHERE keyword = %s AND module = %s'1
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Translation/TranslationsRepositoryDB.php
'UPDATE ' . self::TABLE_NAME . ' SET status = 0 WHERE id = %s'1
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Translation/TranslationsRepositoryDB.php
'DELETE FROM ' . self::TABLE_NAME . ' WHERE id = %s AND translation = ""'1
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Translation/TranslationsRepositoryDB.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE id = %s AND status = 1'1
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Translation/TranslationsRepositoryDB.php
'SELECT g.*, (SELECT COUNT(id) FROM gs_footer_items WHERE parent = g.id) AS items FROM gs_footer_items AS g WHERE g.type = 1 ORDER BY g.position ASC'1
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Groups/GroupsRepositoryDB.php
'SELECT g.*, (SELECT COUNT(id) FROM gs_footer_items WHERE parent = g.id) AS items FROM gs_footer_items AS g WHERE g.type = 1 AND g.id = %s ORDER BY g.position ASC'1
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Groups/GroupsRepositoryDB.php
'SELECT id FROM ' . self::TABLE_NAME . ' WHERE id = %s AND type = 1'1
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Groups/GroupsRepositoryDB.php
' SELECT DISTINCT sco_id FROM scorm_tracking WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
'SELECT user_id, last_access, lastname, firstname FROM sahs_user st ' . 'JOIN usr_data ud ON st.user_id = ud.usr_id ' . 'WHERE obj_id = ' . $ilDB->quote($this->getId( ), 'integer')1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
'SELECT user_id, package_attempts FROM sahs_user WHERE obj_id = ' . $ilDB->quote($this->getId( ), 'integer') . ' '1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
'SELECT user_id, module_version FROM sahs_user WHERE obj_id = ' . $ilDB->quote($this->getId( ), 'integer') . ' '1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
'SELECT module_version FROM sahs_user WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' SELECT * FROM scorm_tracking WHERE user_id = %s AND sco_id = %s AND obj_id = %s ORDER BY lvalue'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' SELECT DISTINCT sco_id FROM scorm_tracking WHERE obj_id = %s AND user_id = %s AND sco_id <> %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' SELECT * FROM scorm_tracking WHERE obj_id = %s AND sco_id = %s AND user_id = %s AND lvalue <> %s AND (lvalue = %s OR lvalue = %s OR lvalue = %s)'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' SELECT DISTINCT user_id FROM scorm_tracking WHERE obj_id = %s AND sco_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' SELECT * FROM scorm_tracking WHERE obj_id = %s AND sco_id = %s AND user_id = %s AND (lvalue = %s OR lvalue = %s OR lvalue = %s)'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
'SELECT * FROM sahs_user WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' SELECT * FROM scorm_tracking WHERE user_id = %s AND sco_id = %s AND lvalue = %s AND obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
'SELECT * FROM sahs_user WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' SELECT * FROM scorm_tracking WHERE user_id = %s AND sco_id = %s AND lvalue = %s AND obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
'SELECT * FROM usr_data WHERE(login=%s)'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' SELECT obj_id FROM sc_item,scorm_tree WHERE (obj_id = child AND identifierref = %s AND slm_id = %s)'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
'SELECT usr_id FROM usr_data WHERE(email=%s)'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' SELECT scorm_object.obj_id, scorm_object.title, scorm_object.c_type, scorm_object.slm_id, scorm_object.obj_id scoid FROM scorm_object,sc_item,sc_resource WHERE(scorm_object.slm_id = %s AND scorm_object.obj_id = sc_item.obj_id AND sc_item.identifierref = sc_resource.import_id AND sc_resource.scormtype = %s) GROUP BY scorm_object.obj_id, scorm_object.title, scorm_object.c_type, scorm_object.slm_id, scorm_object.obj_id '1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' SELECT * FROM scorm_tracking WHERE (user_id = %s AND obj_id = %s AND ' . $ilDB->in('sco_id', $scos, false, 'integer') . ' AND ((lvalue = %s AND ' . $ilDB->like('rvalue', 'clob', 'completed') . ') OR (lvalue = %s AND ' . $ilDB->like('rvalue', 'clob', 'passed') . ')))'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' SELECT scorm_object.obj_id, scorm_object.title, scorm_object.c_type, scorm_object.slm_id, scorm_object.obj_id scoid FROM scorm_object, sc_item,sc_resource WHERE(scorm_object.slm_id = %s AND scorm_object.obj_id = sc_item.obj_id AND sc_item.identifierref = sc_resource.import_id AND sc_resource.scormtype = %s ) GROUP BY scorm_object.obj_id, scorm_object.title, scorm_object.c_type, scorm_object.slm_id, scorm_object.obj_id'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' SELECT sco_id FROM scorm_tracking WHERE (user_id = %s AND obj_id = %s AND ' . $ilDB->in('sco_id', $scos, false, 'integer') . ' AND ((lvalue = %s AND ' . $ilDB->like('rvalue', 'clob', 'completed') . ') OR (lvalue = %s AND ' . $ilDB->like('rvalue', 'clob', 'passed') . ') ) )'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
'DELETE FROM scorm_tracking WHERE user_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
" SELECT lvalue, rvalue FROM scorm_tracking WHERE sco_id = %s AND user_id = %s AND (lvalue = 'cmi.core.score.raw' OR lvalue = 'cmi.core.score.max')"1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
'SELECT last_visited FROM sahs_user WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' DELETE FROM scorm_tracking WHERE user_id = %s AND obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
' DELETE FROM sahs_user WHERE user_id = %s AND obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
"SELECT " . implode(",", $columns) . " FROM " . $this->db_table1
  • /components/ILIAS/ScormAicc/classes/class.ilScormAiccDataSet.php
"SELECT title,description FROM object_data"1
  • /components/ILIAS/ScormAicc/classes/class.ilScormAiccDataSet.php
'SELECT user_id, st.obj_id, sco_id, identifierref, c_timestamp, lvalue, rvalue ' . 'FROM scorm_tracking st ' . 'JOIN sc_item si ON st.sco_id = si.obj_id ' . 'WHERE ' . $ilDB->in('sco_id', $a_sco, false, 'integer') . ' ' . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'ORDER BY '1
  • /components/ILIAS/ScormAicc/classes/class.ilSCORMTrackingItems.php
'SELECT obj_id, title FROM scorm_object WHERE slm_id = %s AND c_type = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilSCORMTrackingItems.php
'SELECT user_id, sco_id, max(c_timestamp) as c_timestamp ' . 'FROM scorm_tracking ' . 'WHERE ' . $ilDB->in('sco_id', $a_sco, false, 'integer') . ' ' . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'GROUP BY user_id, sco_id ' . 'ORDER BY '1
  • /components/ILIAS/ScormAicc/classes/class.ilSCORMTrackingItems.php
'SELECT user_id, sco_id, rvalue ' . 'FROM scorm_tracking ' . 'WHERE obj_id = %s ' . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'AND ' . $ilDB->in('sco_id', $a_sco, false, 'integer') . ' ' . 'AND lvalue=%s'1
  • /components/ILIAS/ScormAicc/classes/class.ilSCORMTrackingItems.php
'SELECT user_id, sco_id, lvalue, c_timestamp ' . 'FROM scorm_tracking ' . 'WHERE obj_id = %s AND ' . $ilDB->in('sco_id', $a_sco, false, 'integer') . ' ' . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'AND left(lvalue,17) = %s ' . 'ORDER BY '1
  • /components/ILIAS/ScormAicc/classes/class.ilSCORMTrackingItems.php
'SELECT user_id, sco_id, rvalue ' . 'FROM scorm_tracking ' . 'WHERE obj_id = %s ' . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'AND ' . $ilDB->in('sco_id', $a_sco, false, 'integer') . ' ' . 'AND lvalue = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilSCORMTrackingItems.php
'SELECT user_id, sco_id, lvalue, c_timestamp ' . 'FROM scorm_tracking ' . 'WHERE obj_id = %s AND ' . $ilDB->in('sco_id', $a_sco, false, 'integer') . ' ' . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'AND left(lvalue,15) = %s ' . 'ORDER BY '1
  • /components/ILIAS/ScormAicc/classes/class.ilSCORMTrackingItems.php
'SELECT count(distinct(scorm_object.obj_id)) counter ' . 'FROM scorm_object, sc_item, sc_resource ' . 'WHERE scorm_object.slm_id = %s ' . 'AND scorm_object.obj_id = sc_item.obj_id ' . 'AND sc_item.identifierref = sc_resource.import_id ' . 'AND (sc_resource.scormtype = %s OR sc_resource.scormtype is null)'1
  • /components/ILIAS/ScormAicc/classes/class.ilSCORMTrackingItems.php
'SELECT user_id, count(distinct(SCO_ID)) counter ' . 'FROM scorm_tracking ' . 'WHERE obj_id = %s ' . 'AND SCO_ID > 0 ' . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'GROUP BY user_id'1
  • /components/ILIAS/ScormAicc/classes/class.ilSCORMTrackingItems.php
'SELECT user_id, count(*) counter ' . 'FROM scorm_tracking ' . 'WHERE obj_id = %s AND lvalue = %s AND rvalue like %s ' . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'GROUP BY user_id'1
  • /components/ILIAS/ScormAicc/classes/class.ilSCORMTrackingItems.php
"SELECT id,c_type" . " FROM sahs_lm" . " WHERE " . $ilDB->in("id", $a_obj_ids, false, "integer")1
  • /components/ILIAS/ScormAicc/classes/class.ilScormLP.php
"SELECT obj_id" . " FROM sahs_user" . " WHERE " . $ilDB->in("obj_id", $types["scorm2004"], false, "integer") . " AND user_id = " . $ilDB->quote($a_usr_id, "integer")1
  • /components/ILIAS/ScormAicc/classes/class.ilScormLP.php
"SELECT obj_id" . " FROM scorm_tracking" . " WHERE " . $ilDB->in("obj_id", $types["scorm"], false, "integer") . " AND user_id = " . $ilDB->quote($a_usr_id, "integer") . " AND lvalue = " . $ilDB->quote("cmi.core.lesson_status", "text")1
  • /components/ILIAS/ScormAicc/classes/class.ilScormLP.php
' INSERT INTO sahs_lm (id, api_adapter, c_type, editable, seq_exp_mode,localization) VALUES (%s,%s,%s,%s,%s,%s)'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
'SELECT localization FROM sahs_lm WHERE id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
'SELECT c_type FROM sahs_lm WHERE id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
'SELECT question_tries FROM sahs_lm WHERE id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
"SELECT minnormalmeasure FROM cp_objective, cp_node" . " WHERE satisfiedbymeasure=1 AND minnormalmeasure is not null AND cp_objective.cp_node_id=cp_node.cp_node_id AND" . " slm_id = " . $ilDB->quote($this->getID( ), "integer")1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
"SELECT masteryscore FROM sc_item,scorm_object" . " WHERE sc_item.masteryscore is not null AND sc_item.obj_id=scorm_object.obj_id AND" . " slm_id = " . $ilDB->quote($this->getID( ), "integer")1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
' UPDATE sahs_lm SET api_adapter = %s, api_func_prefix = %s, auto_review = %s, default_lesson_mode = %s, c_type = %s, stylesheet = %s, editable = %s, max_attempt = %s, module_version = %s, credit = %s, glossary = %s, question_tries = %s, unlimited_session = %s, no_menu = %s, hide_navig = %s, fourth_edition =%s, sequencing = %s, interactions = %s, objectives = %s, comments = %s, time_from_lms = %s, debug = %s, localization = %s, seq_exp_mode = %s, open_mode = %s, width = %s, height = %s, auto_continue = %s, auto_last_visited = %s, check_values = %s, auto_suspend = %s, ie_force_render = %s, mastery_score = %s, id_setting = %s, name_setting = %s WHERE id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
"SELECT DISTINCT id FROM sahs_lm WHERE " . " glossary = " . $ilDB->quote($a_glo_id, "integer")1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
"SELECT DISTINCT glossary FROM sahs_lm WHERE " . " id = " . $ilDB->quote($a_slm_id, "integer")1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
'DELETE FROM sahs_lm WHERE id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
' SELECT aicc_object.obj_id FROM aicc_object, aicc_units WHERE aicc_object.obj_id = aicc_units.obj_id AND aicc_object.slm_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
' DELETE FROM aicc_units WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
' SELECT aicc_object.obj_id FROM aicc_object, aicc_course WHERE aicc_object.obj_id = aicc_course.obj_id AND aicc_object.slm_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
' DELETE FROM aicc_course WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
' DELETE FROM aicc_object WHERE slm_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
"DELETE FROM scorm_tracking WHERE obj_id = " . $ilDB->quote($this->getId( ))1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
'DELETE FROM scorm_tracking WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
"DELETE FROM sahs_user WHERE obj_id = " . $ilDB->quote($this->getId( ))1
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
' SELECT rvalue FROM scorm_tracking WHERE user_id = %s AND sco_id = %s AND lvalue = %s AND obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
'UPDATE sahs_user SET last_visited=%s, last_access = %s, sco_total_time_sec=%s, status=%s, percentage_completed=%s, package_attempts=%s WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
'SELECT DISTINCT(user_id) FROM scorm_tracking WHERE ' . $in . ' AND obj_id = %s AND lvalue = %s AND (' . $ilDB->like('rvalue', 'clob', 'completed') . ' OR ' . $ilDB->like('rvalue', 'clob', 'passed') . ')'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
'SELECT DISTINCT(user_id) FROM scorm_tracking WHERE sco_id = %s AND obj_id = %s AND lvalue = %s AND (' . $ilDB->like('rvalue', 'clob', 'completed') . ' OR ' . $ilDB->like('rvalue', 'clob', 'passed') . ')'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
'SELECT user_id, MAX(c_timestamp) tst ' . 'FROM scorm_tracking ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer') . ' ' . 'GROUP BY user_id'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
'SELECT DISTINCT user_id FROM scorm_tracking WHERE obj_id = %s AND lvalue = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
' SELECT DISTINCT(user_id) FROM scorm_tracking WHERE ' . $in . ' AND obj_id = %s AND lvalue = %s AND ' . $ilDB->like('rvalue', 'clob', 'failed') . ' '1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
' SELECT DISTINCT(user_id) FROM scorm_tracking WHERE sco_id = %s AND obj_id = %s AND lvalue = %s AND ' . $ilDB->like('rvalue', 'clob', 'failed') . ' '1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
' SELECT user_id, COUNT(user_id) completed FROM scorm_tracking WHERE ' . $in . ' AND obj_id = %s AND lvalue = %s AND (' . $ilDB->like('rvalue', 'clob', 'completed') . ' OR ' . $ilDB->like('rvalue', 'clob', 'passed') . ') GROUP BY user_id'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
' SELECT * FROM scorm_tracking WHERE ' . $in . ' AND obj_id = %s AND lvalue = %s '1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
'SELECT user_id,sco_id FROM scorm_tracking WHERE ' . $in . ' AND obj_id = %s GROUP BY user_id, sco_id'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
'SELECT user_id,sco_id FROM scorm_tracking WHERE sco_id = %s AND obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
'SELECT package_attempts, total_time_sec, sco_total_time_sec, time_from_lms FROM sahs_user, sahs_lm ' . 'WHERE sahs_user.obj_id = %s AND sahs_user.user_id = %s AND sahs_user.obj_id = sahs_lm.id'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
' SELECT sco_id, rvalue FROM scorm_tracking WHERE obj_id = %s AND user_id = %s AND lvalue = %s AND sco_id <> %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
'SELECT * FROM sc_resource WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php
'SELECT href FROM sc_resource_file WHERE res_id = %s ORDER BY nr'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php
'SELECT identifierref FROM sc_resource_dependen WHERE res_id = %s ORDER BY nr'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php
'SELECT scormtype FROM sc_resource WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php
' INSERT INTO sc_resource (obj_id, import_id, resourcetype, scormtype, href, xml_base) VALUES(%s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php
' INSERT INTO sc_resource_file (id,res_id, href, nr) VALUES(%s, %s, %s, %s)'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php
' INSERT INTO sc_resource_dependen (id, res_id, identifierref, nr) VALUES(%s, %s, %s, %s)'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php
' UPDATE sc_resource SET import_id = %s, resourcetype = %s, scormtype = %s, href = %s, xml_base = %s WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php
'INSERT INTO sc_resource_file (id, res_id, href, nr) VALUES (%s, %s, %s, %s)'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php
' INSERT INTO sc_resource_dependen (id, res_id, identifierref, nr) VALUES (%s, %s, %s, %s) '1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php
'DELETE FROM sc_resource WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php
'SELECT * FROM scorm_object WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMObject.php
" SELECT sit.obj_id id FROM scorm_object sob, sc_item sit WHERE sob.slm_id = %s AND sob.obj_id = sit.obj_id AND sit.identifierref IS NOT NULL"1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMObject.php
' INSERT INTO scorm_object (obj_id,title, c_type, slm_id) VALUES (%s,%s,%s,%s) '1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMObject.php
' UPDATE scorm_object SET title = %s, c_type = %s, slm_id = %s WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMObject.php
'DELETE FROM scorm_object WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMObject.php
' SELECT c_type FROM scorm_object WHERE obj_id = %s AND slm_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMObject.php
' SELECT sc_item.obj_id,prereq_type,prerequisites,maxtimeallowed,timelimitaction,datafromlms,masteryscore FROM sc_item, scorm_object WHERE scorm_object.obj_id=sc_item.obj_id AND scorm_object.c_type = %s AND scorm_object.slm_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMInitData.php
'SELECT sco_id,lvalue,rvalue FROM scorm_tracking ' . 'WHERE user_id = %s AND obj_id = %s ' . "AND sco_id > 0 AND lvalue != 'cmi.core.entry' AND lvalue != 'cmi.core.session_time'"1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMInitData.php
" SELECT sc_resource.obj_id FROM scorm_tree, sc_resource WHERE scorm_tree.slm_id=%s AND sc_resource.obj_id=scorm_tree.child"1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMInitData.php
"SELECT scorm_tree.lft, scorm_tree.child, CASE WHEN sc_resource.scormtype = 'asset' THEN 1 ELSE 0 END AS asset, sc_resource.href FROM scorm_tree, sc_resource, sc_item WHERE scorm_tree.slm_id=%s AND sc_item.obj_id=scorm_tree.child AND sc_resource.import_id=sc_item.identifierref AND sc_resource.obj_id in (" . $s_resourceIds . ") ORDER BY scorm_tree.lft"1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMInitData.php
"SELECT scorm_tree.child, scorm_tree.depth-3 depth, scorm_object.title, scorm_object.c_type FROM scorm_tree, scorm_object WHERE scorm_object.obj_id=scorm_tree.child AND scorm_tree.slm_id=%s AND (scorm_object.c_type='sor' OR scorm_object.c_type='sit') ORDER BY scorm_tree.lft"1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMInitData.php
'SELECT last_visited, sco_total_time_sec, total_time_sec FROM sahs_user WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMInitData.php
'SELECT count(*) cnt FROM sahs_user WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMInitData.php
'INSERT INTO sahs_user (obj_id, user_id, hash, hash_end) VALUES(%s, %s, %s, %s)'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMInitData.php
'UPDATE sahs_user SET hash = %s, hash_end = %s WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMInitData.php
'SELECT default_organization FROM sc_organizations WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMOrganizations.php
' INSERT INTO sc_organizations (obj_id, default_organization) VALUES (%s, %s)'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMOrganizations.php
' UPDATE sc_organizations SET default_organization = %s WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMOrganizations.php
'DELETE FROM sc_organizations WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMOrganizations.php
'SELECT * FROM sc_manifest WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMManifest.php
' INSERT INTO sc_manifest (obj_id, import_id, version, xml_base) VALUES (%s,%s,%s,%s)'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMManifest.php
' UPDATE sc_manifest SET import_id = %s, version = %s, xml_base = %s WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMManifest.php
'DELETE FROM sc_manifest WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMManifest.php
'SELECT * FROM sc_item WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMItem.php
'DELETE FROM sc_item WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMItem.php
'DELETE FROM scorm_tracking WHERE sco_id = %s AND obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMItem.php
' SELECT obj_id FROM scorm_object WHERE slm_id = %s AND c_type = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMItem.php
'SELECT title FROM scorm_object WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMItem.php
" SELECT * FROM " . $this->table_tree . " " . $this->buildJoin( ) . "WHERE parent = %s " . "AND " . $this->table_tree . "." . $this->tree_pk . " = %s " . $order_clause1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMTree.php
'SELECT import_id, structure FROM sc_organization WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMOrganization.php
'INSERT INTO sc_organization (obj_id, import_id, structure) VALUES(%s, %s, %s)'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMOrganization.php
'UPDATE sc_organization SET import_id = %s, structure = %s WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMOrganization.php
'DELETE FROM sc_organization WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMOrganization.php
'SELECT xml_base FROM sc_resources WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResources.php
'INSERT INTO sc_resources (obj_id, xml_base) VALUES (%s, %s)'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResources.php
' UPDATE sc_resources SET xml_base = %s WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResources.php
'DELETE FROM sc_resources WHERE obj_id = %s'1
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResources.php
"SELECT COUNT(orgu_ua.orgu_id) AS 'cnt' FROM il_orgu_permissions AS perm INNER JOIN il_orgu_ua AS orgu_ua ON orgu_ua.position_id = perm.position_id INNER JOIN il_orgu_op_contexts AS contexts on contexts.id = perm.context_id AND contexts.context is not NULL WHERE orgu_ua.user_id = " . $DIC->database( )->quote($user_id, 'integer') . " AND perm.operations is not NULL AND perm.parent_id = -1"1
  • /components/ILIAS/MyStaff/classes/class.ilMyStaffAccess.php
"SELECT COUNT(orgu_ua.orgu_id) AS cnt FROM il_orgu_permissions AS perm INNER JOIN il_orgu_ua AS orgu_ua ON orgu_ua.position_id = perm.position_id INNER JOIN il_orgu_op_contexts AS contexts on contexts.id = perm.context_id AND contexts.context = '" . $context . "' and orgu_ua.user_id = " . $DIC->database( )->quote($user_id, 'integer') . " AND perm.operations REGEXP '[\\\[,]\"?" . $operation->getOperationId( ) . "\"?[\],]' WHERE perm.parent_id = -1"1
  • /components/ILIAS/MyStaff/classes/class.ilMyStaffAccess.php
'SELECT usr_id FROM ' . $tmp_table_name1
  • /components/ILIAS/MyStaff/classes/class.ilMyStaffAccess.php
"SELECT " . $tmp_orgu_members . ".user_id AS usr_id FROM " . $tmp_orgu_members . " INNER JOIN il_orgu_ua AS orgu_ua_current_user on orgu_ua_current_user.user_id = " . $DIC->database( )->quote($user_id, 'integer') . " INNER JOIN il_orgu_authority AS auth ON auth.position_id = orgu_ua_current_user.position_id " . $position_limitation . " WHERE ( /* Identische OrgUnit wie Current User; Nicht Rekursiv; Fixe Position */ (orgu_ua_current_user.orgu_id = " . $tmp_orgu_members . ".orgu_id AND auth.scope = 1 AND auth.over = " . $tmp_orgu_members . ".user_position_id AND auth.over <> -1 ) OR /* Identische OrgUnit wie Current User; Nicht Rekursiv; Position egal */ (orgu_ua_current_user.orgu_id = " . $tmp_orgu_members . ".orgu_id AND auth.scope = 1 AND auth.over = -1) OR /* Kinder OrgUnit wie Current User */ ( ( " . $tmp_orgu_members . ".orgu_id = orgu_ua_current_user.orgu_id OR " . $tmp_orgu_members . ".tree_path LIKE CONCAT(\"%.\",orgu_ua_current_user.orgu_id ,\".%\") OR " . $tmp_orgu_members . ".tree_path LIKE CONCAT(\"%.\",orgu_ua_current_user.orgu_id ) ) AND ( ( ( /* Gleiche Position */ auth.over = " . $tmp_orgu_members . ".user_position_id AND auth.over <> -1 ) OR ( /* Position Egal */ auth.over = -1 ) ) AND auth.scope = 2 ) ) )"1
  • /components/ILIAS/MyStaff/classes/class.ilMyStaffAccess.php
"select " . ($return_ref_id ? "object_reference.ref_id" : "object_data.obj_id") . " from object_data " . "inner join object_reference on object_reference.obj_id = object_data.obj_id " . "where type = '" . $context . "' " . "AND object_reference.ref_id not in " . " (SELECT parent_id FROM il_orgu_permissions " . " where position_id = " . $position_id . " and context_id = " . $context_id . " and operations NOT REGEXP '[\\\[,]\"?" . $operation_id . "\"?[\],]' and parent_id <> -1)"1
  • /components/ILIAS/MyStaff/classes/class.ilMyStaffAccess.php
"SELECT parent_id as ref_id FROM il_orgu_permissions "1
  • /components/ILIAS/MyStaff/classes/class.ilMyStaffAccess.php
"SELECT obj_id FROM il_orgu_permissions INNER JOIN object_reference ON object_reference.ref_id = il_orgu_permissions.parent_id "1
  • /components/ILIAS/MyStaff/classes/class.ilMyStaffAccess.php
"SELECT * FROM il_orgu_permissions " . " WHERE context_id = " . $context_id . " " . "AND operations REGEXP '[\\\[,]\"?" . $operation_id . "\"?[\],]' " . "AND position_id = " . $position_id . " " . "AND parent_id = -1"1
  • /components/ILIAS/MyStaff/classes/class.ilMyStaffAccess.php
'SELECT * FROM ' . $tmp_table_name1
  • /components/ILIAS/MyStaff/classes/class.ilMyStaffAccess.php
'SELECT crs_ref.ref_id AS crs_ref_id, crs.title AS crs_title, reg_status, lp_status, usr_data.usr_id AS usr_id, usr_data.login AS usr_login, usr_data.lastname AS usr_lastname, usr_data.firstname AS usr_firstname, usr_data.email AS usr_email FROM ( SELECT reg.obj_id, reg.usr_id, ' . ilMStListCourse::MEMBERSHIP_STATUS_REGISTERED . ' AS reg_status, lp.status AS lp_status FROM obj_members AS reg LEFT JOIN ut_lp_marks AS lp on lp.obj_id = reg.obj_id AND lp.usr_id = reg.usr_id WHERE ' . $this->dic->database( )->in('reg.usr_id', $arr_usr_ids, false, 'integer') . ' AND (reg.admin > 0 OR reg.tutor > 0 OR reg.member > 0) UNION SELECT obj_id, usr_id, ' . ilMStListCourse::MEMBERSHIP_STATUS_WAITINGLIST . ' AS reg_status, 0 AS lp_status FROM crs_waiting_list AS waiting WHERE ' . $this->dic->database( )->in('waiting.usr_id', $arr_usr_ids, false, 'integer') . ' UNION SELECT obj_id, usr_id, ' . ilMStListCourse::MEMBERSHIP_STATUS_REQUESTED . ' AS reg_status, 0 AS lp_status FROM il_subscribers AS requested WHERE ' . $this->dic->database( )->in('requested.usr_id', $arr_usr_ids, false, 'integer') . ' ) AS memb INNER JOIN object_data AS crs on crs.obj_id = memb.obj_id AND crs.type = ' . $this->dic->database( )->quote(ilMyStaffAccess::COURSE_CONTEXT, 'text') . ' INNER JOIN object_reference AS crs_ref on crs_ref.obj_id = crs.obj_id AND crs_ref.deleted IS NULL INNER JOIN usr_data on usr_data.usr_id = memb.usr_id'1
  • /components/ILIAS/MyStaff/classes/ListCourses/class.ilMStListCourses.php
'SELECT sktree.title as skill_title, skill_node_id, ulvl.trigger_obj_id, ulvl.user_id, login, firstname, lastname, email, lvl.title as skill_level'1
  • /components/ILIAS/MyStaff/classes/ListCompetences/Skills/class.ilMStListCompetencesSkills.php
"INSERT INTO acl_ws (node_id, object_id, extended_data, tstamp)" . " VALUES (" . $ilDB->quote($a_node_id, "integer") . ", " . $ilDB->quote($a_object_id, "integer") . "," . $ilDB->quote($a_extended_data, "text") . "," . $ilDB->quote(time( ), "integer") . ")"1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
"DELETE FROM acl_ws" . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
"SELECT object_id FROM acl_ws" . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
"SELECT object_id FROM acl_ws" . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer") . " AND object_id = " . $ilDB->quote(ilWorkspaceAccessGUI::PERMISSION_REGISTERED, "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
"SELECT object_id FROM acl_ws" . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer") . " AND object_id = " . $ilDB->quote(ilWorkspaceAccessGUI::PERMISSION_ALL, "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
"SELECT object_id FROM acl_ws" . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer") . " AND object_id = " . $ilDB->quote(ilWorkspaceAccessGUI::PERMISSION_ALL_PASSWORD, "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
"SELECT DISTINCT(obj.owner), u.lastname, u.firstname, u.title" . " FROM object_data obj" . " JOIN object_reference_ws ref ON (obj.obj_id = ref.obj_id)" . " JOIN tree_workspace tree ON (tree.child = ref.wsp_id)" . " JOIN acl_ws acl ON (acl.node_id = tree.child)" . " JOIN usr_data u on (u.usr_id = obj.owner)" . " WHERE " . $ilDB->in("acl.object_id", $obj_ids, "", "integer") . " AND obj.owner <> " . $ilDB->quote($ilUser->getId( ), "integer") . " ORDER BY u.lastname, u.firstname, u.title"1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
"SELECT ref.wsp_id,obj.obj_id" . " FROM object_data obj" . " JOIN object_reference_ws ref ON (obj.obj_id = ref.obj_id)" . " JOIN tree_workspace tree ON (tree.child = ref.wsp_id)" . " JOIN acl_ws acl ON (acl.node_id = tree.child)" . " WHERE " . $ilDB->in("acl.object_id", $obj_ids, "", "integer") . " AND obj.owner = " . $ilDB->quote($a_owner_id, "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
"SELECT ref.wsp_id,obj.obj_id,obj.type,obj.title,obj.owner," . "acl.object_id acl_type, acl.tstamp acl_date" . " FROM object_data obj" . " JOIN object_reference_ws ref ON (obj.obj_id = ref.obj_id)" . " JOIN tree_workspace tree ON (tree.child = ref.wsp_id)" . " JOIN acl_ws acl ON (acl.node_id = tree.child)" . " WHERE " . $ilDB->in("acl.object_id", $obj_ids, "", "integer") . " AND obj.owner <> " . $ilDB->quote($ilUser->getId( ), "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
"SELECT * FROM acl_ws" . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer") . " AND object_id = " . $ilDB->quote(ilWorkspaceAccessGUI::PERMISSION_ALL_PASSWORD, "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
"SELECT ref.wsp_id,obj.obj_id" . " FROM object_data obj" . " JOIN object_reference_ws ref ON (obj.obj_id = ref.obj_id)" . " JOIN tree_workspace tree ON (tree.child = ref.wsp_id)" . " JOIN acl_ws acl ON (acl.node_id = tree.child)" . " WHERE obj.owner = " . $ilDB->quote($ilUser->getId( ), "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
"SELECT obj.obj_id, obj.type, obj.title" . " FROM object_reference_ws ref" . " JOIN tree_workspace tree ON (tree.child = ref.wsp_id)" . " JOIN object_data obj ON (ref.obj_id = obj.obj_id)" . " WHERE ref.wsp_id = " . $ilDB->quote($a_node_id, "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
"SELECT * FROM tree_workspace " . " WHERE tree = %s "1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceTree.php
"SELECT " . $this->obj_pk . " FROM " . $this->table_obj_reference . " WHERE " . $this->ref_pk . " = " . $ilDB->quote($a_node_id, "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceTree.php
"SELECT " . $this->ref_pk . " FROM " . $this->table_obj_reference . " WHERE " . $this->obj_pk . " = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceTree.php
"SELECT tree" . " FROM " . $this->table_obj_reference . " JOIN " . $this->table_tree . " ON (" . $this->table_obj_reference . "." . $this->ref_pk . " = " . $this->table_tree . ".child)" . " WHERE " . $this->ref_pk . " = " . $ilDB->quote($a_node_id, "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceTree.php
"DELETE FROM " . $this->table_obj_reference . " WHERE " . $this->ref_pk . " = " . $ilDB->quote($a_node_id, "integer")1
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceTree.php
"SELECT * FROM lti_ext_provider WHERE id = %s"1
  • /components/ILIAS/LTIConsumer/classes/class.ilLTIConsumeProvider.php
"SELECT * FROM lti_ext_provider WHERE client_id = %s"1
  • /components/ILIAS/LTIConsumer/classes/class.ilLTIConsumeProvider.php
"DELETE FROM lti_ext_provider WHERE id = %s"1
  • /components/ILIAS/LTIConsumer/classes/class.ilLTIConsumeProvider.php
'SELECT * FROM lti_consumer_results' . ' WHERE id = ' . $DIC->database( )->quote($a_id, 'integer')1
  • /components/ILIAS/LTIConsumer/classes/class.ilLTIConsumerResult.php
'SELECT * FROM lti_consumer_results' . ' WHERE obj_id = ' . $DIC->database( )->quote($a_obj_id, 'integer') . ' AND usr_id = ' . $DIC->database( )->quote($a_usr_id, 'integer')1
  • /components/ILIAS/LTIConsumer/classes/class.ilLTIConsumerResult.php
'SELECT * FROM lti_consumer_results' . ' WHERE obj_id = ' . $DIC->database( )->quote($objId, 'integer')1
  • /components/ILIAS/LTIConsumer/classes/class.ilLTIConsumerResult.php
'SELECT * FROM lti_consumer_grades' . ' WHERE obj_id = ' . $DIC->database( )->quote($objId, 'integer')1
  • /components/ILIAS/LTIConsumer/classes/class.ilLTIConsumerGradeSynchronization.php
" SELECT lti_ext_provider.availability, lti_consumer_settings.mastery_score FROM lti_ext_provider, lti_consumer_settings WHERE lti_ext_provider.id = lti_consumer_settings.provider_id AND lti_consumer_settings.obj_id = %s "1
  • /components/ILIAS/LTIConsumer/classes/class.ilLTIConsumerResultService.php
" SELECT lti_ext_provider.provider_key, lti_ext_provider.provider_secret, lti_consumer_settings.launch_key, lti_consumer_settings.launch_secret FROM lti_ext_provider, lti_consumer_settings WHERE lti_ext_provider.id = lti_consumer_settings.provider_id AND lti_consumer_settings.obj_id = %s "1
  • /components/ILIAS/LTIConsumer/classes/class.ilLTIConsumerResultService.php
" SELECT * FROM lti_ext_provider WHERE {$this->getWhereExpression( )} "1
  • /components/ILIAS/LTIConsumer/classes/class.ilLTIConsumeProviderList.php
" SELECT 'untrashed' query, oset.provider_id, COUNT(oset.obj_id) cnt FROM lti_consumer_settings oset INNER JOIN object_reference oref ON oref.obj_id = oset.obj_id AND oref.deleted IS NULL GROUP BY oset.provider_id UNION SELECT 'trashed' query, oset.provider_id, COUNT(oset.obj_id) cnt FROM lti_consumer_settings oset INNER JOIN object_reference oref ON oref.obj_id = oset.obj_id AND oref.deleted IS NOT NULL GROUP BY oset.provider_id "1
  • /components/ILIAS/LTIConsumer/classes/class.ilLTIConsumeProviderList.php
"SELECT oset.obj_id AS obj_id, oref.ref_id AS ref_id, oref.deleted as trashed, odata.title AS title" . " FROM lti_consumer_settings oset, object_reference oref, object_data odata" . " WHERE oset.provider_id = " . $pId . " AND oref.obj_id = oset.obj_id" . " AND odata.obj_id = oset.obj_id"1
  • /components/ILIAS/LTIConsumer/classes/class.ilLTIConsumeProviderList.php
"SELECT * FROM {$this->dbTableName( )} WHERE obj_id = %s"1
  • /components/ILIAS/LTIConsumer/classes/class.ilObjLTIConsumer.php
"DELETE FROM object_translation WHERE obj_id= " . $ilDB->quote($this->getId( ), 'integer') . " AND lang_code = " . $ilDB->quote($a_lang, 'text')1
  • /components/ILIAS/RootFolder/classes/class.ilObjRootFolder.php
"Update ILIAS"1
  • /components/ILIAS/Setup/src/CLI/UpdateCommand.php
"Update complete. Thanks and have fun!"1
  • /components/ILIAS/Setup/src/CLI/UpdateCommand.php
'SELECT * FROM mep_data WHERE id = %s'1
  • /components/ILIAS/MediaPool/Settings/SettingsDBRepository.php
'DELETE FROM mep_data WHERE id = %s'1
  • /components/ILIAS/MediaPool/Settings/SettingsDBRepository.php
"SELECT DISTINCT mep_tree.*, object_data.* " . "FROM mep_tree JOIN mep_item ON (mep_tree.child = mep_item.obj_id) " . " JOIN object_data ON (mep_item.foreign_id = object_data.obj_id) "1
  • /components/ILIAS/MediaPool/classes/class.MediaPoolRepository.php
"SELECT DISTINCT mep_tree.*, mep_item.* " . "FROM mep_tree JOIN mep_item ON (mep_tree.child = mep_item.obj_id) "1
  • /components/ILIAS/MediaPool/classes/class.MediaPoolRepository.php
"SELECT * FROM mep_data " . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaPool/classes/class.ilObjMediaPool.php
"INSERT INTO mep_data " . "(id, default_width, default_height, for_translation) VALUES (" . $ilDB->quote($this->getId( ), "integer") . ", " . $ilDB->quote($this->getDefaultWidth( ), "integer") . ", " . $ilDB->quote($this->getDefaultHeight( ), "integer") . ", " . $ilDB->quote($this->getForTranslation( ), "integer") . ")"1
  • /components/ILIAS/MediaPool/classes/class.ilObjMediaPool.php
"UPDATE mep_data SET " . " default_width = " . $ilDB->quote($this->getDefaultWidth( ), "integer") . "," . " default_height = " . $ilDB->quote($this->getDefaultHeight( ), "integer") . "," . " for_translation = " . $ilDB->quote($this->getForTranslation( ), "integer") . " " . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaPool/classes/class.ilObjMediaPool.php
"SELECT foreign_id as id FROM " . " mep_tree JOIN mep_item ON (mep_tree.child = mep_item.obj_id) " . " JOIN object_data ON (mep_item.foreign_id = object_data.obj_id) " . " WHERE mep_tree.mep_id = " . $ilDB->quote($a_id, "integer") . " AND mep_item.type = " . $ilDB->quote("mob", "text") . " AND object_data.type = " . $ilDB->quote("mob", "text")1
  • /components/ILIAS/MediaPool/classes/class.ilObjMediaPool.php
"SELECT DISTINCT media_item.format f FROM mep_tree " . " JOIN mep_item ON (mep_item.obj_id = mep_tree.child) " . " JOIN object_data ON (mep_item.foreign_id = object_data.obj_id) " . " JOIN media_item ON (media_item.mob_id = object_data.obj_id) " . " WHERE mep_tree.mep_id = " . $ilDB->quote($this->getId( ), "integer") . " AND object_data.type = " . $ilDB->quote("mob", "text") . " ORDER BY f"1
  • /components/ILIAS/MediaPool/classes/class.ilObjMediaPool.php
"SELECT * FROM mep_tree JOIN mep_item ON (child = obj_id) WHERE " . " foreign_id = " . $ilDB->quote($a_foreign_id, "integer") . " AND mep_id = " . $ilDB->quote($a_pool_id, "integer")1
  • /components/ILIAS/MediaPool/classes/class.ilObjMediaPool.php
"SELECT * FROM mep_tree WHERE child = " . $ilDB->quote($a_item_id, "integer") . " AND mep_id = " . $ilDB->quote($a_pool_id, "integer")1
  • /components/ILIAS/MediaPool/classes/class.ilObjMediaPool.php
"SELECT * FROM page_pc_usage WHERE pc_id = " . $ilDB->quote($a_id, "integer") . " AND pc_type = " . $ilDB->quote("incl", "text")1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolPage.php
"SELECT DISTINCT mep_id FROM mep_tree JOIN mep_item ON (child = obj_id) WHERE mep_item.obj_id = " . $ilDB->quote($a_id, "integer") . " AND mep_item.type = " . $ilDB->quote("pg", "text")1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolPage.php
"SELECT mep_id, child " . " ,parent,depth,type,title,foreign_id " . " FROM mep_tree JOIN mep_item ON (child = obj_id) " . " WHERE " . $ilDB->in("mep_id", $a_ids, false, "integer") . " ORDER BY depth"1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolDataSet.php
"SELECT mep_id, child " . " ,parent,depth,type,title,foreign_id, import_id " . " FROM mep_tree JOIN mep_item ON (child = obj_id) " . " WHERE " . $ilDB->in("mep_id", $a_ids, false, "integer") . $type . " ORDER BY depth"1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolDataSet.php
"SELECT for_translation FROM mep_data WHERE id = " . $ilDB->quote($rec["mep_id"], true)1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolDataSet.php
"INSERT INTO mep_item " . "(obj_id, type, foreign_id, title, import_id) VALUES (" . $ilDB->quote($nid, "integer") . "," . $ilDB->quote($this->getType( ), "text") . "," . $ilDB->quote($this->getForeignId( ), "integer") . "," . $ilDB->quote($this->getTitle( ), "text") . "," . $ilDB->quote($this->getImportId( ), "text") . ")"1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolItem.php
"SELECT * FROM mep_item WHERE " . "obj_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolItem.php
"UPDATE mep_item SET " . " type = " . $ilDB->quote($this->getType( ), "text") . "," . " foreign_id = " . $ilDB->quote($this->getForeignId( ), "integer") . "," . " title = " . $ilDB->quote($this->getTitle( ), "text") . "," . " import_id = " . $ilDB->quote($this->getImportId( ), "text") . " WHERE obj_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolItem.php
"DELETE FROM mep_item WHERE " . " obj_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolItem.php
"SELECT " . $a_field . " FROM mep_item WHERE " . " obj_id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolItem.php
"UPDATE mep_item SET " . " title = " . $ilDB->quote($title, "text") . " WHERE foreign_id = " . $ilDB->quote($a_obj, "integer") . " AND type = " . $ilDB->quote("mob", "text")1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolItem.php
"SELECT * FROM mep_tree " . " WHERE child = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolItem.php
"SELECT mep_tree.child as id" . " FROM mep_tree JOIN mep_item ON (mep_tree.child = mep_item.obj_id) WHERE " . " mep_tree.mep_id = " . $ilDB->quote($a_id, "integer") . " AND " . " mep_item.type = " . $ilDB->quote($a_type, "text")1
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolItem.php
"DELETE FROM " . self::TABLE_NAME . " WHERE plugin_id = " . $this->db->quote($id, "text")1
  • /components/ILIAS/Component/classes/class.ilPluginStateDBOverIlDBInterface.php
"Update plugin $this->plugin_name."1
  • /components/ILIAS/Component/classes/Setup/class.ilComponentUpdatePluginObjective.php
"DELETE FROM il_plugin WHERE plugin_id IS NULL"1
  • /components/ILIAS/Component/classes/Setup/class.ilIntroduceComponentArtifactDBUpdateSteps.php
"DELETE FROM il_plugin WHERE plugin_id = PLUGIN_ID"1
  • /components/ILIAS/Component/tests/ilPluginStateDBOverIlDBInterfaceTest.php
"SELECT * FROM il_wiki_data WHERE id = %s"1
  • /components/ILIAS/Wiki/Settings/SettingsDBRepository.php
"DELETE FROM il_wiki_page" . " WHERE id = " . $this->db->quote($id, "integer") . $and1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT * FROM il_wiki_page " . " WHERE lang = %s AND wiki_id = %s ORDER BY title"1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT w1.* FROM il_wiki_page w1 LEFT JOIN il_wiki_page w2 " . " ON w1.id = w2.id AND w2.lang = %s " . " WHERE w1.lang = %s AND w1.wiki_id = %s AND w2.id IS NULL ORDER BY w1.title"1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT w.id, p.last_change_user, p.last_change, w.title " . "FROM page_object p JOIN il_wiki_page w " . " ON (w.wiki_id = %s AND p.parent_type = %s AND p.page_id = w.id AND w.lang = %s) " . " JOIN ( select page_id, max(last_change) mlc FROM page_object " . " WHERE parent_type='wpg' group by page_id) mp " . " ON (mp.page_id = p.page_id AND mp.mlc = p.last_change)"1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT wp.id, p.last_change_user, p.last_change, wp.title, wp.lang " . " FROM il_wiki_page wp JOIN page_object p " . " ON (wp.id = p.page_id AND wp.lang = p.lang) " . " WHERE " . $this->db->in("wp.id", $ids, false, "integer") . " AND p.parent_type = " . $this->db->quote("wpg", "text") . " AND wp.wiki_id = " . $this->db->quote($wiki_id, "integer") . " AND wp.lang = " . $this->db->quote($lang, "text") . " ORDER BY title"1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT w.id, p.last_change_user, p.last_change, w.title, w.lang, 0 nr FROM page_object p " . " JOIN il_wiki_page w ON (w.id = p.page_id AND p.parent_type = %s AND w.lang = p.lang AND w.wiki_id = %s) " . " WHERE p.last_change >= " . $this->db->quote($limit_ts, "timestamp")1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT w.id, p.user_id last_change_user, p.hdate last_change, w.title, w.lang, p.nr FROM page_history p " . " JOIN il_wiki_page w ON (w.id = p.page_id AND p.parent_type = %s AND w.lang = p.lang AND w.wiki_id = %s) " . " WHERE p.hdate >= " . $this->db->quote($limit_ts, "timestamp")1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT w.id, p.created, p.create_user, w.title, w.lang FROM page_object p " . " JOIN il_wiki_page w " . " ON w.id = p.page_id AND p.parent_type = %s AND w.lang = p.lang AND w.wiki_id = %s " . " ORDER BY created DESC"1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT wp.id, wp.title, wp.lang, po.view_cnt as cnt FROM il_wiki_page wp JOIN page_object po" . " ON (wp.id = po.page_id AND wp.lang = po.lang) " . " WHERE wp.wiki_id = " . $this->db->quote($a_wiki_id, "integer") . " AND po.parent_type = " . $this->db->quote("wpg", "text") . " " . " ORDER BY po.view_cnt"1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT DISTINCT lang FROM " . " il_wiki_page WHERE id = %s AND lang <> '-' "1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT count(*) cnt FROM il_wiki_page" . " WHERE " . $this->db->in("id", $ids, false, "integer") . " AND wiki_id = " . $this->db->quote($wiki_id, "integer") . " GROUP BY wiki_id"1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT w.id FROM il_wiki_page w " . " JOIN page_object p ON (w.id = p.page_id AND w.lang = p.lang) " . " WHERE w.wiki_id = " . $this->db->quote($wiki_id, "integer") . " AND w.title = " . $this->db->quote($title, "text") . " AND w.lang = " . $this->db->quote($lang, "text")1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT w.id FROM il_wiki_page w " . " JOIN page_object p ON (w.id = p.page_id AND w.lang = p.lang) " . " WHERE w.id = " . $this->db->quote($id, "integer") . " AND w.lang = " . $this->db->quote($lang, "text")1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT title FROM il_wiki_page " . " WHERE id = " . $this->db->quote($id, "integer") . " AND lang = " . $this->db->quote($lang, "text")1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT wiki_id FROM il_wiki_page" . " WHERE id = " . $this->db->quote($id, "integer") . " AND lang = " . $this->db->quote('-', "text")1
  • /components/ILIAS/Wiki/Page/PageDBRepository.php
"SELECT * FROM il_wiki_data WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilObjWikiAccess.php
"DELETE FROM pg_amd_page_list" . " WHERE id = " . $ilDB->quote($data_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilPCAMDPageList.php
"SELECT * FROM pg_amd_page_list" . " WHERE id = " . $ilDB->quote($a_data_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilPCAMDPageList.php
"SELECT * FROM pg_amd_page_list" . " WHERE id = " . $ilDB->quote($old_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilPCAMDPageList.php
"SELECT id,title FROM il_wiki_page" . " WHERE " . $ilDB->in("id", $found_ids, "", "integer") . " AND lang = " . $ilDB->quote($wpage->getLanguage( ), "text") . " ORDER BY title"1
  • /components/ILIAS/Wiki/classes/class.ilPCAMDPageList.php
"SELECT * FROM pg_amd_page_list" . " WHERE field_id = " . $ilDB->quote($a_field_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilPCAMDPageList.php
"SELECT ts FROM " . $a_table . " WHERE " . $primary1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"UPDATE " . $a_table . " SET " . $values . " WHERE " . $primary1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"INSERT INTO " . $a_table . " (" . $columns . ")" . " VALUES (" . $values . ")"1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"SELECT * " . " FROM wiki_stat_page" . " WHERE wiki_id = " . $ilDB->quote($a_page_obj->getWikiId( ), "integer") . " AND page_id = " . $ilDB->quote($a_page_obj->getId( ), "integer") . " ORDER BY ts DESC"1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"UPDATE wiki_stat_page" . " SET deleted = " . $ilDB->quote(1, "integer") . " WHERE page_id = " . $ilDB->quote($a_page_obj->getId( ), "integer") . " AND wiki_id = " . $ilDB->quote($a_page_obj->getWikiId( ), "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"SELECT ts_day, " . sprintf($a_aggr_value, $a_field) . " " . $a_field1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"SELECT MAX(ts_day) last_day, MIN(ts_day) first_day" . " FROM " . $a_table . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND " . $a_sub_field . " = " . $ilDB->quote($a_sub_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"SELECT MAX(" . $a_field . ") latest" . " FROM " . $a_table . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND ts_day < " . $ilDB->quote($a_day_from, "text")1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"SELECT ts_day, " . sprintf($a_aggr_value, $a_field) . " " . $a_field . " FROM (" . " SELECT ts_day, " . sprintf($a_aggr_sub, $a_field) . " " . $a_field . " FROM " . $a_table . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND ts_day >= " . $ilDB->quote($a_day_from, "text") . " AND ts_day <= " . $ilDB->quote($a_day_to, "text") . " AND " . $a_field . " > " . $ilDB->quote(0, "integer") . " AND " . $a_field . " IS NOT NULL"1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
" SELECT *" . " FROM (" . " SELECT " . $a_aggr_by . ", MAX(deleted) deleted, MAX(ts_day) last_day, MIN(ts_day) first_day" . " FROM " . $a_table . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " GROUP BY " . $a_aggr_by . ") aggr_sub" . " WHERE first_day <= " . $ilDB->quote($a_day_to, "text") . " AND (last_day >= " . $ilDB->quote($a_day_from, "text") . " OR deleted = " . $ilDB->quote(0, "integer") . ")"1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
" SELECT ts_day, " . $a_aggr_by . ", " . sprintf($a_aggr_sub, $a_field) . " " . $a_field . " FROM " . $a_table . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND ts_day >= " . $ilDB->quote($a_day_from, "text") . " AND ts_day <= " . $ilDB->quote($a_day_to, "text")1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"SELECT ts_day, COUNT(DISTINCT(page_id)) num_changed_pages" . " FROM wiki_stat_page_user" . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND ts_day >= " . $ilDB->quote($a_day_from, "text") . " AND ts_day <= " . $ilDB->quote($a_day_to, "text") . " AND changes > " . $ilDB->quote(0, "integer") . " AND changes IS NOT NULL" . " GROUP BY ts_day" . " ORDER BY ts_day"1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"SELECT ts_day, AVG(num_changed_pages) num_changed_pages" . " FROM (" . " SELECT ts_day, COUNT(DISTINCT(page_id)) num_changed_pages" . " FROM wiki_stat_page_user" . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND ts_day >= " . $ilDB->quote($a_day_from, "text") . " AND ts_day <= " . $ilDB->quote($a_day_to, "text") . " AND changes > " . $ilDB->quote(0, "integer") . " AND changes IS NOT NULL" . " GROUP BY ts_day, user_id" . ") aggr_user" . " GROUP BY ts_day" . " ORDER BY ts_day"1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"SELECT ts_day, COUNT(DISTINCT(user_id)) num_changed_users" . " FROM wiki_stat_page_user" . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND ts_day >= " . $ilDB->quote($a_day_from, "text") . " AND ts_day <= " . $ilDB->quote($a_day_to, "text") . " AND changes > " . $ilDB->quote(0, "integer") . " AND changes IS NOT NULL"1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"SELECT ts_day, AVG(num_changed_users) num_changed_users" . " FROM (" . " SELECT ts_day, COUNT(DISTINCT(user_id)) num_changed_users" . " FROM wiki_stat_page_user" . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND ts_day >= " . $ilDB->quote($a_day_from, "text") . " AND ts_day <= " . $ilDB->quote($a_day_to, "text") . " AND changes > " . $ilDB->quote(0, "integer") . " AND changes IS NOT NULL" . " GROUP BY ts_day, page_id" . ") aggr_user" . " GROUP BY ts_day" . " ORDER BY ts_day"1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"SELECT DISTINCT(SUBSTR(ts_day, 1, 7)) " . $ilDB->quoteIdentifier("month") . " FROM wiki_stat_page_user" . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND ts_day IS NOT NULL"1
  • /components/ILIAS/Wiki/classes/class.ilWikiStat.php
"SELECT * FROM wiki_user_html_export " . " WHERE wiki_id = " . $this->db->quote($this->wiki->getId( ), "integer") . " AND with_comments = " . $this->db->quote($this->with_comments, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiUserHTMLExport.php
"INSERT INTO wiki_user_html_export " . "(wiki_id, usr_id, progress, start_ts, status, with_comments) VALUES (" . $ilDB->quote($this->wiki->getId( ), "integer") . "," . $ilDB->quote($this->user->getId( ), "integer") . "," . $ilDB->quote(0, "integer") . "," . $ilDB->quote($ts, "timestamp") . "," . $ilDB->quote(self::RUNNING, "integer") . "," . $ilDB->quote($this->with_comments, "integer") . ")"1
  • /components/ILIAS/Wiki/classes/class.ilWikiUserHTMLExport.php
"UPDATE wiki_user_html_export SET " . " start_ts = " . $ilDB->quote($ts, "timestamp") . "," . " usr_id = " . $ilDB->quote($this->user->getId( ), "integer") . "," . " progress = " . $ilDB->quote(0, "integer") . "," . " status = " . $ilDB->quote(self::RUNNING, "integer") . " WHERE status = " . $ilDB->quote(self::NOT_RUNNING, "integer") . " AND wiki_id = " . $ilDB->quote($this->wiki->getId( ), "integer") . " AND with_comments = " . $ilDB->quote($this->with_comments, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiUserHTMLExport.php
"UPDATE wiki_user_html_export SET " . " progress = " . $this->db->quote($a_progress, "integer") . "," . " status = " . $this->db->quote($a_status, "integer") . " WHERE wiki_id = " . $this->db->quote($this->wiki->getId( ), "integer") . " AND usr_id = " . $this->db->quote($this->user->getId( ), "integer") . " AND with_comments = " . $this->db->quote($this->with_comments, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiUserHTMLExport.php
"SELECT progress, status FROM wiki_user_html_export " . " WHERE wiki_id = " . $this->db->quote($this->wiki->getId( ), "integer") . " AND with_comments = " . $this->db->quote($this->with_comments, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiUserHTMLExport.php
"SELECT id FROM il_wiki_page " . " WHERE id = " . $ilDB->quote($this->getId( ), "integer") . " AND lang = " . $ilDB->quote($this->getLanguage( ), "text")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"INSERT INTO il_wiki_page (" . "id" . ", title" . ", wiki_id" . ", blocked" . ", rating" . ", hide_adv_md" . ", lang" . " ) VALUES (" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($this->getTitle( ), "text") . "," . $ilDB->quote($this->getWikiId( ), "integer") . "," . $ilDB->quote((int) $this->getBlocked( ), "integer") . "," . $ilDB->quote((int) $this->getRating( ), "integer") . "," . $ilDB->quote((int) $this->isAdvancedMetadataHidden( ), "integer") . "," . $ilDB->quote($this->getLanguage( ), "text") . ")"1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"UPDATE il_wiki_page SET " . " title = " . $ilDB->quote($this->getTitle( ), "text") . ",wiki_id = " . $ilDB->quote($this->getWikiId( ), "integer") . ",blocked = " . $ilDB->quote((int) $this->getBlocked( ), "integer") . ",rating = " . $ilDB->quote((int) $this->getRating( ), "integer") . ",hide_adv_md = " . $ilDB->quote((int) $this->isAdvancedMetadataHidden( ), "integer") . " WHERE id = " . $ilDB->quote($this->getId( ), "integer") . " AND lang = " . $ilDB->quote($this->getLanguage( ), "text")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"update news"1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT * FROM il_wiki_page WHERE id = " . $ilDB->quote($this->getId( ), "integer") . " AND lang = " . $ilDB->quote($this->getLanguage( ), "text")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT * FROM il_wiki_page" . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT * FROM il_wiki_page" . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND title = " . $ilDB->quote($a_title, "text") . " AND lang = " . $ilDB->quote($lang, "text")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT * FROM il_wiki_page" . " WHERE id = " . $ilDB->quote($a_page_id, "integer") . " AND lang = " . $ilDB->quote($lang, "text")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT * FROM il_wiki_page" . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND lang = " . $ilDB->quote($lang, "text") . " ORDER BY title"1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT * FROM il_wiki_page wp, page_object p" . " WHERE " . $ilDB->in("wp.id", $ids, false, "integer") . " AND wp.id = p.page_id AND wp.lang = p.lang AND p.parent_type = " . $ilDB->quote("wpg", "text") . " AND wp.wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND wp.lang = " . $ilDB->quote($lang, "text") . " ORDER BY title"1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT wp.*, po.view_cnt as cnt FROM il_wiki_page wp, page_object po" . " WHERE wp.wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND wp.id = po.page_id " . " AND po.parent_type = " . $ilDB->quote("wpg", "text") . " " . " ORDER BY po.view_cnt"1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT count(*) as cnt FROM il_wiki_page" . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " WHERE lang = " . $ilDB->quote("-", "text")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT title FROM il_wiki_page" . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT " . $ilDB->quote($t1, "text") . " = " . $ilDB->quote($t2, "text") . " isequal"1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT DISTINCT title FROM il_wiki_page" . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND " . $ilDB->like("title", "text", "%" . $a_term . "%") . " ORDER by title"1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT * FROM il_wiki_page" . " WHERE id = " . $ilDB->quote($a_page_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php
"SELECT status FROM il_wiki_contributor " . "WHERE wiki_id = %s and user_id = %s"1
  • /components/ILIAS/Wiki/classes/class.ilWikiContributor.php
"SELECT status_time FROM il_wiki_contributor " . "WHERE wiki_id = %s and user_id = %s"1
  • /components/ILIAS/Wiki/classes/class.ilWikiContributor.php
"DELETE FROM il_wiki_contributor WHERE " . " wiki_id = " . $ilDB->quote($a_obj_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiContributor.php
"INSERT INTO il_wiki_contributor (status, wiki_id, user_id, status_time) " . "VALUES (%s,%s,%s,%s)"1
  • /components/ILIAS/Wiki/classes/class.ilWikiContributor.php
"SELECT t.wiki_id, t.wpage_id, p.title, t.new_pages, t.add_to_page FROM wiki_page_template t JOIN il_wiki_page p ON " . " (t.wpage_id = p.id AND p.lang = %s) " . " WHERE t.wiki_id = %s " . $and1
  • /components/ILIAS/Wiki/classes/class.ilWikiPageTemplate.php
"SELECT * FROM wiki_page_template " . " WHERE wiki_id = " . $this->db->quote($this->wiki_id, "integer") . " AND wpage_id = " . $this->db->quote($a_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPageTemplate.php
"INSERT INTO wiki_page_template " . "(wiki_id, wpage_id, new_pages, add_to_page) VALUES (" . $this->db->quote($this->wiki_id, "integer") . "," . $this->db->quote($a_id, "integer") . "," . $this->db->quote($a_new_pages, "integer") . "," . $this->db->quote($a_add_to_page, "integer") . ")"1
  • /components/ILIAS/Wiki/classes/class.ilWikiPageTemplate.php
"UPDATE wiki_page_template SET " . " new_pages = " . $this->db->quote($a_new_pages, "integer") . "," . " add_to_page = " . $this->db->quote($a_add_to_page, "integer") . " WHERE wiki_id = " . $this->db->quote($this->wiki_id, "integer") . " AND wpage_id = " . $this->db->quote($a_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPageTemplate.php
"DELETE FROM wiki_page_template WHERE " . " wiki_id = " . $this->db->quote($this->wiki_id, "integer") . " AND wpage_id = " . $this->db->quote($a_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPageTemplate.php
"SELECT t.wpage_id" . " FROM wiki_page_template t" . " JOIN il_wiki_page p ON " . " (t.wpage_id = p.id) " . " WHERE t.wiki_id = " . $this->db->quote($this->wiki_id, "integer") . " AND p.id = " . $this->db->quote($a_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiPageTemplate.php
"SELECT * FROM il_wiki_data WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Wiki/classes/class.ilObjWiki.php
"DELETE FROM il_wiki_data" . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Wiki/classes/class.ilObjWiki.php
"SELECT id FROM il_wiki_data WHERE short = %s"1
  • /components/ILIAS/Wiki/classes/class.ilObjWiki.php
"SELECT $a_field FROM il_wiki_data WHERE id = " . $ilDB->quote($a_wiki_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilObjWiki.php
"UPDATE il_wiki_data SET " . " startpage = " . $ilDB->quote(ilWikiUtil::makeDbTitle($a_name), "text") . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilObjWiki.php
"SELECT * FROM il_wiki_imp_pages WHERE " . " wiki_id = " . $ilDB->quote($this->getId( ), "integer") . " AND " . " page_id = " . $ilDB->quote($a_page_id, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilObjWiki.php
"SELECT id, title, description," . " startpage start_page, short, rating, introduction" . " FROM il_wiki_data JOIN object_data ON (il_wiki_data.id = object_data.obj_id)" . " WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiDataSet.php
"SELECT id, title, description," . " startpage start_page, short, rating, introduction," . " public_notes, page_toc, rating_side, rating_new, rating_ext" . " FROM il_wiki_data JOIN object_data ON (il_wiki_data.id = object_data.obj_id)" . " WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiDataSet.php
"SELECT id, title, description," . " startpage start_page, short, rating, rating_overall, introduction," . " public_notes, page_toc, rating_side, rating_new, rating_ext" . " FROM il_wiki_data JOIN object_data ON (il_wiki_data.id = object_data.obj_id)" . " WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiDataSet.php
"SELECT id, title, description," . " startpage start_page, short, rating, rating_overall, introduction," . " public_notes, page_toc, rating_side, rating_new, rating_ext, link_md_values" . " FROM il_wiki_data JOIN object_data ON (il_wiki_data.id = object_data.obj_id)" . " WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiDataSet.php
"SELECT id, title, description," . " startpage start_page, short, rating, rating_overall, introduction," . " public_notes, page_toc, rating_side, rating_new, rating_ext, link_md_values, empty_page_templ" . " FROM il_wiki_data JOIN object_data ON (il_wiki_data.id = object_data.obj_id)" . " WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiDataSet.php
"SELECT id, title, wiki_id" . " FROM il_wiki_page" . " WHERE " . $ilDB->in("wiki_id", $a_ids, false, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiDataSet.php
"SELECT id, title, wiki_id," . " blocked, rating, lang" . " FROM il_wiki_page" . " WHERE " . $ilDB->in("wiki_id", $a_ids, false, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiDataSet.php
"SELECT wiki_id, page_id, ord, indent " . " FROM il_wiki_imp_pages " . " WHERE " . $ilDB->in("wiki_id", $a_ids, false, "integer")1
  • /components/ILIAS/Wiki/classes/class.ilWikiDataSet.php
"DELETE FROM notification WHERE " . " user_id = %s"1
  • /components/ILIAS/Wiki/Setup/class.ilWiki8HotfixDBUpdateSteps.php
"SELECT * FROM il_wiki_data " . " WHERE public_notes = %s "1
  • /components/ILIAS/Wiki/Setup/class.ilWikiDBUpdateSteps.php
"SELECT * FROM note_settings " . " WHERE rep_obj_id = %s AND obj_id = %s"1
  • /components/ILIAS/Wiki/Setup/class.ilWikiDBUpdateSteps.php
"SELECT * FROM il_wiki_imp_pages WHERE " . " wiki_id = " . $this->db->quote($wiki_id, "integer") . " ORDER BY ord ASC "1
  • /components/ILIAS/Wiki/Navigation/ImportantPageDBRepository.php
"SELECT MAX(ord) as m FROM il_wiki_imp_pages WHERE " . " wiki_id = " . $this->db->quote($wiki_id, "integer")1
  • /components/ILIAS/Wiki/Navigation/ImportantPageDBRepository.php
"INSERT INTO il_wiki_imp_pages " . "(wiki_id, ord, indent, page_id) VALUES (" . $this->db->quote($wiki_id, "integer") . "," . $this->db->quote($nr, "integer") . "," . $this->db->quote($indent, "integer") . "," . $this->db->quote($page_id, "integer") . ")"1
  • /components/ILIAS/Wiki/Navigation/ImportantPageDBRepository.php
"SELECT * FROM il_wiki_imp_pages WHERE " . " wiki_id = " . $this->db->quote($wiki_id, "integer") . " AND " . " page_id = " . $this->db->quote($page_id, "integer")1
  • /components/ILIAS/Wiki/Navigation/ImportantPageDBRepository.php
"DELETE FROM il_wiki_imp_pages WHERE " . " wiki_id = " . $this->db->quote($wiki_id, "integer") . " AND page_id = " . $this->db->quote($page_id, "integer")1
  • /components/ILIAS/Wiki/Navigation/ImportantPageDBRepository.php
"UPDATE il_wiki_imp_pages SET " . " ord = " . $this->db->quote($ord, "integer") . "," . " indent = " . $this->db->quote($v["indent"], "integer") . " WHERE wiki_id = " . $this->db->quote($wiki_id, "integer") . " AND page_id = " . $this->db->quote($v["page_id"], "integer")1
  • /components/ILIAS/Wiki/Navigation/ImportantPageDBRepository.php
"UPDATE il_wiki_imp_pages SET " . " ord = " . $this->db->quote($ord, "integer") . ", indent = " . $this->db->quote($v["indent"], "integer") . " WHERE wiki_id = " . $this->db->quote($v["wiki_id"], "integer") . " AND page_id = " . $this->db->quote($v["page_id"], "integer")1
  • /components/ILIAS/Wiki/Navigation/ImportantPageDBRepository.php
"SELECT DISTINCT page_id FROM il_wiki_imp_pages WHERE " . " wiki_id = " . $this->db->quote($wiki_id, "integer")1
  • /components/ILIAS/Wiki/Navigation/ImportantPageDBRepository.php
"DELETE FROM il_wiki_missing_page WHERE " . " wiki_id = %s AND target_name = %s AND lang = %s"1
  • /components/ILIAS/Wiki/Links/MissingPageDBRepository.php
"DELETE FROM il_wiki_missing_page WHERE " . " wiki_id = %s AND source_id = %s AND lang = %s"1
  • /components/ILIAS/Wiki/Links/MissingPageDBRepository.php
"SELECT source_id FROM il_wiki_missing_page WHERE " . " wiki_id = %s AND target_name = %s AND lang = %s"1
  • /components/ILIAS/Wiki/Links/MissingPageDBRepository.php
"update status: " . $cnt1
  • /components/ILIAS/Wiki/Export/WikiHtmlExport.php
"SELECT * FROM lng_modules " . "WHERE lang_key = " . $ilDB->quote($lang_key, "text") . " AND module = " . $ilDB->quote($a_module, "text")1
  • /components/ILIAS/Language/classes/class.ilLanguage.php
"SELECT * FROM lng_data WHERE module = %s " . "AND lang_key = %s AND identifier = %s"1
  • /components/ILIAS/Language/classes/class.ilLanguage.php
"SELECT obj_id FROM object_data " . " " . "WHERE title = " . $ilDB->quote($a_lang_key, "text") . " " . "AND type = " . $ilDB->quote("lng", "text")1
  • /components/ILIAS/Language/classes/class.ilLanguage.php
"DELETE FROM object_data " . "WHERE type = " . $this->db->quote("lng", "text") . " " . "AND title = " . $this->db->quote($lang_key, "text")1
  • /components/ILIAS/Language/classes/class.ilObjLanguageFolder.php
"SELECT * FROM lng_modules WHERE " . " lang_key = " . $this->ilDB->quote($this->key, "text") . " AND module = " . $this->ilDB->quote($module, "text")1
  • /components/ILIAS/Language/classes/class.ilObjLanguageDBAccess.php
"SELECT module, lang_array FROM lng_modules WHERE lang_key = %s"1
  • /components/ILIAS/Language/classes/class.ilObjLanguageDBAccess.php
"DELETE FROM lng_data" . " WHERE module = " . $ilDB->quote($prefix, "text")1
  • /components/ILIAS/Language/classes/class.ilPluginLanguage.php
"DELETE FROM lng_modules" . " WHERE module = " . $ilDB->quote($prefix, "text")1
  • /components/ILIAS/Language/classes/class.ilPluginLanguage.php
'SELECT module, lang_array FROM lng_modules WHERE lang_key = %s'1
  • /components/ILIAS/Language/classes/class.ilCachedLanguage.php
"SELECT MAX(local_change) last_change FROM lng_data " . "WHERE lang_key = %s AND local_change IS NOT NULL"1
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
"SELECT * FROM lng_data WHERE lang_key = %s AND module = %s AND local_change IS NOT NULL"1
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
"DELETE FROM lng_modules WHERE lang_key = %s AND module = %s"1
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
"SELECT lang_array FROM lng_modules WHERE lang_key = %s AND module = %s"1
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
"UPDATE lng_data " . "SET value = %s, local_change = %s, remarks = %s " . "WHERE module = %s AND identifier = %s AND lang_key = %s "1
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
"DELETE FROM lng_data " . "WHERE module = %s AND identifier = %s AND lang_key = %s "1
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
"UPDATE usr_pref SET " . "value = " . $ilDB->quote($this->lang_default, "text") . " " . "WHERE keyword = " . $ilDB->quote('language', "text") . " " . "AND value = " . $ilDB->quote($lang_key, "text")1
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
"SELECT COUNT(*) cnt FROM usr_data ud JOIN usr_pref up" . " ON ud.usr_id = up.usr_id " . " WHERE up.value = " . $ilDB->quote($a_lang, "text") . " AND up.keyword = " . $ilDB->quote("language", "text")1
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
"SELECT COUNT(*) cnt FROM usr_data ud LEFT JOIN usr_pref up" . " ON (ud.usr_id = up.usr_id AND up.keyword = " . $ilDB->quote("language", "text") . ")" . " WHERE up.value IS NULL "1
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
"SELECT DISTINCT module FROM lng_data WHERE " . " lang_key = " . $ilDB->quote($a_lang_key, "text") . " order by module"1
  • /components/ILIAS/Language/classes/class.ilObjLanguageExt.php
"SELECT module, identifier, remarks" . " FROM lng_data" . " WHERE lang_key = " . $ilDB->quote($a_lang_key, "text")1
  • /components/ILIAS/Language/classes/class.ilObjLanguageExt.php
"SELECT * FROM lng_data WHERE" . " lang_key = " . $ilDB->quote($a_lang_key, "text") . " "1
  • /components/ILIAS/Language/classes/class.ilObjLanguageExt.php
"SELECT ref_id FROM object_reference r, object_data d" . " WHERE r.obj_id = d.obj_id AND d.type = " . $ilDB->quote("lngf", "text")1
  • /components/ILIAS/Language/classes/class.ilObjLanguageAccess.php
"SELECT obj_id FROM object_data " . " WHERE type = " . $ilDB->quote("lng", "text") . " AND title = " . $ilDB->quote($a_key, "text")1
  • /components/ILIAS/Language/classes/class.ilObjLanguageAccess.php
"SELECT lang_array FROM lng_modules" . " WHERE lang_key = " . $ilDB->quote($lang_key, "text") . " AND module = " . $ilDB->quote($mod, "text")1
  • /components/ILIAS/Language/classes/class.ilObjLanguageExtGUI.php
"SELECT module, identifier FROM lng_log "1
  • /components/ILIAS/Language/classes/class.ilLangDeprecated.php
"SELECT module, identifier FROM lng_data WHERE lang_key = " . $this->db->quote("en", "text") . " ORDER BY module, identifier"1
  • /components/ILIAS/Language/classes/class.ilLangDeprecated.php
"Update plugin language $this->plugin_name."1
  • /components/ILIAS/Language/classes/Setup/class.ilPluginLanguageUpdatedObjective.php
"Update languages " . $this->getInstalledLanguagesAsString( )1
  • /components/ILIAS/Language/classes/Setup/class.ilLanguagesUpdatedObjective.php
"INSERT INTO object_data " . "(obj_id,type,title,description,owner,create_date,last_update) " . "VALUES " . "(" . $ilDB->quote($lid, "integer") . "," . $ilDB->quote("lng", "text") . "," . $ilDB->quote($lang_key, "text") . "," . $ilDB->quote($itype, "text") . "," . $ilDB->quote("-1", "integer") . "," . $ilDB->now( ) . "," . $ilDB->now( ) . ")"1
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"UPDATE object_data SET " . "description = " . $ilDB->quote($ld, "text") . ", " . "last_update = " . $ilDB->now( ) . " " . "WHERE obj_id = " . $ilDB->quote($val["obj_id"], "integer") . " " . "AND type = " . $ilDB->quote("lng", "text")1
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"UPDATE object_data SET " . "description = " . $ilDB->quote("not_installed", "text") . ", " . "last_update = " . $ilDB->now( ) . " " . "WHERE obj_id = " . $ilDB->quote($val["obj_id"], "integer") . " " . "AND type = " . $ilDB->quote("lng", "text")1
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"SELECT * FROM object_data " . "WHERE type = " . $ilDB->quote("lng", "text") . " " . "AND " . $ilDB->like("description", "text", "installed%")1
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"SELECT * FROM object_data " . "WHERE type = " . $ilDB->quote("lng", "text") . " " . "AND description = " . $ilDB->quote("installed_local", "text")1
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"SELECT * FROM object_data " . "WHERE type = " . $ilDB->quote("lng", "text")1
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"DELETE FROM lng_modules WHERE lang_key = " . $ilDB->quote($a_lang_key, "text")1
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"SELECT * FROM lng_modules WHERE " . " lang_key = " . $ilDB->quote($lang_key, "text") . " AND module = " . $ilDB->quote($module, "text")1
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"SELECT o.title, o.description, o.obj_id id" . " FROM object_data o " . " WHERE " . $ilDB->in("o.obj_id", $a_ids, false, "integer")1
  • /components/ILIAS/Style/classes/class.ilStyleDataSet.php
"SELECT style_id, name, value" . " FROM style_setting " . " WHERE " . $ilDB->in("style_id", $a_ids, false, "integer")1
  • /components/ILIAS/Style/classes/class.ilStyleDataSet.php
"SELECT style_id, type, characteristic, hide" . " FROM style_char " . " WHERE " . $ilDB->in("style_id", $a_ids, false, "integer")1
  • /components/ILIAS/Style/classes/class.ilStyleDataSet.php
"SELECT style_id, type, characteristic, hide, order_nr, outdated" . " FROM style_char " . " WHERE " . $ilDB->in("style_id", $a_ids, false, "integer")1
  • /components/ILIAS/Style/classes/class.ilStyleDataSet.php
"SELECT style_id, type, characteristic, lang, title" . " FROM style_char_title " . " WHERE " . $ilDB->in("style_id", $a_ids, false, "integer")1
  • /components/ILIAS/Style/classes/class.ilStyleDataSet.php
"SELECT style_id, tag, class, parameter, value, type, mq_id, custom" . " FROM style_parameter " . " WHERE " . $ilDB->in("style_id", $a_ids, false, "integer")1
  • /components/ILIAS/Style/classes/class.ilStyleDataSet.php
"SELECT style_id, color_name, color_code" . " FROM style_color " . " WHERE " . $ilDB->in("style_id", $a_ids, false, "integer")1
  • /components/ILIAS/Style/classes/class.ilStyleDataSet.php
"SELECT id, style_id, order_nr, mquery m_query" . " FROM sty_media_query " . " WHERE " . $ilDB->in("style_id", $a_ids, false, "integer")1
  • /components/ILIAS/Style/classes/class.ilStyleDataSet.php
"SELECT id, style_id, name, preview, temp_type" . " FROM style_template " . " WHERE " . $ilDB->in("style_id", $a_ids, false, "integer")1
  • /components/ILIAS/Style/classes/class.ilStyleDataSet.php
"SELECT template_id, class_type, class" . " FROM style_template_class " . " WHERE " . $ilDB->in("template_id", $a_ids, false, "integer")1
  • /components/ILIAS/Style/classes/class.ilStyleDataSet.php
"SELECT obj_id, style_id" . " FROM style_usage " . " WHERE " . $ilDB->in("style_id", $a_ids, false, "integer")1
  • /components/ILIAS/Style/classes/class.ilStyleDataSet.php
"SELECT * FROM content_object "1
  • /components/ILIAS/Style/classes/Setup/class.ilStyleDBUpdateSteps.php
"SELECT * FROM content_page_data "1
  • /components/ILIAS/Style/classes/Setup/class.ilStyleDBUpdateSteps.php
"SELECT * FROM style_data WHERE standard = %s"1
  • /components/ILIAS/Style/classes/Setup/class.ilStyleDBUpdateSteps.php
"SELECT * FROM style_usage " . " WHERE style_id = %s "1
  • /components/ILIAS/Style/classes/Setup/class.ilStyleDBUpdateSteps.php
"SELECT id, style_id, tag, class, parameter, value, type, mq_id, custom" . PHP_EOL . "FROM style_parameter" . PHP_EOL . "WHERE style_id = " . $db->quote($row["obj_id"], "integer") . PHP_EOL . "AND type = " . $db->quote($this->type, "text") . PHP_EOL . "AND class = " . $db->quote($this->orig_class, "text") . PHP_EOL . "AND tag = " . $db->quote($this->tag, "text") . PHP_EOL1
  • /components/ILIAS/Style/classes/Setup/class.ilStyleClassCopiedObjective.php
"SELECT * FROM style_char " . " WHERE style_id = %s AND type = %s AND characteristic = %s "1
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
"SELECT * FROM style_char " . " WHERE style_id = %s AND " . $db->in("type", $types, false, "text") . " ORDER BY order_nr, type, characteristic"1
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
"DELETE FROM style_char_title " . " WHERE style_id = %s AND type = %s AND characteristic = %s "1
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
"SELECT * FROM style_char " . " WHERE style_id = %s "1
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
"SELECT * FROM style_char_title " . " WHERE style_id = %s "1
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
"SELECT outdated FROM style_char " . " WHERE style_id = %s AND type = %s AND characteristic = %s"1
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
"DELETE FROM style_char WHERE style_id = %s AND type = %s AND characteristic = %s"1
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
"DELETE FROM style_parameter WHERE style_id = %s AND tag = %s AND type = %s AND class = %s"1
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
"SELECT * FROM style_parameter " . " WHERE style_id = %s AND tag = %s AND class = %s AND mq_id = %s " . " AND custom = %s AND type = %s AND parameter = %s "1
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
"DELETE FROM style_parameter WHERE " . " style_id = " . $db->quote($style_id, "integer") . " AND " . " tag = " . $db->quote($tag, "text") . " AND " . " class = " . $db->quote($class, "text") . " AND " . " mq_id = " . $db->quote($mq_id, "integer") . " AND " . " custom = " . $db->quote($custom, "integer") . " AND " . " " . $db->equals("type", $type, "text", true) . " AND " . " parameter = " . $db->quote($par, "text")1
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
"SELECT * FROM style_parameter " . " WHERE style_id = %s AND " . $db->in("parameter", $color_attributes, false, "text")1
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
"UPDATE style_data SET uptodate = " . $ilDB->quote((int) $a_up_to_date, "integer") . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_data SET owner_obj = " . $ilDB->quote((int) $obj_id, "integer") . " WHERE id = " . $ilDB->quote($style_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT uptodate FROM style_data " . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_data SET standard = " . $ilDB->quote((int) $a_std, "integer") . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_data SET category = " . $ilDB->quote($a_scope, "integer") . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_data SET active = " . $ilDB->quote((int) $a_active, "integer") . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_data " . " WHERE standard = 1" . $and_str1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_data"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_parameter WHERE style_id = " . $ilDB->quote($a_from_style, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_parameter (id, style_id, tag, class, parameter, value, type, mq_id, custom) VALUES " . "(" . $ilDB->quote($id, "integer") . "," . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($sty["tag"], "text") . "," . $ilDB->quote($sty["class"], "text") . "," . $ilDB->quote($sty["parameter"], "text") . "," . $ilDB->quote($sty["value"], "text") . "," . $ilDB->quote($sty["type"], "text") . "," . $ilDB->quote((int) ($mq_mapping[$sty["mq_id"]] ?? 0), "integer") . "," . $ilDB->quote($sty["custom"], "integer") . ")"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT style_id FROM style_char WHERE style_id = %s AND characteristic = %s AND type = %s"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_char SET " . " hide = " . $ilDB->quote((int) $a_hide, "integer") . " WHERE style_id = " . $ilDB->quote($this->getId( ), "integer") . " AND " . " type = " . $ilDB->quote($a_type, "text") . " AND " . " characteristic = " . $ilDB->quote($a_char, "text")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT hide FROM style_char " . " WHERE style_id = " . $ilDB->quote($this->getId( ), "integer") . " AND " . " type = " . $ilDB->quote($a_type, "text") . " AND " . " characteristic = " . $ilDB->quote($a_char, "text")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_parameter (id,style_id, type, tag, class, parameter, value, mq_id, custom) VALUES " . "(" . $ilDB->quote($id, "integer") . "," . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($a_type, "text") . "," . $ilDB->quote($tag[0], "text") . "," . $ilDB->quote($tag[1], "text") . "," . $ilDB->quote($a_par, "text") . "," . $ilDB->quote($value, "text") . "," . $ilDB->quote($a_mq_id, "integer") . "," . $ilDB->quote($a_custom, "integer") . ")"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM style_parameter WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM style_parameter WHERE " . " style_id = " . $ilDB->quote($this->getId( ), "integer") . " AND " . " tag = " . $ilDB->quote($a_tag, "text") . " AND " . " class = " . $ilDB->quote($a_class, "text") . " AND " . " mq_id = " . $ilDB->quote($a_mq_id, "integer") . " AND " . " custom = " . $ilDB->quote(1, "integer") . " AND " . " " . $ilDB->equals("type", $a_type, "text", true)1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM style_parameter WHERE " . " style_id = " . $ilDB->quote($this->getId( ), "integer") . " AND " . " class = " . $ilDB->quote($a_class, "text") . " AND " . " " . $ilDB->equals("type", $a_type, "text", true)1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM style_parameter WHERE style_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM sty_media_query WHERE " . " style_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM style_data WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_parameter WHERE style_id = " . $ilDB->quote($this->getId( ), "integer") . " ORDER BY tag, class, type, mq_id "1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_data WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_char WHERE style_id = " . $ilDB->quote($this->getId( ), "integer") . " ORDER BY type ASC, characteristic ASC"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_data " . "SET category = " . $ilDB->quote($this->getScope( ), "integer") . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_parameter SET VALUE = " . $ilDB->quote($a_value, "text") . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_parameter (id,style_id, tag, class, parameter, type, value, custom) VALUES " . "(" . $ilDB->quote($id, "integer") . "," . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($tag["tag"], "text") . "," . $ilDB->quote($tag["class"], "text") . "," . $ilDB->quote($tag["parameter"], "text") . "," . $ilDB->quote($tag["type"], "text") . "," . $ilDB->quote($tag["value"], "text") . "," . $ilDB->quote((bool) $tag["custom"], "integer") . ")"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_data (id, uptodate) VALUES " . "(" . $ilDB->quote($this->getId( ), "integer") . ", 0)"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_char WHERE style_id = %s " . "AND type = %s AND characteristic = %s"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_char (style_id, type, characteristic) " . " VALUES (%s,%s,%s) "1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_parameter WHERE style_id = %s " . "AND type = %s AND class = %s AND tag = %s AND parameter = %s"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_parameter (id, style_id, type, class, tag, parameter, value) " . " VALUES (%s,%s,%s,%s,%s,%s,%s)"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_char SET type = ? WHERE characteristic = ?" . " AND style_id = ? "1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_parameter SET type = ? WHERE class = ?" . " AND style_id = ? "1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_parameter SET tag = ? WHERE class = ?" . " AND style_id = ? "1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_char SET characteristic = ? WHERE characteristic = ?" . " AND style_id = ? "1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_parameter SET class = ? WHERE class = ?" . " AND style_id = ? "1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM style_char WHERE type = ?" . " AND style_id = ? "1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM style_parameter WHERE type = ?" . " AND style_id = ? "1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT DISTINCT style_id, tag, class FROM style_parameter WHERE " . $ilDB->equals("type", "", "text", true) . " " . $add_str1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_char " . " (style_id, type, characteristic) VALUES " . " (%s,%s,%s) "1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_parameter SET type = %s " . " WHERE style_id = %s AND class = %s AND " . $ilDB->equals("type", "", "text", true)1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_parameter SET type = %s " . " WHERE style_id = %s AND (class = %s OR class = %s) AND " . $ilDB->equals("type", "", "text", true)1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_parameter " . " WHERE style_id = %s AND tag = %s AND class = %s AND type = %s AND parameter = %s"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_parameter " . " (id, style_id, tag, class, parameter, value, type) VALUES " . " (%s, %s,%s,%s,%s,%s,%s) "1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT id FROM style_parameter WHERE style_id = %s" . " AND tag = %s AND class= %s AND parameter = %s"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_parameter SET value= %s WHERE id = %s"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_parameter " . "(id, style_id, tag, class, parameter,value) VALUES (%s,%s,%s,%s,%s,%s)"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_parameter SET tag = %s WHERE tag = %s and style_id = %s"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_color WHERE " . "style_id = " . $ilDB->quote($this->getId( ), "integer") . " " . "ORDER BY color_name"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM style_color WHERE " . " style_id = " . $ilDB->quote($this->getId( ), "integer") . " AND " . " color_name = " . $ilDB->quote($a_name, "text")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT color_code FROM style_color WHERE " . " style_id = " . $ilDB->quote($this->getId( ), "integer") . " AND " . " color_name = " . $ilDB->quote($a_name, "text")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM sty_media_query WHERE " . "style_id = " . $ilDB->quote($this->getId( ), "integer") . " " . "ORDER BY order_nr"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO sty_media_query (id, style_id, mquery, order_nr)" . " VALUES (" . $ilDB->quote($id, "integer") . "," . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($a_mquery, "text") . "," . $ilDB->quote($order_nr, "integer") . ")"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT max(order_nr) mnr FROM sty_media_query " . " WHERE style_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE sty_media_query SET " . " mquery = " . $ilDB->quote($a_mquery, "text") . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM sty_media_query " . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM sty_media_query WHERE " . " style_id = " . $ilDB->quote($this->getId( ), "integer") . " AND id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE sty_media_query SET " . " order_nr = " . $ilDB->quote($cnt, "integer") . " WHERE id = " . $ilDB->quote($mq["id"], "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_template WHERE " . "style_id = " . $ilDB->quote($this->getId( ), "integer") . " AND " . "temp_type = " . $ilDB->quote($a_type, "text") . " " . "ORDER BY name"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_template_class WHERE " . "template_id = " . $ilDB->quote($a_tid, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_template " . "(id, style_id, name, temp_type)" . " VALUES (" . $ilDB->quote($tid, "integer") . "," . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($a_name, "text") . "," . $ilDB->quote($a_type, "text") . ")"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_template_class " . "(template_id, class_type, class)" . " VALUES (" . $ilDB->quote($tid, "integer") . "," . $ilDB->quote($t, "text") . "," . $ilDB->quote($c, "text") . ")"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_template SET " . "name = " . $ilDB->quote($a_name, "text") . " WHERE id = " . $ilDB->quote($a_t_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_template_class " . "(template_id, class_type, class)" . " VALUES (" . $ilDB->quote($a_t_id, "integer") . "," . $ilDB->quote($t, "text") . "," . $ilDB->quote($c, "text") . ")"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_template_class " . "(template_id, class_type, class)" . " VALUES (" . $ilDB->quote($a_t_id, "integer") . "," . $ilDB->quote($a_type, "text") . "," . $ilDB->quote($a_class, "text") . ")"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_template WHERE " . "style_id = " . $ilDB->quote($this->getId( ), "integer") . " AND " . "name = " . $ilDB->quote($a_template_name, "text")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_template WHERE " . "style_id = " . $ilDB->quote($this->getId( ), "integer") . " " . " AND id = " . $ilDB->quote($a_t_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT name FROM style_template WHERE " . " id = " . $ilDB->quote($a_t_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"UPDATE style_template SET " . "preview = " . $ilDB->quote($a_preview_html, "text") . " WHERE id = " . $ilDB->quote($a_t_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT preview FROM style_template " . " WHERE id = " . $ilDB->quote($a_t_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT id FROM style_template " . " WHERE style_id = " . $ilDB->quote($a_style_id, "integer") . " AND name = " . $ilDB->quote($a_name, "text")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM style_template WHERE " . " style_id = " . $ilDB->quote($this->getId( ), "integer") . " AND " . " id = " . $ilDB->quote($a_t_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM style_setting WHERE " . " style_id = " . $ilDB->quote($this->getId( ), "integer") . " AND name = " . $ilDB->quote($a_name, "text")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"INSERT INTO style_setting " . "(style_id, name, value) VALUES (" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($a_name, "text") . "," . $ilDB->quote($a_value, "text") . ")"1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT value FROM style_setting " . " WHERE style_id = " . $ilDB->quote($this->getId( ), "integer") . " AND name = " . $ilDB->quote($a_name, "text")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT style_id FROM style_usage " . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT DISTINCT obj_id FROM style_usage " . " WHERE style_id = " . $ilDB->quote($a_style_id, "integer")1
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"DELETE FROM style_folder_styles"1
  • /components/ILIAS/Style/Content/classes/class.ilContentStyleSettings.php
"INSERT INTO style_folder_styles (folder_id, style_id) VALUES" . "(" . $ilDB->quote(0, "integer") . ", " . $ilDB->quote((int) $style["id"], "integer") . ")"1
  • /components/ILIAS/Style/Content/classes/class.ilContentStyleSettings.php
"SELECT * FROM style_folder_styles JOIN style_data ON (style_id = style_data.id)"1
  • /components/ILIAS/Style/Content/classes/class.ilContentStyleSettings.php
"SELECT * FROM style_color WHERE " . "style_id = " . $db->quote($style_id, "integer") . " AND " . "color_name = " . $db->quote($a_color_name, "text")1
  • /components/ILIAS/Style/Content/Color/class.ColorDBRepo.php
"SELECT id FROM style_data WHERE rid IS NULL OR rid = '' LIMIT 1;"1
  • /components/ILIAS/Style/Content/Setup/class.ilStyleIRSSMigration.php
"SELECT COUNT(id) AS amount FROM style_data WHERE rid IS NULL OR rid = ''"1
  • /components/ILIAS/Style/Content/Setup/class.ilStyleIRSSMigration.php
"SELECT rid FROM style_data " . " WHERE id = %s "1
  • /components/ILIAS/Style/Content/Style/StyleRepo.php
"SELECT * FROM " . self::TABLE_NAME . " WHERE ref_id = %s "1
  • /components/ILIAS/Style/Content/Container/class.ContainerDBRepository.php
"SELECT * FROM " . self::TABLE_NAME . " WHERE reuse = %s AND " . $db->in("ref_id", $ref_ids, false, "integer")1
  • /components/ILIAS/Style/Content/Container/class.ContainerDBRepository.php
"SELECT * FROM style_usage su JOIN style_data sd " . " ON (su.style_id = sd.id AND su.obj_id = sd.owner_obj) " . " WHERE " . $db->in("su.obj_id", $owner_obj_ids, false, "integer")1
  • /components/ILIAS/Style/Content/Object/class.ObjectDBRepository.php
"SELECT * FROM style_data " . " WHERE id = %s AND owner_obj = %s"1
  • /components/ILIAS/Style/Content/Object/class.ObjectDBRepository.php
'SELECT count(*) cnt FROM settings_deactivated_s' . ' WHERE skin = ' . $DIC->database( )->quote($a_skin, 'text') . ' AND style = ' . $DIC->database( )->quote($a_style, 'text') . ' '1
  • /components/ILIAS/Style/System/classes/class.ilSystemStyleSettings.php
'INSERT into settings_deactivated_s' . ' (skin, style) VALUES ' . ' (' . $DIC->database( )->quote($a_skin, 'text') . ',' . ' ' . $DIC->database( )->quote($a_style, 'text') . ')'1
  • /components/ILIAS/Style/System/classes/class.ilSystemStyleSettings.php
'DELETE FROM settings_deactivated_s' . ' WHERE skin = ' . $DIC->database( )->quote($a_skin, 'text') . ' AND style = ' . $DIC->database( )->quote($a_style, 'text')1
  • /components/ILIAS/Style/System/classes/class.ilSystemStyleSettings.php
'SELECT substyle, category_ref_id FROM syst_style_cat ' . ' WHERE skin_id = ' . $DIC->database( )->quote($a_skin_id, 'text') . ' AND style_id = ' . $DIC->database( )->quote($a_style_id, 'text')1
  • /components/ILIAS/Style/System/classes/class.ilSystemStyleSettings.php
'SELECT substyle, category_ref_id FROM syst_style_cat ' . ' WHERE skin_id = ' . $DIC->database( )->quote($a_skin_id, 'text') . ' AND substyle = ' . $DIC->database( )->quote($a_sub_style_id, 'text') . ' AND style_id = ' . $DIC->database( )->quote($a_style_id, 'text')1
  • /components/ILIAS/Style/System/classes/class.ilSystemStyleSettings.php
'INSERT INTO syst_style_cat ' . '(skin_id, style_id, substyle, category_ref_id) VALUES (' . $DIC->database( )->quote($a_skin_id, 'text') . ',' . $DIC->database( )->quote($a_style_id, 'text') . ',' . $DIC->database( )->quote($a_substyle, 'text') . ',' . $DIC->database( )->quote($a_ref_id, 'integer') . ')'1
  • /components/ILIAS/Style/System/classes/class.ilSystemStyleSettings.php
'DELETE FROM syst_style_cat WHERE ' . ' skin_id = ' . $DIC->database( )->quote($a_skin_id, 'text') . ' AND style_id = ' . $DIC->database( )->quote($a_style_id, 'text') . ' AND substyle = ' . $DIC->database( )->quote($a_substyle, 'text') . ' AND category_ref_id = ' . $DIC->database( )->quote($a_ref_id, 'integer')1
  • /components/ILIAS/Style/System/classes/class.ilSystemStyleSettings.php
'DELETE FROM syst_style_cat WHERE ' . ' skin_id = ' . $DIC->database( )->quote($a_skin_id, 'text') . ' AND style_id = ' . $DIC->database( )->quote($a_style_id, 'text') . ' AND substyle = ' . $DIC->database( )->quote($a_substyle, 'text')1
  • /components/ILIAS/Style/System/classes/class.ilSystemStyleSettings.php
'UPDATE syst_style_cat ' . ' SET skin_id = ' . $DIC->database( )->quote($new_skin_id, 'text') . ', style_id = ' . $DIC->database( )->quote($new_style_id, 'text') . ' WHERE skin_id = ' . $DIC->database( )->quote($old_skin_id, 'text') . ' AND style_id = ' . $DIC->database( )->quote($old_style_id, 'text')1
  • /components/ILIAS/Style/System/classes/class.ilSystemStyleSettings.php
'UPDATE syst_style_cat ' . ' SET substyle = ' . $DIC->database( )->quote($new_substyle_id, 'text') . ' WHERE substyle = ' . $DIC->database( )->quote($old_substyle_id, 'text')1
  • /components/ILIAS/Style/System/classes/class.ilSystemStyleSettings.php
"SELECT usr_id id, login username, firstname, lastname, " . " title, birthday, gender, institution, department, street, city, zipcode, country, sel_country, " . " phone_office, phone_home, phone_mobile, fax, email, hobby, referral_comment, matriculation, " . " delicious, latitude, longitude, loc_zoom" . " FROM usr_data u " . "WHERE " . $ilDB->in("u.usr_id", $a_ids, false, "integer")1
  • /components/ILIAS/User/classes/class.ilUserDataSet.php
"SELECT usr_id id, login username, firstname, lastname, " . " title, birthday, gender, institution, department, street, city, zipcode, country, sel_country, " . " phone_office, phone_home, phone_mobile, fax, email, hobby, referral_comment, matriculation, " . " latitude, longitude, loc_zoom" . " FROM usr_data u " . "WHERE " . $ilDB->in("u.usr_id", $a_ids, false, "integer")1
  • /components/ILIAS/User/classes/class.ilUserDataSet.php
"SELECT usr_id id, login username, firstname, lastname, " . " title, birthday, gender, institution, department, street, city, zipcode, country, sel_country, " . " phone_office, phone_home, phone_mobile, fax, email, second_email, hobby, referral_comment, matriculation, " . " latitude, longitude, loc_zoom" . " FROM usr_data u " . "WHERE " . $ilDB->in("u.usr_id", $a_ids, false, "integer")1
  • /components/ILIAS/User/classes/class.ilUserDataSet.php
"SELECT * FROM usr_pref " . " WHERE " . $ilDB->in("keyword", $prefs, false, "text") . " AND " . $ilDB->in("usr_id", $a_ids, false, "integer")1
  • /components/ILIAS/User/classes/class.ilUserDataSet.php
"SELECT * FROM usr_data_multi" . " WHERE " . $ilDB->in("usr_id", $a_ids, false, "integer")1
  • /components/ILIAS/User/classes/class.ilUserDataSet.php
'SELECT object_data.title, object_data.description, rbac_fa.* ' . 'FROM object_data, rbac_ua, rbac_fa WHERE rbac_ua.usr_id = %s ' . 'AND rbac_ua.rol_id = rbac_fa.rol_id AND object_data.obj_id = rbac_fa.rol_id'1
  • /components/ILIAS/User/classes/class.ilUserXMLWriter.php
"SELECT field_id FROM udf_definition" . " WHERE field_id = " . $ilDB->quote($a_field_id, "integer")1
  • /components/ILIAS/User/classes/class.ilUDFClaimingPlugin.php
"SELECT * FROM udf_definition" . " WHERE field_id = " . $ilDB->quote($a_field_id, "integer")1
  • /components/ILIAS/User/classes/class.ilUDFClaimingPlugin.php
"DELETE FROM udf_definition" . " WHERE field_id = " . $ilDB->quote($a_field_id, "integer")1
  • /components/ILIAS/User/classes/class.ilUDFClaimingPlugin.php
"SELECT * FROM settings WHERE " . $ilDB->like("keyword", "text", '%usr_settings_export_%')1
  • /components/ILIAS/User/classes/class.ilObjUserFolder.php
"SELECT * FROM usr_pref WHERE keyword = " . $ilDB->quote('language', 'text')1
  • /components/ILIAS/User/classes/class.ilObjUserFolder.php
"SELECT * FROM usr_data_multi"1
  • /components/ILIAS/User/classes/class.ilObjUserFolder.php
"SELECT usr_data.* FROM usr_data " . " ORDER BY usr_data.lastname, usr_data.firstname"1
  • /components/ILIAS/User/classes/class.ilObjUserFolder.php
"SELECT * FROM mail_template " . " WHERE type='nacc' AND lang = " . $ilDB->quote($a_lang, 'text')1
  • /components/ILIAS/User/classes/class.ilObjUserFolder.php
"UPDATE usr_data SET time_limit_owner = " . $ilDB->quote($a_new_id, "integer") . " " . "WHERE time_limit_owner = " . $ilDB->quote($a_old_id, "integer") . " "1
  • /components/ILIAS/User/classes/class.ilObjUserFolder.php
"SELECT count(usr_data.usr_id) cnt" . " FROM usr_data"1
  • /components/ILIAS/User/classes/class.ilUserQuery.php
"SELECT " . implode(",", $sql_fields) . " FROM usr_data" . $join1
  • /components/ILIAS/User/classes/class.ilUserQuery.php
"SELECT * FROM usr_data_multi" . " WHERE " . $ilDB->in("usr_id", $usr_ids, "", "integer")1
  • /components/ILIAS/User/classes/class.ilUserQuery.php
"SELECT * FROM udf_definition " . "WHERE field_name = " . $this->db->quote($a_field_name, 'text') . " "1
  • /components/ILIAS/User/classes/class.ilUserDefinedFields.php
"DELETE FROM udf_definition " . "WHERE field_id = " . $this->db->quote($a_id, 'integer') . " "1
  • /components/ILIAS/User/classes/class.ilUserDefinedFields.php
"SELECT * FROM udf_definition;"1
  • /components/ILIAS/User/classes/class.ilUserDefinedFields.php
"SELECT * FROM udf_text " . "WHERE " . $ilDB->in('usr_id', $a_user_ids, false, 'integer') . ' ' . 'AND ' . $ilDB->in('field_id', $a_field_ids, false, 'integer')1
  • /components/ILIAS/User/classes/class.ilUserDefinedData.php
"DELETE FROM udf_text WHERE " . " usr_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/User/classes/class.ilUserDefinedData.php
"DELETE FROM udf_clob WHERE " . " usr_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/User/classes/class.ilUserDefinedData.php
"DELETE FROM udf_text WHERE " . " field_id = " . $ilDB->quote($a_field_id, "integer")1
  • /components/ILIAS/User/classes/class.ilUserDefinedData.php
"DELETE FROM udf_clob WHERE " . " field_id = " . $ilDB->quote($a_field_id, "integer")1
  • /components/ILIAS/User/classes/class.ilUserDefinedData.php
"UPDATE udf_text SET value = " . $ilDB->quote("", "text") . " WHERE " . " field_id = " . $ilDB->quote($a_field_id, "integer") . " AND value = " . $ilDB->quote($a_value, "text")1
  • /components/ILIAS/User/classes/class.ilUserDefinedData.php
"SELECT * FROM udf_text " . "WHERE usr_id = " . $this->db->quote($this->usr_id, 'integer')1
  • /components/ILIAS/User/classes/class.ilUserDefinedData.php
"SELECT * FROM udf_clob " . "WHERE usr_id = " . $this->db->quote($this->usr_id, 'integer')1
  • /components/ILIAS/User/classes/class.ilUserDefinedData.php
"SELECT DISTINCT(time_limit_owner) as parent_id FROM usr_data "1
  • /components/ILIAS/User/classes/class.ilLocalUser.php
"SELECT usr_id FROM usr_data " . $where1
  • /components/ILIAS/User/classes/class.ilLocalUser.php
'SELECT * FROM usr_data ' . 'WHERE usr_id= %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data SET agree_date = ' . $ilDB->now( ) . ' WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT ' . $a_field . ' FROM usr_data WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT title, firstname, lastname FROM usr_data WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT firstname, lastname, title, login FROM usr_data WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM usr_data WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT usr_id FROM usr_data WHERE login = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT usr_id FROM usr_data ' . ' WHERE ' . $ilDB->in('login', $a_user_str, false, 'text')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data SET ' . 'last_login = ' . $ilDB->now( ) . ' WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data SET ' . 'first_login = ' . $ilDB->now( ) . ' WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data SET passwd = %s, passwd_enc_type = %s, passwd_salt = %s WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
' SELECT * FROM loginname_history WHERE login = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
' SELECT login, history_date FROM loginname_history WHERE usr_id = %s ORDER BY history_date DESC'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
' UPDATE usr_data SET login = %s WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'DELETE FROM usr_pref WHERE usr_id = %s AND keyword = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'DELETE FROM usr_pref WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM usr_pref WHERE usr_id = ' . $ilDB->quote($a_usr_id, 'integer') . ' ' . 'AND keyword = ' . $ilDB->quote($a_keyword, 'text')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'DELETE FROM usr_data WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'DELETE FROM bookmark_tree WHERE tree = ' . $ilDB->quote($this->getId( ), 'integer')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'DELETE FROM bookmark_data WHERE user_id = ' . $ilDB->quote($this->getId( ), 'integer')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT matriculation FROM usr_data ' . 'WHERE usr_id = ' . $ilDB->quote($a_usr_id)1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT value FROM usr_pref WHERE usr_id= ' . $ilDB->quote($a_usr_id, 'integer') . ' AND keyword = ' . $ilDB->quote('language', 'text')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data ' . ' SET ext_account = %s WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data ' . ' SET auth_mode = %s WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT usr_id FROM usr_data ' . 'WHERE active = ' . $ilDB->quote(1, 'integer') . ' ' . 'AND usr_id = ' . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data SET last_password_change = %s ' . 'WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data SET last_password_change = 0 ' . 'WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
' SELECT COUNT(*) session_count FROM usr_session WHERE user_id = %s AND expires > %s AND session_id != %s '1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT active FROM usr_data WHERE login= %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT usr_id FROM usr_data ' . 'WHERE email = %s and active = 1'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT login FROM usr_data ' . 'WHERE email = %s and active = 1'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT login FROM usr_data WHERE ' . $ilDB->in('usr_id', [ANONYMOUS_USER_ID], true, 'integer')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM usr_data WHERE ' . $ilDB->in('usr_id', $a_user_ids, false, 'integer')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT ' . $select . ' FROM usr_data '1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT count(*) as cnt FROM usr_pref up1, usr_pref up2 ' . ' WHERE up1.keyword= ' . $ilDB->quote('style', 'text') . ' AND up1.value= ' . $ilDB->quote($a_style, 'text') . ' AND up2.keyword= ' . $ilDB->quote('skin', 'text') . ' AND up2.value= ' . $ilDB->quote($a_skin, 'text') . ' AND up1.usr_id = up2.usr_id '1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT DISTINCT up1.value style, up2.value skin FROM usr_pref up1, usr_pref up2 ' . ' WHERE up1.keyword = ' . $ilDB->quote('style', 'text') . ' AND up2.keyword = ' . $ilDB->quote('skin', 'text') . ' AND up1.usr_id = up2.usr_id'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT up1.usr_id usr_id FROM usr_pref up1, usr_pref up2 ' . ' WHERE up1.keyword= ' . $ilDB->quote('style', 'text') . ' AND up1.value= ' . $ilDB->quote($a_from_style, 'text') . ' AND up2.keyword= ' . $ilDB->quote('skin', 'text') . ' AND up2.value= ' . $ilDB->quote($a_from_skin, 'text') . ' AND up1.usr_id = up2.usr_id '1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM personal_clipboard WHERE ' . 'parent = %s AND item_id = %s AND type = %s AND user_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'INSERT INTO personal_clipboard ' . '(item_id, type, user_id, title, parent, insert_time, order_nr) VALUES ' . ' (%s,%s,%s,%s,%s,%s,%s)'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE personal_clipboard SET insert_time = %s ' . 'WHERE user_id = %s AND item_id = %s AND type = %s AND parent = 0'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT MAX(insert_time) mtime FROM personal_pc_clipboard ' . ' WHERE user_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM personal_pc_clipboard ' . ' WHERE user_id = %s AND insert_time = %s ORDER BY order_nr ASC'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM personal_clipboard WHERE ' . 'parent = %s AND type = %s AND user_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'DELETE FROM personal_clipboard WHERE ' . 'type = %s AND user_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'DELETE FROM personal_clipboard WHERE ' . 'user_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM personal_clipboard WHERE ' . 'user_id = ' . $ilDB->quote($this->getId( ), 'integer') . ' ' . $type_str . $par . ' ORDER BY order_nr'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM personal_clipboard WHERE ' . 'user_id = %s AND parent = %s AND insert_time = %s ' . ' ORDER BY order_nr'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT DISTINCT user_id FROM personal_clipboard WHERE ' . 'item_id = ' . $ilDB->quote($a_id, 'integer') . ' AND ' . 'type = ' . $ilDB->quote($a_type, 'text')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'DELETE FROM personal_clipboard WHERE ' . 'item_id = ' . $ilDB->quote($a_item_id, 'integer') . ' AND type = ' . $ilDB->quote($a_type, 'text') . ' ' . ' AND user_id = ' . $ilDB->quote($this->getId( ), 'integer')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT obj_id FROM object_data WHERE import_id = ' . $ilDB->quote($i2_id, 'text')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT login,usr_id,ext_account,auth_mode FROM usr_data ' . 'WHERE auth_mode = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data SET active = 1, inactivation_date = NULL WHERE ' . $ilDB->in('usr_id', $a_usr_ids, false, 'integer')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data SET active = 0 WHERE $usrId_IN_usrIds'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
' UPDATE usr_data SET inactivation_date = %s WHERE inactivation_date IS NULL AND $usrId_IN_usrIds '1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM usr_data WHERE ' . ' ext_account = %s AND auth_mode = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT login FROM usr_data ' . 'WHERE login = %s AND auth_mode = %s AND (ext_account IS NULL OR ext_account = "") '1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT login FROM usr_data WHERE ' . ' ext_account = %s AND auth_mode = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT login FROM usr_data ' . 'WHERE login = %s AND (ext_account IS NULL OR ext_account = "") AND auth_mode = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT count(*) AS cnt, auth_mode FROM usr_data ' . 'GROUP BY auth_mode'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM usr_data WHERE ' . ' email = %s AND (auth_mode = %s '1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT feed_hash from usr_data WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data SET feed_hash = %s' . ' WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT DISTINCT login, usr_id FROM usr_data ' . 'WHERE login = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM usr_data ' . 'WHERE ext_account = %s AND auth_mode = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT usr_data.*, usr_pref.value AS language FROM usr_data LEFT JOIN usr_pref ON usr_pref.usr_id = usr_data.usr_id AND usr_pref.keyword = %s WHERE ' . $ilDB->in('usr_data.usr_id', $ids, false, 'integer')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT usr_data.*, usr_pref.value AS language FROM usr_data LEFT JOIN usr_pref ON usr_pref.usr_id = usr_data.usr_id and usr_pref.keyword = %s WHERE 1=1'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT usr_data.*, usr_pref.value AS language FROM usr_data LEFT JOIN usr_pref ON usr_pref.usr_id = usr_data.usr_id AND usr_pref.keyword = %s WHERE ' . $ilDB->in('usr_data.usr_id', $a_mem_ids, false, 'integer') . ' AND usr_data.usr_id != %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT usr_data.*, usr_pref.value AS language FROM usr_data LEFT JOIN usr_pref ON usr_pref.usr_id = usr_data.usr_id AND usr_pref.keyword = %s WHERE ' . $ilDB->in('usr_data.usr_id', $ids, false, 'integer')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM usr_pref WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT usr_id FROM usr_pref ' . ' WHERE keyword = ' . $ilDB->quote($a_keyword, 'text') . ' AND ' . $ilDB->in('usr_id', $a_user_ids, false, 'integer') . ' AND value = ' . $ilDB->quote($a_val, 'text')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT login_attempts FROM usr_data WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data SET login_attempts = (login_attempts + 1) WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE usr_data SET active = 0, inactivation_date = %s WHERE usr_id = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM loginname_history WHERE usr_id = %s AND login = %s AND history_date = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
' INSERT INTO loginname_history (usr_id, login, history_date) VALUES (%s, %s, %s)'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
" SELECT COUNT(user_id) num, user_id, firstname, lastname, title, login, last_login, MAX(ctime) ctime, context, agree_date FROM usr_session LEFT JOIN usr_data u ON user_id = u.usr_id LEFT JOIN usr_pref p ON (p.usr_id = u.usr_id AND p.keyword = %s) {$where} GROUP BY user_id, firstname, lastname, title, login, last_login, context, agree_date ORDER BY lastname, firstname "1
  • /components/ILIAS/User/classes/class.ilObjUser.php
' SELECT COUNT(usr_id) cnt FROM usr_data WHERE reg_hash = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
' SELECT usr_id, create_date FROM usr_data WHERE reg_hash = %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT usr_id FROM usr_data WHERE last_login IS NOT NULL AND last_login < %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT usr_id FROM usr_data WHERE last_login IS NULL AND create_date < %s'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
"SELECT usr_id FROM usr_data WHERE $field < %s AND active = %s"1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'UPDATE object_data SET owner = 0 ' . 'WHERE owner = ' . $ilDB->quote($this->getId( ), 'integer')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT DISTINCT ' . $ilDB->upper($ilDB->substr('lastname', 1, 1)) . ' let' . ' FROM usr_data' . ' WHERE usr_id <> ' . $ilDB->quote(ANONYMOUS_USER_ID, 'integer') . ($user_ids !== null ? ' AND ' . $ilDB->in('usr_id', $user_ids, false, 'integer') : '') . ' ORDER BY let'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT count(*) num FROM object_data od ' . 'JOIN usr_data ud ON obj_id = usr_id ' . 'WHERE ' . $ilDB->in('obj_id', $a_usr_ids, false, 'integer') . ' '1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT field_id,value' . ' FROM usr_data_multi' . ' WHERE usr_id = ' . $ilDB->quote($this->getId( ), 'integer') . ' ORDER BY value'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'INSERT usr_data_multi' . ' (id,usr_id,field_id,value) VALUES' . ' (' . $ilDB->quote($uniq_id, 'integer') . ',' . $ilDB->quote($this->getId( ), 'integer') . ',' . $ilDB->quote($id, 'text') . ',' . $ilDB->quote($value, 'text') . ')'1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'DELETE FROM usr_data_multi' . ' WHERE usr_id = ' . $ilDB->quote($this->getId( ), 'integer')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT DISTINCT(value)' . ' FROM usr_data_multi' . ' WHERE ' . $ilDB->like('value', 'text', '%' . $a_term . '%')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM usr_pref ' . ' WHERE keyword = ' . $ilDB->quote('public_profile', 'text') . ' AND ' . $ilDB->in('usr_id', $a_user_ids, false, 'integer')1
  • /components/ILIAS/User/classes/class.ilObjUser.php
'SELECT * FROM usr_starting_point WHERE id = ' . $this->db->quote($id, 'integer')1
  • /components/ILIAS/User/classes/class.ilUserStartingPointRepository.php
'SELECT * FROM usr_starting_point'1
  • /components/ILIAS/User/classes/class.ilUserStartingPointRepository.php
'SELECT * FROM usr_starting_point WHERE rule_options LIKE %s ORDER BY position ASC'1
  • /components/ILIAS/User/classes/class.ilUserStartingPointRepository.php
'INSERT INTO usr_starting_point (id, starting_point, starting_object, position, rule_type, rule_options, calendar_view, calendar_period) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/User/classes/class.ilUserStartingPointRepository.php
'UPDATE usr_starting_point SET starting_point = %s, starting_object = %s, position = %s, rule_type = %s, rule_options = %s, calendar_view = %s, calendar_period = %s WHERE id = %s'1
  • /components/ILIAS/User/classes/class.ilUserStartingPointRepository.php
'DELETE FROM usr_starting_point WHERE id = ' . $this->db->quote($starting_point_id, 'integer')1
  • /components/ILIAS/User/classes/class.ilUserStartingPointRepository.php
'SELECT max(position) as max_order FROM usr_starting_point'1
  • /components/ILIAS/User/classes/class.ilUserStartingPointRepository.php
'UPDATE usr_starting_point SET' . ' position = ' . $this->db->quote($nr, 'integer') . ' WHERE id = ' . $this->db->quote($id, 'integer')1
  • /components/ILIAS/User/classes/class.ilUserStartingPointRepository.php
"INSERT INTO usr_form_settings (user_id,id,settings) " . "VALUES( " . $this->db->quote($this->user_id, 'integer') . ", " . $this->db->quote($this->id, 'text') . ", " . $this->db->quote(serialize($this->settings), 'text') . " " . ")"1
  • /components/ILIAS/User/classes/class.ilUserFormSettings.php
"SELECT * FROM usr_form_settings" . " WHERE user_id = " . $this->db->quote($this->user_id, 'integer') . " AND id = " . $this->db->quote($this->id, 'text')1
  • /components/ILIAS/User/classes/class.ilUserFormSettings.php
"DELETE FROM usr_form_settings" . " WHERE user_id = " . $this->db->quote($this->user_id, 'integer') . " AND id = " . $this->db->quote($this->id, 'text')1
  • /components/ILIAS/User/classes/class.ilUserFormSettings.php
"DELETE FROM usr_form_settings" . " WHERE user_id = " . $ilDB->quote($a_user_id, 'integer')1
  • /components/ILIAS/User/classes/class.ilUserFormSettings.php
"DELETE FROM usr_form_settings" . " WHERE id = " . $GLOBALS['DIC']['ilDB']->quote($a_id, 'text')1
  • /components/ILIAS/User/classes/class.ilUserFormSettings.php
"DELETE FROM usr_form_settings " . 'WHERE ' . $GLOBALS['DIC']['ilDB']->like('id', 'text', $a_prefix . '%')1
  • /components/ILIAS/User/classes/class.ilUserFormSettings.php
"SELECT field_id id" . " FROM udf_definition"1
  • /components/ILIAS/User/classes/class.ilUDFPermissionHelper.php
'SELECT value FROM usr_pref ' . ' WHERE usr_id = ' . $ilDB->quote($a_user_id, 'integer') . ' and keyword = ' . $ilDB->quote('public_profile', 'text')1
  • /components/ILIAS/User/classes/class.ilUserUtil.php
"SELECT usr_id FROM usr_data " . "WHERE " . $ilDB->in('time_limit_owner', $this->folder_ids, false, 'integer') . " " . "AND " . $ilDB->in('usr_id', $a_user_ids, false, 'integer')1
  • /components/ILIAS/User/classes/class.ilUserFilter.php
" SELECT usr_data.rid, usr_pref.* FROM usr_data LEFT JOIN usr_pref ON usr_pref.usr_id = usr_data.usr_id AND $in WHERE usr_data.usr_id = %s"1
  • /components/ILIAS/User/classes/Avatar/class.ilUserAvatarResolver.php
"SELECT * FROM user_action_activation"1
  • /components/ILIAS/User/classes/Actions/class.ilUserActionAdmin.php
'SELECT usr_id, login, time_limit_until ' . 'FROM usr_data ' . 'WHERE time_limit_message = "0" ' . 'AND time_limit_unlimited = "0" ' . 'AND time_limit_from < ' . $this->db->quote($now, 'integer') . ' ' . 'AND time_limit_until > ' . $this->db->quote($now, 'integer') . ' ' . 'AND time_limit_until < ' . $this->db->quote($two_weeks_in_seconds, 'integer')1
  • /components/ILIAS/User/classes/Cron/class.ilUserCronCheckAccounts.php
'UPDATE usr_data SET time_limit_message = "1" WHERE usr_id = "' . $usr_id . '"'1
  • /components/ILIAS/User/classes/Cron/class.ilUserCronCheckAccounts.php
'SELECT usr_id FROM usr_data ' . 'WHERE (reg_hash IS NOT NULL AND reg_hash != %s)' . 'AND active = %s ' . 'AND create_date < %s'1
  • /components/ILIAS/User/classes/Cron/class.ilUserCronCheckAccounts.php
"SELECT usr_id,ts FROM " . self::TABLE_NAME1
  • /components/ILIAS/User/classes/Cron/class.ilCronDeleteInactiveUserReminderMail.php
"SELECT ts FROM " . self::TABLE_NAME . " WHERE usr_id = %s"1
  • /components/ILIAS/User/classes/Cron/class.ilCronDeleteInactiveUserReminderMail.php
"DELETE FROM " . self::TABLE_NAME1
  • /components/ILIAS/User/classes/Cron/class.ilCronDeleteInactiveUserReminderMail.php
"DELETE FROM " . self::TABLE_NAME . " WHERE usr_id = %s"1
  • /components/ILIAS/User/classes/Cron/class.ilCronDeleteInactiveUserReminderMail.php
"INSERT INTO " . self::TABLE_NAME . " (usr_id, ts) VALUES (%s, %s)"1
  • /components/ILIAS/User/classes/Cron/class.ilCronDeleteInactiveUserReminderMail.php
'DELETE FROM usr_pref WHERE keyword = ' . $this->db->quote('hits_per_page', \ilDBConstants::T_TEXT)1
  • /components/ILIAS/User/src/Setup/DBUpdateSteps10.php
'DELETE FROM settings WHERE ' . $this->db->like('keyword', \ilDBConstants::T_TEXT, '%hits_per_page%')1
  • /components/ILIAS/User/src/Setup/DBUpdateSteps10.php
'DELETE token1 FROM ' . ChangeMailTokenDBRepository::TABLE_NAME . ' token1 ' . 'INNER JOIN ' . ChangeMailTokenDBRepository::TABLE_NAME . ' token2 ' . 'WHERE token1.token = token2.token AND token1.created_ts < token2.created_ts'1
  • /components/ILIAS/User/src/Setup/DBUpdateSteps10.php
'INSERT INTO settings (module, keyword, value) VALUES (%s, %s, %s)'1
  • /components/ILIAS/User/src/Setup/DBUpdateSteps10.php
'DELETE FROM usr_pref WHERE keyword = %s'1
  • /components/ILIAS/User/src/Setup/DBUpdateSteps10.php
'UPDATE usr_data SET login_attempts = %s WHERE login_attempts > %s'1
  • /components/ILIAS/User/src/Setup/DBUpdateSteps10.php
'SELECT count(*) as cnt FROM `' . self::TABLE_NAME . '`' . PHP_EOL . 'WHERE `usr_id` = %s' . PHP_EOL . 'AND `status` = %s' . PHP_EOL . 'AND `created_ts` >= %s'1
  • /components/ILIAS/User/src/Profile/ChangeMailTokenDBRepository.php
'SELECT * FROM `' . self::TABLE_NAME . '` WHERE `token` = %s'1
  • /components/ILIAS/User/src/Profile/ChangeMailTokenDBRepository.php
'DELETE FROM `' . self::TABLE_NAME . '` WHERE `token` = %s'1
  • /components/ILIAS/User/src/Profile/ChangeMailTokenDBRepository.php
'DELETE FROM `' . self::TABLE_NAME . '` WHERE `created_ts` < %s'1
  • /components/ILIAS/User/src/Profile/ChangeMailTokenDBRepository.php
'Update last prompt date for user :' . $this->user->getId( )1
  • /components/ILIAS/User/src/Profile/Prompt/StartUpStep.php
'SELECT first_login, last_profile_prompt FROM usr_data ' . ' WHERE usr_id = %s '1
  • /components/ILIAS/User/src/Profile/Prompt/Repository.php
'DELETE FROM scorm_tracking ' . 'WHERE ' . $ilDB->in('user_id', $a_usr_ids, false, 'integer') . ' ' . 'AND obj_id = ' . $ilDB->quote($a_obj_id, 'integer') . ' '1
  • /components/ILIAS/soap/classes/class.ilSoapLearningProgressAdministration.php
'SELECT cp_node_id FROM cp_node ' . 'WHERE nodename = ' . $ilDB->quote('item', 'text') . ' ' . 'AND cp_node.slm_id = ' . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/soap/classes/class.ilSoapLearningProgressAdministration.php
'DELETE FROM cmi_node ' . 'WHERE ' . $ilDB->in('user_id', $a_usr_ids, false, 'integer') . ' ' . 'AND ' . $ilDB->in('cp_node_id', $scos, false, 'integer')1
  • /components/ILIAS/soap/classes/class.ilSoapLearningProgressAdministration.php
'Delete user progress data of objects. '1
  • /components/ILIAS/soap/classes/class.ilNusoapUserAdministrationAdapter.php
'SELECT usr_id, create_date, reg_hash FROM usr_data ' . 'WHERE active = 0 ' . 'AND reg_hash IS NOT NULL ' . 'AND usr_id = ' . $ilDB->quote($usr_id, 'integer') . ' '1
  • /components/ILIAS/soap/classes/class.ilSoapUtils.php
'SELECT usr_id, create_date, reg_hash FROM usr_data ' . 'WHERE active = 0 ' . 'AND reg_hash IS NOT NULL ' . 'AND usr_id != ' . $ilDB->quote($usr_id, 'integer') . ' '1
  • /components/ILIAS/soap/classes/class.ilSoapUtils.php
"SELECT usr_data.*, usr_pref.value AS language FROM usr_data LEFT JOIN usr_pref ON usr_pref.usr_id = usr_data.usr_id AND usr_pref.keyword = " . $ilDB->quote("language", "text") . " WHERE 1 = 1 " . $query1
  • /components/ILIAS/soap/classes/class.ilSoapUserAdministration.php
"SELECT usr_id FROM usr_session " . "INNER JOIN usr_data ON usr_id = user_id WHERE session_id = %s"1
  • /components/ILIAS/soap/classes/class.ilSoapUserAdministration.php
"SELECT tst_tests.obj_fi FROM tst_active, tst_tests WHERE tst_active.active_id = %s AND tst_active.test_fi = tst_tests.test_id"1
  • /components/ILIAS/soap/classes/class.ilSoapTestAdministration.php
"SELECT * FROM tst_times WHERE active_fi = %s ORDER BY started DESC"1
  • /components/ILIAS/soap/classes/class.ilSoapTestAdministration.php
"SELECT * FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s"1
  • /components/ILIAS/soap/classes/class.ilSoapTestAdministration.php
"SELECT user_fi, test_fi FROM tst_active WHERE active_id = %s"1
  • /components/ILIAS/soap/classes/class.ilSoapTestAdministration.php
"SELECT anonymity FROM tst_tests WHERE test_id = %s"1
  • /components/ILIAS/soap/classes/class.ilSoapTestAdministration.php
"SELECT firstname, lastname, title, login FROM usr_data WHERE usr_id = %s"1
  • /components/ILIAS/soap/classes/class.ilSoapTestAdministration.php
"SELECT question_fi, points FROM tst_test_result WHERE active_fi = %s AND pass = %s"1
  • /components/ILIAS/soap/classes/class.ilSoapTestAdministration.php
'Delete is not available for role folders.'1
  • /components/ILIAS/soap/classes/class.ilSoapObjectAdministration.php
"SELECT object_data.title, rbac_fa.* FROM object_data, rbac_ua, rbac_fa WHERE rbac_ua.rol_id IN ('%s') AND rbac_ua.rol_id = rbac_fa.rol_id AND object_data.obj_id = rbac_fa.rol_id AND rbac_ua.usr_id=" . $user_id1
  • /components/ILIAS/soap/classes/class.ilSoapRBACAdministration.php
'Update cookie ' . $newName . '=' . $newCookie['value']1
  • /components/ILIAS/soap/lib/nusoap.php
"DELETE FROM il_tag WHERE " . "user_id = " . $ilDB->quote($a_user_id, "integer") . " AND " . "obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . "obj_type = " . $ilDB->quote($a_obj_type, "text") . " AND " . "sub_obj_id = " . $ilDB->quote((int) $a_sub_obj_id, "integer") . " AND " . $ilDB->equals("sub_obj_type", $a_sub_obj_type, "text", true)1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"SELECT * FROM il_tag WHERE " . "user_id = " . $ilDB->quote($a_user_id, "integer") . " AND " . "obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . "obj_type = " . $ilDB->quote($a_obj_type, "text") . " AND " . "sub_obj_id = " . $ilDB->quote((int) $a_sub_obj_id, "integer") . " AND " . $ilDB->equals("sub_obj_type", $a_sub_obj_type, "text", true) . " ORDER BY tag"1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"SELECT count(user_id) as cnt, tag FROM il_tag WHERE " . "obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . "obj_type = " . $ilDB->quote($a_obj_type, "text") . " AND " . "sub_obj_id = " . $ilDB->quote($a_sub_obj_id, "integer") . " AND " . $ilDB->equals("sub_obj_type", $a_sub_obj_type, "text", true) . $online_str . "GROUP BY tag ORDER BY tag ASC"1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"SELECT count(*) as cnt, tag FROM il_tag WHERE " . "user_id = " . $ilDB->quote($a_user_id, "integer") . " " . $online_str . " GROUP BY tag ORDER BY cnt DESC"1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"SELECT * FROM il_tag WHERE " . "user_id = " . $ilDB->quote($a_user_id, "integer") . " AND tag = " . $ilDB->quote($a_tag, "text")1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"UPDATE il_tag SET is_offline = %s " . "WHERE " . "obj_id = %s AND " . "obj_type = %s AND " . "sub_obj_id = %s AND " . $ilDB->equals("sub_obj_type", $a_sub_obj_type, "text", true)1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"DELETE FROM il_tag " . "WHERE " . "obj_id = %s AND " . "obj_type = %s AND " . "sub_obj_id = %s AND " . $ilDB->equals("sub_obj_type", $a_sub_obj_type, "text", true)1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"DELETE FROM il_tag " . "WHERE " . "user_id = %s AND " . "obj_id = %s AND " . "obj_type = %s AND " . "sub_obj_id = %s AND " . $ilDB->equals("sub_obj_type", $a_sub_obj_type, "text", true) . " AND " . "tag = %s"1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"SELECT DISTINCT user_id, firstname, lastname FROM il_tag JOIN usr_data ON (user_id = usr_id) " . " WHERE LOWER(tag) = LOWER(" . $ilDB->quote($a_tag, "text") . ")" . " ORDER BY lastname, firstname"1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"SELECT count(*) c, obj_id FROM il_tag WHERE " . $ilDB->in("obj_id", $a_obj_ids, false, "integer")1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"SELECT obj_id, obj_type, tag, user_id" . " FROM il_tag" . " WHERE " . $ilDB->in("obj_id", array_keys($a_obj_ids), false, "integer") . " AND is_offline = " . $ilDB->quote(0, "integer")1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"SELECT obj_id, obj_type" . " FROM il_tag" . " WHERE tag = " . $ilDB->quote($a_tag, "text") . " AND is_offline = " . $ilDB->quote(0, "integer")1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"SELECT obj_id, tag, user_id" . " FROM il_tag" . " WHERE " . $ilDB->in("obj_id", $a_obj_ids, false, "integer") . " AND is_offline = " . $ilDB->quote(0, "integer")1
  • /components/ILIAS/Tagging/classes/class.ilTagging.php
"SELECT * FROM il_blog WHERE id = %s"1
  • /components/ILIAS/Blog/Settings/SettingsDBRepository.php
"SELECT act_est_reading_time FROM il_blog " . " WHERE id = %s "1
  • /components/ILIAS/Blog/ReadingTime/class.ReadingTimeDBRepo.php
"INSERT INTO il_blog (id,ppic,rss_active,approval" . ",abs_shorten,abs_shorten_len,abs_image,abs_img_width,abs_img_height" . ",keywords,authors,nav_mode,nav_list_mon_with_post,ov_post) VALUES (" . $ilDB->quote($this->id, "integer") . "," . $ilDB->quote(true, "integer") . "," . $ilDB->quote(true, "integer") . "," . $ilDB->quote(false, "integer") . "," . $ilDB->quote(false, "integer") . "," . $ilDB->quote(0, "integer") . "," . $ilDB->quote(false, "integer") . "," . $ilDB->quote(0, "integer") . "," . $ilDB->quote(0, "integer") . "," . $ilDB->quote(true, "integer") . "," . $ilDB->quote(false, "integer") . "," . $ilDB->quote(self::NAV_MODE_LIST, "integer") . "," . $ilDB->quote(5, "integer") . "," . $ilDB->quote(5, "integer") . ")"1
  • /components/ILIAS/Blog/classes/class.ilObjBlog.php
"DELETE FROM il_blog" . " WHERE id = " . $ilDB->quote($this->id, "integer")1
  • /components/ILIAS/Blog/classes/class.ilObjBlog.php
"SELECT bl.id,od.title,od.description," . "bl.notes,bl.bg_color,bl.font_color,bl.img,bl.ppic,bl.rss_active,bl.approval" . " FROM il_blog bl" . " JOIN object_data od ON (od.obj_id = bl.id)" . " WHERE " . $ilDB->in("bl.id", $a_ids, false, "integer") . " AND od.type = " . $ilDB->quote("blog", "text")1
  • /components/ILIAS/Blog/Export/class.ilBlogDataSet.php
"SELECT bl.id,od.title,od.description," . "bl.bg_color,bl.font_color,bl.img,bl.ppic,bl.rss_active,bl.approval," . "bl.abs_shorten,bl.abs_shorten_len,bl.abs_image,bl.abs_img_width,bl.abs_img_height," . "bl.nav_mode,bl.nav_list_post,bl.nav_list_mon,bl.keywords,bl.authors,bl.nav_order," . "bl.ov_post" . " FROM il_blog bl" . " JOIN object_data od ON (od.obj_id = bl.id)" . " WHERE " . $ilDB->in("bl.id", $a_ids, false, "integer") . " AND od.type = " . $ilDB->quote("blog", "text")1
  • /components/ILIAS/Blog/Export/class.ilBlogDataSet.php
"SELECT id,blog_id,title,created,author,approved,last_withdrawn" . " FROM il_blog_posting WHERE " . $ilDB->in("blog_id", $a_ids, false, "integer")1
  • /components/ILIAS/Blog/Export/class.ilBlogDataSet.php
"INSERT INTO il_blog_posting (id, title, blog_id, created, author, approved, last_withdrawn)" . " VALUES (" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($this->getTitle( ), "text") . "," . $ilDB->quote($this->getBlogId( ), "integer") . "," . $ilDB->quote($created, "timestamp") . "," . $ilDB->quote($this->getAuthor( ), "integer") . "," . $ilDB->quote($this->isApproved( ), "integer") . "," . $ilDB->quote($withdrawn, "timestamp") . ")"1
  • /components/ILIAS/Blog/Posting/class.ilBlogPosting.php
"UPDATE il_blog_posting SET" . " title = " . $ilDB->quote($this->getTitle( ), "text") . ",created = " . $ilDB->quote($this->getCreated( )->get(IL_CAL_DATETIME), "timestamp") . ",approved =" . $ilDB->quote($this->isApproved( ), "integer") . ",last_withdrawn =" . $ilDB->quote($withdrawn, "timestamp") . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Blog/Posting/class.ilBlogPosting.php
"SELECT * FROM il_blog_posting" . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Blog/Posting/class.ilBlogPosting.php
"DELETE FROM il_blog_posting" . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Blog/Posting/class.ilBlogPosting.php
"SELECT * FROM il_blog_posting" . " WHERE blog_id = " . $ilDB->quote($a_blog_id, "integer")1
  • /components/ILIAS/Blog/Posting/class.ilBlogPosting.php
"SELECT blog_id FROM il_blog_posting" . " WHERE id = " . $ilDB->quote($a_posting_id, "integer")1
  • /components/ILIAS/Blog/Posting/class.ilBlogPosting.php
"SELECT * FROM il_blog_posting" . " WHERE blog_id = " . $ilDB->quote($a_blog_id, "integer") . " ORDER BY created DESC"1
  • /components/ILIAS/Blog/Posting/class.ilBlogPosting.php
"SELECT id FROM il_blog_posting" . " WHERE blog_id = " . $ilDB->quote($a_blog_id, "integer") . " AND id = " . $ilDB->quote($a_posting_id, "integer")1
  • /components/ILIAS/Blog/Posting/class.ilBlogPosting.php
"SELECT DISTINCT(blog_id)" . " FROM il_blog_posting" . " WHERE author = " . $ilDB->quote($a_user_id)1
  • /components/ILIAS/Blog/Posting/class.ilBlogPosting.php
"SELECT $a_field FROM il_blog_posting " . " WHERE id = " . $db->quote($a_posting_id, "integer")1
  • /components/ILIAS/Blog/Posting/class.ilBlogPosting.php
"SELECT COUNT(*) num FROM usr_search " . "WHERE usr_id = " . $this->db->quote($this->usr_id, 'integer') . " " . "AND search_type = " . $this->db->quote($this->search_type, 'integer')1
  • /components/ILIAS/Search/classes/class.ilUserSearchCache.php
"DELETE FROM usr_search " . "WHERE usr_id = " . $this->db->quote($this->usr_id, 'integer') . " " . "AND search_type = " . $this->db->quote($this->search_type, 'integer')1
  • /components/ILIAS/Search/classes/class.ilUserSearchCache.php
"DELETE FROM usr_search " . "WHERE usr_id = " . $this->db->quote($this->usr_id, 'integer') . " " . "AND ( search_type = " . $this->db->quote($this->search_type, 'integer') . ' ' . "OR search_type = " . $this->db->quote(self::LAST_QUERY, 'integer') . ')'1
  • /components/ILIAS/Search/classes/class.ilUserSearchCache.php
"SELECT * FROM usr_search " . "WHERE usr_id = " . $this->db->quote($this->usr_id, 'integer') . " " . "AND search_type = " . $this->db->quote($this->search_type, 'integer')1
  • /components/ILIAS/Search/classes/class.ilUserSearchCache.php
"SELECT obj_fi " . $locate . "FROM tst_tests " . $where1
  • /components/ILIAS/Search/classes/class.ilTestSearch.php
"SELECT obj_fi " . $locate . "FROM qpl_questions " . $where1
  • /components/ILIAS/Search/classes/class.ilTestSearch.php
"SELECT obj_fi " . $locate . "FROM svy_svy " . $where1
  • /components/ILIAS/Search/classes/class.ilTestSearch.php
"SELECT obj_fi " . $locate . "FROM svy_question " . $where1
  • /components/ILIAS/Search/classes/class.ilTestSearch.php
"SELECT usr_id " . $locate . "FROM usr_data " . $where1
  • /components/ILIAS/Search/classes/class.ilUserSearch.php
"SELECT obj_id,type " . $locate . "FROM object_data " . $where . " " . $cdate . ' ' . $in . ' ' . "ORDER BY obj_id DESC"1
  • /components/ILIAS/Search/classes/class.ilObjectSearch.php
"SELECT obj_id, obj_type FROM search_command_queue " . "WHERE obj_id = " . $this->db->quote($element->getObjId( ), 'integer') . " " . "AND obj_type = " . $this->db->quote($element->getObjType( ), 'text')1
  • /components/ILIAS/Search/classes/class.ilSearchCommandQueue.php
"INSERT INTO search_command_queue (obj_id,obj_type,sub_id,sub_type,command,last_update,finished) " . "VALUES( " . $this->db->quote($element->getObjId( ), 'integer') . ", " . $this->db->quote($element->getObjType( ), 'text') . ", " . "0, " . "''," . $this->db->quote($element->getCommand( ), 'text') . ", " . $this->db->now( ) . ", " . "0 " . ")"1
  • /components/ILIAS/Search/classes/class.ilSearchCommandQueue.php
"UPDATE search_command_queue " . "SET command = " . $this->db->quote($element->getCommand( ), 'text') . ", " . "last_update = " . $this->db->now( ) . ", " . "finished = " . $this->db->quote(0, 'integer') . " " . "WHERE obj_id = " . $this->db->quote($element->getObjId( ), 'integer') . " " . "AND obj_type = " . $this->db->quote($element->getObjType( ), 'text')1
  • /components/ILIAS/Search/classes/class.ilSearchCommandQueue.php
"SELECT obj_id,type " . $locate . "FROM object_data " . $where . " " . $and . ' ' . "ORDER BY obj_id DESC"1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_type,obj_id " . $locate . " " . "FROM il_meta_coverage " . "WHERE obj_type " . $this->__getInStatement($this->getFilter( )) . " " . $and1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_type,obj_id " . "FROM il_meta_general " . "WHERE obj_type " . $this->__getInStatement($this->getFilter( )) . " " . $and1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_id,obj_type FROM il_meta_language " . "WHERE language = " . $this->db->quote($this->options['lom_language'], 'text') . " " . "AND obj_type " . $this->__getInStatement($this->getFilter( )) . ' ' . "AND parent_type = 'meta_general'"1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_id,obj_type FROM il_meta_contribute " . "WHERE role = " . $this->db->quote($this->options['lom_role'], 'text') . " " . "AND obj_type " . $this->__getInStatement($this->getFilter( ))1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_id,obj_type " . $locate . "FROM il_meta_entity " . $where . " " . $and . ' '1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_id,obj_type FROM il_meta_or_composite " . "WHERE obj_type " . $this->__getInStatement($this->getFilter( ))1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_id,obj_type "1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_id,obj_type FROM il_meta_typical_age_range " . "WHERE typical_age_range_min >= '" . (int) $this->options['typ_age_1'] . "' " . "AND typical_age_range_max <= '" . (int) $this->options['typ_age_2'] . "'"1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_id,obj_type FROM il_meta_rights "1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_id,obj_type FROM il_meta_classification "1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_id,obj_type " . $locate . "FROM il_meta_taxon " . $where . " " . $and . ' '1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_id,obj_type " . $locate . "FROM il_meta_keyword " . $where . " " . $and . ' '1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_id,obj_type " . $locate . "FROM il_meta_lifecycle " . $where . " " . $and . ' '1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT rbac_id,obj_id,obj_type FROM il_meta_format " . "WHERE format LIKE(" . $this->db->quote($this->options['lom_format'], ilDBConstants::T_TEXT) . ") " . "AND obj_type " . $this->__getInStatement($this->getFilter( ))1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT t1.rbac_id, t1.obj_type, t1.obj_id " . "FROM (" . $total_query . ") AS t1 JOIN (" . $query . ") AS t2 ON t1.rbac_id = t2.rbac_id AND t1.obj_type = t2.obj_type AND t1.obj_id = t2.obj_id"1
  • /components/ILIAS/Search/classes/class.ilAdvancedSearch.php
"SELECT title, obj_id FROM object_data WHERE " . $ilDB->like('title', 'text', $a_str . "%") . " AND " . $ilDB->in('type', $object_types, false, 'text') . " ORDER BY title"1
  • /components/ILIAS/Search/classes/class.ilSearchAutoComplete.php
"SELECT rbac_id,obj_id,obj_type, keyword FROM il_meta_keyword WHERE " . $ilDB->like('keyword', 'text', $a_str . "%") . " AND " . $ilDB->in('obj_type', $object_types, false, 'text') . " ORDER BY keyword"1
  • /components/ILIAS/Search/classes/class.ilSearchAutoComplete.php
"SELECT usr_id " . $locate . "FROM udf_text " . $where1
  • /components/ILIAS/Search/classes/class.ilUserDefinedFieldSearch.php
"SELECT object_reference.ref_id as ref_id FROM object_reference,tree,object_data " . "WHERE tree.parent = " . $ilDB->quote(SYSTEM_FOLDER_ID, 'integer') . " " . "AND object_data.type = 'seas' " . "AND object_reference.ref_id = tree.child " . "AND object_reference.obj_id = object_data.obj_id"1
  • /components/ILIAS/Search/classes/class.ilSearchSettings.php
"SELECT usr_id " . $locate . "FROM usr_data_multi " . $where1
  • /components/ILIAS/Search/classes/Like/class.ilLikeUserMultiFieldSearch.php
'SELECT user_id ' . 'FROM ' . self::ORG_ASSIGNMENTS_TABLE . ' ' . $where1
  • /components/ILIAS/Search/classes/Like/class.ilLikeUserOrgUnitSearch.php
"SELECT thr_pk,top_frm_fk frm_id " . $locate . "FROM frm_threads,frm_data " . "WHERE top_pk = thr_top_fk " . $and1
  • /components/ILIAS/Search/classes/Like/class.ilForumSearch.php
"SELECT top_frm_fk frm_id,pos_thr_fk,pos_pk " . $locate . "FROM frm_posts,frm_data " . "WHERE pos_top_fk = top_pk " . $and1
  • /components/ILIAS/Search/classes/Like/class.ilForumSearch.php
"SELECT id, context_obj_id, context_obj_type " . $locate . "FROM il_news_item " . $where1
  • /components/ILIAS/Search/classes/Like/class.ilMediaCastSearch.php
"SELECT exc_id, id " . $locate . "FROM exc_assignment " . $where1
  • /components/ILIAS/Search/classes/Like/class.ilExerciseSearch.php
"SELECT page_id,parent_id,parent_type " . $locate . "FROM page_object, il_wiki_page " . $where . "AND il_wiki_page.id = page_object.page_id " . $in1
  • /components/ILIAS/Search/classes/Like/class.ilWikiContentSearch.php
"SELECT mep_id,obj_id " . $locate . "FROM mep_tree JOIN mep_item ON child = obj_id " . $and1
  • /components/ILIAS/Search/classes/Like/class.ilMediaPoolSearch.php
"SELECT mep_id, child " . $locate . "FROM mep_item mi " . "JOIN mep_tree ON mi.obj_id = child " . "JOIN il_meta_keyword mk ON foreign_id = mk.obj_id " . $and . "AND obj_type = 'mob'"1
  • /components/ILIAS/Search/classes/Like/class.ilMediaPoolSearch.php
"SELECT rbac_id,obj_id,obj_type " . $locate . "FROM il_meta_entity " . $where . " " . $in . ' '1
  • /components/ILIAS/Search/classes/Like/class.ilMetaDataSearch.php
"SELECT rbac_id,obj_id,obj_type " . $locate . "FROM il_meta_keyword " . $where . " " . $in . ' '1
  • /components/ILIAS/Search/classes/Like/class.ilMetaDataSearch.php
"SELECT rbac_id,obj_id,obj_type " . $locate . "FROM il_meta_general " . $where . " " . $in . ' '1
  • /components/ILIAS/Search/classes/Like/class.ilMetaDataSearch.php
"SELECT rbac_id,obj_id,obj_type " . $locate . "FROM il_meta_description " . $where . " " . $in . ' '1
  • /components/ILIAS/Search/classes/Like/class.ilMetaDataSearch.php
"SELECT page_id,parent_id,parent_type " . $locate . "FROM page_object, lm_data " . $where . "AND obj_id = page_id " . $in1
  • /components/ILIAS/Search/classes/Like/class.ilLMContentSearch.php
"SELECT webr_id, link_id " . $locate . "FROM webr_items " . $where1
  • /components/ILIAS/Search/classes/Like/class.ilWebresourceSearch.php
"SELECT glo_id,id " . $locate . "FROM glossary_term " . $where1
  • /components/ILIAS/Search/classes/Like/class.ilGlossaryDefinitionSearch.php
'SELECT object_reference.ref_id FROM object_reference, tree, object_data WHERE tree.parent = %s AND object_data.type = %s AND object_reference.ref_id = tree.child AND object_reference.obj_id = object_data.obj_id'1
  • /components/ILIAS/Dashboard/Access/class.DashboardAccess.php
'DELETE FROM desktop_item WHERE user_id = ?'1
  • /components/ILIAS/Dashboard/classes/ilDashboardAppEventListener.php
'DELETE FROM il_block_setting WHERE ' . $this->db->like('type', ilDBConstants::T_TEXT, 'pd%')1
  • /components/ILIAS/Dashboard/classes/Setup/ilDashboardUpdateSteps.php
'SELECT * FROM settings WHERE keyword = %s'1
  • /components/ILIAS/Dashboard/classes/Setup/ilDashboardUpdateSteps.php
'DELETE FROM desktop_item WHERE user_id NOT IN (SELECT usr_id FROM usr_data)'1
  • /components/ILIAS/Dashboard/classes/Setup/ilDashboardUpdateSteps.php
" SELECT DISTINCT od.obj_id, objr.ref_id, ( CASE WHEN (trans.title IS NOT NULL AND trans.title != '') THEN trans.title ELSE od.title END ) title, ( CASE WHEN (trans.description IS NOT NULL AND trans.description != '') THEN trans.description ELSE od.description END ) description, od.type, t.parent, tp.lft parent_lft, ( CASE WHEN od.type = 'crs' THEN crs_settings.period_start ELSE grp_settings.period_start END ) period_start, ( CASE WHEN od.type = 'crs' THEN crs_settings.period_end ELSE grp_settings.period_end END ) period_end, ( CASE WHEN od.type = 'crs' THEN crs_settings.period_time_indication ELSE grp_settings.period_time_indication END ) period_has_time FROM rbac_ua ua INNER JOIN rbac_fa fa ON fa.rol_id = ua.rol_id AND fa.assign = %s INNER JOIN object_reference objr ON objr.ref_id = fa.parent INNER JOIN object_data od ON od.obj_id = objr.obj_id $odObjTypes INNER JOIN tree t ON t.child = objr.ref_id AND t.tree = %s AND t.parent != %s INNER JOIN tree tp ON tp.child = t.parent LEFT JOIN grp_settings ON grp_settings.obj_id = od.obj_id LEFT JOIN crs_settings ON crs_settings.obj_id = od.obj_id LEFT JOIN object_translation trans ON trans.obj_id = od.obj_id AND trans.lang_code = %s WHERE ua.usr_id = %s "1
  • /components/ILIAS/Dashboard/ItemsBlock/classes/class.ilPDSelectedItemsBlockMembershipsObjectDatabaseRepository.php
'SELECT * FROM desktop_item WHERE ' . 'item_id = %s AND type = %s AND user_id = %s'1
  • /components/ILIAS/Dashboard/Favourites/classes/class.ilFavouritesDBRepository.php
'INSERT INTO desktop_item (item_id, type, user_id, parameters) VALUES ' . ' (%s,%s,%s,%s)'1
  • /components/ILIAS/Dashboard/Favourites/classes/class.ilFavouritesDBRepository.php
'DELETE FROM desktop_item WHERE ' . ' item_id = %s AND user_id = %s'1
  • /components/ILIAS/Dashboard/Favourites/classes/class.ilFavouritesDBRepository.php
'SELECT obj.obj_id, obj.description, oref.ref_id, obj.title, obj.type ' . ' FROM desktop_item it, object_reference oref ' . ', object_data obj' . ' WHERE ' . 'it.item_id = oref.ref_id AND ' . 'oref.obj_id = obj.obj_id AND ' . 'it.user_id = %s'1
  • /components/ILIAS/Dashboard/Favourites/classes/class.ilFavouritesDBRepository.php
'SELECT obj.obj_id, obj.description, oref.ref_id, obj.title FROM desktop_item it, object_reference oref ' . ', object_data obj WHERE ' . 'it.item_id = oref.ref_id AND ' . 'oref.obj_id = obj.obj_id AND ' . 'it.type = %s AND ' . 'it.user_id = %s ' . 'ORDER BY title'1
  • /components/ILIAS/Dashboard/Favourites/classes/class.ilFavouritesDBRepository.php
'SELECT item_id FROM desktop_item WHERE ' . 'item_id = %s AND user_id = %s'1
  • /components/ILIAS/Dashboard/Favourites/classes/class.ilFavouritesDBRepository.php
'SELECT item_id FROM desktop_item WHERE ' . $db->in('item_id', $load_ref_ids, false, 'integer') . ' AND user_id = ' . $db->quote($user_id, 'integer')1
  • /components/ILIAS/Dashboard/Favourites/classes/class.ilFavouritesDBRepository.php
'DELETE FROM desktop_item WHERE ' . ' item_id = %s'1
  • /components/ILIAS/Dashboard/Favourites/classes/class.ilFavouritesDBRepository.php
'DELETE FROM desktop_item WHERE ' . ' user_id = %s'1
  • /components/ILIAS/Dashboard/Favourites/classes/class.ilFavouritesDBRepository.php
"SELECT obj_id FROM object_data " . "WHERE title = " . $ilDB->quote($a_group_name, "text") . " " . "AND type = " . $ilDB->quote("grp", "text") . $clause1
  • /components/ILIAS/Utilities/classes/class.ilUtil.php
"SELECT ref_id FROM object_reference obr LEFT JOIN object_data obd ON obr.obj_id = obd.obj_id " . "LEFT JOIN tree ON obr.ref_id = tree.child " . $where . "AND tree = 1"1
  • /components/ILIAS/Utilities/classes/class.ilUtil.php
"SELECT DISTINCT(obr.ref_id),obr.obj_id,type FROM object_reference obr " . "JOIN object_data obd ON obd.obj_id = obr.obj_id " . "LEFT JOIN rbac_pa ON obr.ref_id = rbac_pa.ref_id " . $where . $and . "AND (" . $ilDB->like("ops_id", "text", "%i:" . $ops_id . "%") . " " . "OR " . $ilDB->like("ops_id", "text", "%:\"" . $ops_id . "\";%") . ")) " . $check_owner1
  • /components/ILIAS/Utilities/classes/class.ilUtil.php
"SELECT " . $a_id_name . " FROM " . $a_table . " " . $where . "ORDER BY " . $a_field1
  • /components/ILIAS/Utilities/classes/class.ilUtil.php
"DELETE FROM container_settings WHERE " . "id = " . $ilDB->quote($a_id, 'integer') . " " . "AND keyword = " . $ilDB->quote($a_keyword, 'text')1
  • /components/ILIAS/Container/classes/class.ilContainer.php
"INSERT INTO container_settings (id, keyword, value) VALUES (" . $ilDB->quote($a_id, 'integer') . ", " . $ilDB->quote($a_keyword, 'text') . ", " . $ilDB->quote($a_value, 'text') . ")"1
  • /components/ILIAS/Container/classes/class.ilContainer.php
"SELECT keyword, value FROM container_settings WHERE " . " id = " . $ilDB->quote($a_id, 'integer')1
  • /components/ILIAS/Container/classes/class.ilContainer.php
"DELETE FROM container_settings WHERE " . " id = " . $ilDB->quote($a_id, 'integer')1
  • /components/ILIAS/Container/classes/class.ilContainer.php
"Update Container, id: " . $this->getId( )1
  • /components/ILIAS/Container/classes/class.ilContainer.php
"SELECT DISTINCT(obj_id) FROM obj_members m JOIN usr_data u ON (u.usr_id = m.usr_id) " . " WHERE " . $db->in("m.obj_id", $obj_ids, false, "integer") . " AND " . $db->like("u.lastname", "text", $lastname) . " AND m.contact = %s"1
  • /components/ILIAS/Container/Content/Filter/class.MemberDBRepo.php
"SELECT obj_id FROM object_data " . " WHERE " . $db->in("obj_id", $obj_ids, false, "integer") . " AND type = %s"1
  • /components/ILIAS/Container/Content/Filter/class.ObjectDBRepo.php
"SELECT obj_id FROM object_data " . " WHERE " . $db->in("obj_id", $obj_ids, false, "integer") . " AND " . $online_where1
  • /components/ILIAS/Container/Content/Filter/class.ObjectDBRepo.php
"SELECT sort_mode,sort_direction,new_items_position,new_items_order " . "FROM container_sorting_set " . "WHERE obj_id = " . $ilDB->quote($a_old_id, 'integer') . " "1
  • /components/ILIAS/Container/Sorting/class.ilContainerSortingSettings.php
"DELETE FROM container_sorting_set " . "WHERE obj_id = " . $ilDB->quote($a_new_id) . " "1
  • /components/ILIAS/Container/Sorting/class.ilContainerSortingSettings.php
"INSERT INTO container_sorting_set " . "(obj_id,sort_mode, sort_direction, new_items_position, new_items_order) " . "VALUES( " . $ilDB->quote($a_new_id, 'integer') . ", " . $ilDB->quote($row["sort_mode"], 'integer') . ", " . $ilDB->quote($row["sort_direction"], 'integer') . ', ' . $ilDB->quote($row["new_items_position"], 'integer') . ', ' . $ilDB->quote($row["new_items_order"], 'integer') . ' ' . ")"1
  • /components/ILIAS/Container/Sorting/class.ilContainerSortingSettings.php
"DELETE FROM container_sorting_set " . "WHERE obj_id = " . $ilDB->quote($this->obj_id, 'integer')1
  • /components/ILIAS/Container/Sorting/class.ilContainerSortingSettings.php
"INSERT INTO container_sorting_set " . "(obj_id,sort_mode, sort_direction, new_items_position, new_items_order) " . "VALUES ( " . $this->db->quote($this->obj_id, 'integer') . ", " . $this->db->quote($this->sort_mode, 'integer') . ", " . $this->db->quote($this->sort_direction, 'integer') . ', ' . $this->db->quote($this->new_items_position, 'integer') . ', ' . $this->db->quote($this->new_items_order, 'integer') . ' ' . ")"1
  • /components/ILIAS/Container/Sorting/class.ilContainerSortingSettings.php
'DELETE FROM container_sorting_set WHERE obj_id = ' . $ilDB->quote($this->obj_id, 'integer')1
  • /components/ILIAS/Container/Sorting/class.ilContainerSortingSettings.php
"SELECT * FROM container_sorting_set " . "WHERE obj_id = " . $this->db->quote($this->obj_id, 'integer') . " "1
  • /components/ILIAS/Container/Sorting/class.ilContainerSortingSettings.php
"SELECT child_id, position FROM container_sorting WHERE " . "obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Container/Sorting/class.ilContainerSorting.php
"SELECT * FROM container_sorting_bl " . " WHERE obj_id = %s "1
  • /components/ILIAS/Container/Sorting/class.ilContainerSorting.php
"SELECT * FROM container_sorting " . "WHERE obj_id = " . $ilDB->quote($this->obj_id, 'integer')1
  • /components/ILIAS/Container/Sorting/class.ilContainerSorting.php
"DELETE FROM container_sorting " . "WHERE obj_id = " . $ilDB->quote($target_obj_id, 'integer') . " " . "AND child_id = " . $ilDB->quote($mappings[$row->child_id], 'integer') . " " . "AND parent_type = " . $ilDB->quote($row->parent_type, 'text') . ' ' . "AND parent_id = " . $ilDB->quote((int) $new_parent_id, 'integer')1
  • /components/ILIAS/Container/Sorting/class.ilContainerSorting.php
"INSERT INTO container_sorting (obj_id,child_id,position,parent_type,parent_id) " . "VALUES( " . $ilDB->quote($target_obj_id, 'integer') . ", " . $ilDB->quote($mappings[$row->child_id], 'integer') . ", " . $ilDB->quote($row->position, 'integer') . ", " . $ilDB->quote($row->parent_type, 'text') . ", " . $ilDB->quote((int) $new_parent_id, 'integer') . ")"1
  • /components/ILIAS/Container/Sorting/class.ilContainerSorting.php
"SELECT block_ids" . " FROM container_sorting_bl" . " WHERE obj_id = " . $ilDB->quote($this->obj_id, "integer")1
  • /components/ILIAS/Container/Sorting/class.ilContainerSorting.php
"SELECT * FROM container_sorting " . "WHERE obj_id = " . $this->db->quote($this->obj_id, 'integer') . " ORDER BY position"1
  • /components/ILIAS/Container/Sorting/class.ilContainerSorting.php
"DELETE FROM cont_member_skills " . " WHERE obj_id = " . $this->db->quote($cont_obj_id, "integer") . " AND user_id = " . $this->db->quote($user_id, "integer") . " AND skill_id = " . $this->db->quote($skill_id, "integer") . " AND tref_id = " . $this->db->quote($tref_id, "integer")1
  • /components/ILIAS/Container/Skills/classes/class.ContainerMemberSkillDBRepository.php
"DELETE FROM cont_member_skills " . " WHERE obj_id = " . $this->db->quote($cont_obj_id, "integer") . " AND user_id = " . $this->db->quote($user_id, "integer")1
  • /components/ILIAS/Container/Skills/classes/class.ContainerMemberSkillDBRepository.php
"DELETE FROM cont_member_skills " . " WHERE skill_id = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/Container/Skills/classes/class.ContainerMemberSkillDBRepository.php
"DELETE FROM cont_member_skills " . " WHERE tref_id = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/Container/Skills/classes/class.ContainerMemberSkillDBRepository.php
"UPDATE cont_member_skills SET " . " published = " . $this->db->quote(1, "integer") . " WHERE obj_id = " . $this->db->quote($cont_obj_id, "integer") . " AND user_id = " . $this->db->quote($user_id, "integer")1
  • /components/ILIAS/Container/Skills/classes/class.ContainerMemberSkillDBRepository.php
"SELECT published FROM cont_member_skills " . " WHERE obj_id = " . $this->db->quote($cont_obj_id, "integer") . " AND user_id = " . $this->db->quote($user_id, "integer")1
  • /components/ILIAS/Container/Skills/classes/class.ContainerMemberSkillDBRepository.php
"SELECT * FROM cont_member_skills " . " WHERE obj_id = " . $this->db->quote($cont_obj_id, "integer") . " AND user_id = " . $this->db->quote($user_id, "integer")1
  • /components/ILIAS/Container/Skills/classes/class.ContainerMemberSkillDBRepository.php
"SELECT * FROM cont_member_skills " . " WHERE obj_id = " . $this->db->quote($cont_obj_id, "integer") . " AND user_id = " . $this->db->quote($user_id, "integer") . " AND skill_id = " . $this->db->quote($skill_id, "integer") . " AND tref_id = " . $this->db->quote($tref_id, "integer")1
  • /components/ILIAS/Container/Skills/classes/class.ContainerMemberSkillDBRepository.php
"DELETE FROM cont_skills WHERE " . " id = " . $this->db->quote($cont_obj_id, "integer") . " AND skill_id = " . $this->db->quote($skill_id, "integer") . " AND tref_id = " . $this->db->quote($tref_id, "integer")1
  • /components/ILIAS/Container/Skills/classes/class.ContainerSkillDBRepository.php
"DELETE FROM cont_skills " . " WHERE skill_id = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/Container/Skills/classes/class.ContainerSkillDBRepository.php
"DELETE FROM cont_skills " . " WHERE tref_id = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/Container/Skills/classes/class.ContainerSkillDBRepository.php
"SELECT * FROM cont_skills " . " WHERE id = " . $this->db->quote($cont_obj_id, "integer")1
  • /components/ILIAS/Container/Skills/classes/class.ContainerSkillDBRepository.php
"SELECT * FROM crs_start" . " WHERE crs_id = " . $ilDB->quote($this->getObjId( ), 'integer') . " ORDER BY pos, crs_start_id"1
  • /components/ILIAS/Container/StartObjects/class.ilContainerStartObjects.php
"DELETE FROM crs_start" . " WHERE crs_start_id = " . $ilDB->quote($a_crs_start_id, 'integer') . " AND crs_id = " . $ilDB->quote($this->getObjId( ), 'integer')1
  • /components/ILIAS/Container/StartObjects/class.ilContainerStartObjects.php
"DELETE FROM crs_start" . " WHERE crs_id = " . $ilDB->quote($this->getObjId( ), 'integer') . " AND item_ref_id = " . $ilDB->quote($a_item_ref_id, 'integer')1
  • /components/ILIAS/Container/StartObjects/class.ilContainerStartObjects.php
"SELECT * FROM crs_start" . " WHERE crs_id = " . $ilDB->quote($this->getObjId( ), 'integer') . " AND item_ref_id = " . $ilDB->quote($a_item_ref_id, 'integer')1
  • /components/ILIAS/Container/StartObjects/class.ilContainerStartObjects.php
"SELECT max(pos) pos FROM crs_start" . " WHERE crs_id = " . $ilDB->quote($this->getObjId( ), "integer")1
  • /components/ILIAS/Container/StartObjects/class.ilContainerStartObjects.php
"INSERT INTO crs_start" . " (crs_start_id,crs_id,item_ref_id,pos)" . " VALUES" . " (" . $ilDB->quote($next_id, 'integer') . ", " . $ilDB->quote($this->getObjId( ), 'integer') . ", " . $ilDB->quote($a_item_ref_id, 'integer') . ", " . $ilDB->quote($max_pos, 'integer') . ")"1
  • /components/ILIAS/Container/StartObjects/class.ilContainerStartObjects.php
"UPDATE crs_start" . " SET pos = " . $ilDB->quote($a_pos, "integer") . " WHERE crs_id = " . $ilDB->quote($this->getObjId( ), 'integer') . " AND crs_start_id = " . $ilDB->quote($a_start_id, 'integer')1
  • /components/ILIAS/Container/StartObjects/class.ilContainerStartObjects.php
'SELECT crs_start_id FROM crs_start ' . 'WHERE crs_id = ' . $ilDB->quote($a_container_id, 'integer') . ' ' . 'AND item_ref_id = ' . $ilDB->quote($a_item_ref_id, 'integer')1
  • /components/ILIAS/Container/StartObjects/class.ilContainerStartObjects.php
"SELECT * FROM cont_filter_field " . " WHERE ref_id = %s "1
  • /components/ILIAS/Container/Filter/classes/class.ilContainerFilterFieldData.php
"DELETE FROM cont_filter_field WHERE " . " ref_id = %s"1
  • /components/ILIAS/Container/Filter/classes/class.ilContainerFilterFieldData.php
' SELECT * FROM frm_posts INNER JOIN frm_posts_tree ON pos_fk = pos_pk WHERE pos_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumPost.php
' SELECT * FROM frm_posts_tree INNER JOIN frm_posts ON pos_pk = pos_fk WHERE pos_status = %s AND lft < %s AND rgt > %s AND thr_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumPost.php
"SELECT pos_pk FROM frm_posts_tree treea " . "INNER JOIN frm_posts_tree treeb ON treeb.thr_fk = treea.thr_fk " . "AND treeb.lft BETWEEN treea.lft AND treea.rgt " . "INNER JOIN frm_posts ON pos_pk = treeb.pos_fk " . "WHERE treea.pos_fk = %s"1
  • /components/ILIAS/Forum/classes/class.ilForumPost.php
"SELECT pos_pk FROM frm_posts " . "INNER JOIN frm_posts_tree ON pos_fk = pos_pk " . "WHERE lft < %s AND rgt > %s AND thr_fk = %s"1
  • /components/ILIAS/Forum/classes/class.ilForumPost.php
'SELECT * FROM frm_posts_tree WHERE lft > %s AND rgt < %s AND thr_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumPost.php
'UPDATE frm_posts SET pos_thr_fk = %s WHERE ' . implode(' AND ', $conditions)1
  • /components/ILIAS/Forum/classes/class.ilForumPost.php
'SELECT notify FROM frm_posts WHERE pos_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumPost.php
'SELECT * FROM frm_settings WHERE obj_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumProperties.php
'SELECT anonymized FROM frm_settings WHERE obj_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumProperties.php
'SELECT admin_force_noti FROM frm_settings WHERE obj_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumProperties.php
'SELECT user_toggle_noti FROM frm_settings WHERE obj_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumProperties.php
'SELECT * FROM frm_data WHERE '1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT * FROM frm_threads WHERE '1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'UPDATE frm_threads SET thr_num_posts = thr_num_posts + 1, thr_last_post = %s WHERE thr_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'UPDATE frm_data SET top_num_posts = top_num_posts + 1, top_last_post = %s WHERE top_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'UPDATE frm_data SET top_num_threads = top_num_threads + 1 WHERE top_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'UPDATE frm_data ' . 'SET top_num_posts = top_num_posts - %s, top_num_threads = top_num_threads - %s, visits = visits - %s, ' . 'top_last_post = %s WHERE top_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'UPDATE frm_data SET top_num_posts = top_num_posts + %s, top_num_threads = top_num_threads + %s, ' . 'visits = visits + %s, top_last_post = %s WHERE top_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'UPDATE frm_posts SET pos_cens_com = %s, pos_cens_date = %s, pos_cens = %s, update_user = %s WHERE pos_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
' SELECT COUNT(*) AS cnt FROM frm_posts INNER JOIN frm_posts_tree ON pos_pk = pos_fk WHERE frm_posts_tree.parent_pos != 0 AND pos_thr_fk = ' . $this->db->quote($post->getThreadId( ), 'integer') . ' AND pos_status = ' . $this->db->quote(1, 'integer')1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'DELETE FROM frm_threads WHERE thr_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'UPDATE frm_data SET top_num_threads = top_num_threads - 1 WHERE top_frm_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'DELETE FROM frm_posts WHERE pos_thr_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'DELETE FROM frm_posts WHERE pos_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'UPDATE frm_threads SET thr_num_posts = thr_num_posts - %s WHERE thr_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT * FROM frm_posts WHERE pos_thr_fk = %s ORDER BY pos_date DESC'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'UPDATE frm_data SET top_num_posts = top_num_posts - %s WHERE top_frm_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT * FROM frm_posts, frm_data WHERE pos_top_fk = top_pk AND top_frm_fk = %s ORDER BY pos_date DESC'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'UPDATE frm_data SET top_last_post = %s WHERE top_frm_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
"SELECT COUNT(DISTINCT(thr_pk)) cnt FROM frm_threads $cnt_join_type JOIN frm_posts ON pos_thr_fk = thr_pk $cnt_active_pos_query WHERE thr_top_fk = %s $excluded_ids_condition "1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT frm_posts.* FROM frm_posts INNER JOIN ( SELECT pos_thr_fk, MAX(iposts.pos_date) i_pos_date FROM frm_posts iposts WHERE ' . $this->db->in('iposts.pos_thr_fk', $threadIds, false, 'integer') . ' ' . $inner_last_active_post_condition . ' GROUP BY pos_thr_fk ) opost ON frm_posts.pos_thr_fk = opost.pos_thr_fk AND frm_posts.pos_date = opost.i_pos_date'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
' SELECT SUM(IF(f.pos_cens = %s, 1, 0)) cnt FROM frm_posts f INNER JOIN frm_posts_tree t ON f.pos_pk = t.pos_fk AND t.parent_pos != %s INNER JOIN frm_threads th ON t.thr_fk = th.thr_pk INNER JOIN frm_data d ON d.top_pk = f.pos_top_fk AND d.top_frm_fk = %s WHERE f.pos_author_id = %s '1
  • /components/ILIAS/Forum/classes/class.ilForum.php
' SELECT u.login, u.lastname, u.firstname, f.pos_author_id, u.usr_id, p.value public_profile, SUM(IF(f.pos_cens = %s, 1, 0)) num_postings FROM frm_posts f INNER JOIN frm_posts_tree t ON f.pos_pk = t.pos_fk INNER JOIN frm_threads th ON t.thr_fk = th.thr_pk INNER JOIN usr_data u ON u.usr_id = f.pos_author_id INNER JOIN frm_data d ON d.top_pk = f.pos_top_fk LEFT JOIN usr_pref p ON p.usr_id = u.usr_id AND p.keyword = %s WHERE t.parent_pos != %s '1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT pos_fk FROM frm_posts_tree WHERE thr_fk = %s AND parent_pos = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT * FROM frm_data INNER JOIN frm_posts ON pos_top_fk = top_pk INNER JOIN frm_posts_tree tree1 ON tree1.pos_fk = frm_posts.pos_pk AND tree1.parent_pos != 0 WHERE top_frm_fk = %s AND pos_author_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT * FROM frm_data INNER JOIN frm_posts ON pos_top_fk = top_pk INNER JOIN frm_posts_tree tree1 ON tree1.pos_fk = frm_posts.pos_pk AND tree1.parent_pos != 0 WHERE top_frm_fk = %s AND (pos_status = %s OR (pos_status = %s AND pos_author_id = %s)) AND pos_author_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
' INSERT INTO frm_posts_tree ( fpt_pk, thr_fk, pos_fk, parent_pos, lft, rgt, depth, fpt_date ) VALUES(%s, %s, %s, %s, %s, %s, %s, %s )'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT lft FROM frm_posts_tree WHERE pos_fk = %s AND thr_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
' UPDATE frm_posts_tree SET lft = CASE WHEN lft > %s THEN lft + 2 ELSE lft END, rgt = CASE WHEN rgt > %s THEN rgt + 2 ELSE rgt END WHERE thr_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
' INSERT INTO frm_posts_tree ( fpt_pk, thr_fk, pos_fk, parent_pos, lft, rgt, depth, fpt_date ) VALUES(%s,%s,%s, %s, %s, %s,%s, %s)'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT depth FROM frm_posts_tree WHERE pos_fk = %s AND thr_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT * FROM frm_posts, frm_posts_tree WHERE pos_pk = pos_fk AND parent_pos = %s AND thr_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT * FROM frm_posts, frm_posts_tree WHERE pos_pk = pos_fk AND pos_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT lft, rgt FROM frm_posts_tree WHERE thr_fk = %s AND pos_fk = %s AND parent_pos = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'DELETE FROM frm_posts_tree WHERE lft BETWEEN %s AND %s AND thr_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
' UPDATE frm_posts_tree SET lft = CASE WHEN lft > %s THEN lft - %s ELSE lft END, rgt = CASE WHEN rgt > %s THEN rgt - %s ELSE rgt END WHERE thr_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'UPDATE ' . $this->dbTable . ' SET visits = visits + 1 WHERE '1
  • /components/ILIAS/Forum/classes/class.ilForum.php
' SELECT frm_notification.thread_id FROM frm_data, frm_notification, frm_threads WHERE frm_notification.user_id = %s AND frm_notification.thread_id = frm_threads.thr_pk AND frm_threads.thr_top_fk = frm_data.top_pk AND frm_data.top_frm_fk = %s GROUP BY frm_notification.thread_id'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
' DELETE FROM frm_notification WHERE user_id = %s AND thread_id IN ('1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'INSERT INTO frm_notification (notification_id, user_id, frm_id) VALUES(%s, %s, %s)'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'DELETE FROM frm_notification WHERE user_id = %s AND frm_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT COUNT(*) cnt FROM frm_notification WHERE user_id = %s AND frm_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT COUNT(*) cnt FROM frm_notification WHERE user_id = %s AND thread_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT thr_pk, thr_subject FROM frm_threads INNER JOIN frm_data ON top_pk = thr_top_fk WHERE top_frm_fk = %s ORDER BY %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT top_frm_fk FROM frm_data WHERE top_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT COUNT(pos_pk) cnt FROM frm_posts WHERE pos_top_fk = ' . $this->db->quote($this->lastHandledForumId, 'integer')1
  • /components/ILIAS/Forum/classes/class.ilForumXMLParser.php
'SELECT COUNT(thr_pk) cnt FROM frm_threads WHERE thr_top_fk = ' . $this->db->quote($this->lastHandledForumId, 'integer')1
  • /components/ILIAS/Forum/classes/class.ilForumXMLParser.php
'UPDATE frm_data SET top_last_post = %s, top_num_posts = %s, top_num_threads = %s, top_usr_id = %s WHERE top_frm_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumXMLParser.php
'SELECT od.obj_id, ud.login FROM object_data od INNER JOIN usr_data ud ON od.obj_id = ud.usr_id'1
  • /components/ILIAS/Forum/classes/class.ilForumXMLParser.php
'SELECT top_pk FROM frm_data WHERE top_frm_fk = ' . $this->db->quote($this->forum->getId( ), 'integer')1
  • /components/ILIAS/Forum/classes/class.ilForumXMLParser.php
'SELECT pos_thr_fk FROM frm_posts WHERE pos_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForumAccess.php
' SELECT * FROM object_data od INNER JOIN frm_data ON top_frm_fk = od.obj_id LEFT JOIN frm_settings fs ON fs.obj_id = od.obj_id WHERE od.obj_id = ' . $ilDB->quote($this->forum_id, 'integer')1
  • /components/ILIAS/Forum/classes/class.ilForumXMLWriter.php
'SELECT frm_threads.* ' . ' FROM frm_threads ' . ' INNER JOIN frm_data ON top_pk = thr_top_fk ' . 'WHERE top_frm_fk = ' . $ilDB->quote($this->forum_id, 'integer')1
  • /components/ILIAS/Forum/classes/class.ilForumXMLWriter.php
'SELECT frm_posts.*, frm_posts_tree.* FROM frm_posts INNER JOIN frm_data ON top_pk = pos_top_fk INNER JOIN frm_posts_tree ON pos_fk = pos_pk WHERE pos_thr_fk = ' . $ilDB->quote($row->thr_pk, 'integer') . ' '1
  • /components/ILIAS/Forum/classes/class.ilForumXMLWriter.php
'UPDATE frm_data SET top_mods = ' . $this->db->quote($role_id, 'integer') . ' WHERE top_frm_fk = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'SELECT top_pk FROM frm_data WHERE top_frm_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
' SELECT COUNT(pos_pk) num_posts FROM frm_posts LEFT JOIN frm_posts_tree ON frm_posts_tree.pos_fk = pos_pk WHERE pos_top_fk = %s' . ($ignoreRoot ? ' AND parent_pos != 0 ' : '')1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'SELECT COUNT(post_id) count_read FROM frm_user_read WHERE obj_id = %s AND usr_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
' SELECT COUNT(pos_pk) num_posts FROM frm_posts LEFT JOIN frm_posts_tree ON frm_posts_tree.pos_fk = pos_pk WHERE pos_thr_fk = %s' . ($ignoreRoot ? ' AND parent_pos != 0 ' : '')1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
' SELECT COUNT(post_id) count_read FROM frm_user_read WHERE obj_id = %s AND usr_id = %s AND thread_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'SELECT thr_pk FROM frm_data, frm_threads WHERE top_frm_fk = %s AND top_pk = thr_top_fk'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
' SELECT thread_id FROM frm_user_read WHERE usr_id = %s AND obj_id = %s AND thread_id = %s AND post_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
' INSERT INTO frm_user_read ( usr_id, obj_id, thread_id, post_id ) VALUES (%s,%s,%s,%s)'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_user_read WHERE usr_id = %s AND post_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_user_read WHERE usr_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_notification WHERE user_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_user_read WHERE post_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'UPDATE frm_data SET update_user = %s WHERE top_frm_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'UPDATE frm_data SET top_name = %s, top_description = %s, top_update = %s, update_user = %s WHERE top_frm_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'SELECT pos_pk FROM frm_posts WHERE ' . $this->db->in('pos_thr_fk', $thread_ids_to_delete, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'SELECT draft_id FROM frm_posts_drafts WHERE ' . $this->db->in('thread_id', $thread_ids_to_delete, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_posts_tree WHERE ' . $this->db->in('thr_fk', $thread_ids_to_delete, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_posts WHERE ' . $this->db->in('pos_thr_fk', $thread_ids_to_delete, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_threads WHERE ' . $this->db->in('thr_pk', $thread_ids_to_delete, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_data WHERE top_frm_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_settings WHERE obj_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_user_read WHERE obj_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_notification WHERE ' . $this->db->in('thread_id', $thread_ids_to_delete, false, 'integer')1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_notification WHERE frm_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'DELETE FROM frm_posts_deleted WHERE obj_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'SELECT draft_id FROM frm_posts_drafts WHERE forum_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'SELECT obj_id FROM object_data WHERE title = %s'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
' INSERT INTO frm_data ( top_pk, top_frm_fk, top_name, top_description, top_num_posts, top_num_threads, top_last_post, top_mods, top_date, top_usr_id ) VALUES(%s, %s, %s, %s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
" SELECT COUNT(frm_posts.pos_pk) cnt FROM frm_posts INNER JOIN frm_posts_tree tree1 ON tree1.pos_fk = frm_posts.pos_pk AND tree1.parent_pos != 0 INNER JOIN frm_threads ON frm_posts.pos_thr_fk = frm_threads.thr_pk WHERE frm_threads.thr_top_fk = %s $act_clause "1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
" SELECT * FROM frm_posts INNER JOIN frm_posts_tree tree1 ON tree1.pos_fk = frm_posts.pos_pk AND tree1.parent_pos != 0 WHERE pos_top_fk = %s $act_clause ORDER BY pos_date DESC "1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
" SELECT t1.pos_display_user_id, t1.update_user FROM frm_posts t1 INNER JOIN frm_posts_tree tree1 ON tree1.pos_fk = t1.pos_pk AND tree1.parent_pos != 0 INNER JOIN ( SELECT t3.pos_thr_fk, MAX(t3.pos_date) pos_date FROM frm_posts t3 INNER JOIN frm_posts_tree tree2 ON tree2.pos_fk = t3.pos_pk AND tree2.parent_pos != 0 WHERE $inner_in $act_inner_clause GROUP BY t3.pos_thr_fk ) t2 ON t2.pos_thr_fk = t1.pos_thr_fk AND t2.pos_date = t1.pos_date WHERE $in $act_clause GROUP BY t1.pos_thr_fk, t1.pos_display_user_id, t1.update_user "1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'SELECT COUNT(is_sticky) num_sticky FROM frm_threads INNER JOIN frm_data ON top_pk = thr_top_fk WHERE frm_data.top_frm_fk = ' . $this->db->quote($this->getId( ), 'integer') . ' AND is_sticky = ' . $this->db->quote(1, 'integer')1
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
" SELECT ud.usr_id, od.create_date, login, firstname, lastname, ud.title, gender, pprof.value public_profile, pgen.value public_gender, pup.value public_upload FROM usr_data ud INNER JOIN object_data od ON od.obj_id = ud.usr_id LEFT JOIN usr_pref pprof ON pprof.usr_id = ud.usr_id AND pprof.keyword = %s LEFT JOIN usr_pref pgen ON pgen.usr_id = ud.usr_id AND pgen.keyword = %s LEFT JOIN usr_pref pup ON pup.usr_id = ud.usr_id AND pup.keyword = %s WHERE $in "1
  • /components/ILIAS/Forum/classes/class.ilForumAuthorInformationCache.php
' UPDATE frm_threads SET thr_top_fk = %s, thr_subject = %s, thr_update = %s, thr_num_posts = %s, thr_last_post = %s, avg_rating = %s WHERE thr_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
' SELECT frm_threads.*, top_frm_fk frm_obj_id FROM frm_threads INNER JOIN frm_data ON top_pk = thr_top_fk WHERE thr_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
'UPDATE frm_threads SET visits = visits + 1 WHERE thr_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
' SELECT COUNT(*) cnt FROM frm_posts INNER JOIN frm_posts_tree ON frm_posts_tree.pos_fk = pos_pk WHERE pos_thr_fk = %s' . ($ignoreRoot ? ' AND parent_pos != 0 ' : '')1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
' SELECT COUNT(*) cnt FROM frm_posts INNER JOIN frm_posts_tree ON frm_posts_tree.pos_fk = pos_pk WHERE (pos_status = %s OR (pos_status = %s AND pos_display_user_id = %s)) AND pos_thr_fk = %s' . ($ignoreRoot ? ' AND parent_pos != 0 ' : '')1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
' SELECT * FROM frm_posts INNER JOIN frm_posts_tree ON pos_fk = pos_pk WHERE parent_pos = %s AND thr_fk = %s ORDER BY rgt DESC'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
' SELECT * FROM frm_posts INNER JOIN frm_posts_tree ON pos_fk = pos_pk WHERE parent_pos != %s AND thr_fk = %s AND depth = %s ORDER BY rgt DESC'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
'SELECT pos_pk FROM frm_posts WHERE pos_thr_fk = %s ORDER BY pos_date DESC'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
' SELECT pos_pk FROM frm_posts WHERE pos_thr_fk = %s AND (pos_status = %s OR (pos_status = %s AND pos_display_user_id = %s)) ORDER BY pos_date DESC'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
' SELECT is_author_moderator, pos_author_id, pos_pk, fpt_date, rgt, pos_top_fk, pos_thr_fk, pos_display_user_id, pos_usr_alias, pos_subject, pos_status, pos_message, pos_date, pos_update, rcid, update_user, pos_cens, pos_cens_com, notify, import_name, fpt_pk, parent_pos, lft, depth, (CASE WHEN fur.post_id IS NULL ' . ($this->user->getId( ) === ANONYMOUS_USER_ID ? ' AND 1 = 2 ' : '') . ' THEN 0 ELSE 1 END) post_read, firstname, lastname, title, login FROM frm_posts_tree INNER JOIN frm_posts ON pos_fk = pos_pk LEFT JOIN usr_data ON pos_display_user_id = usr_id LEFT JOIN frm_user_read fur ON fur.thread_id = pos_thr_fk AND fur.post_id = pos_pk AND fur.usr_id = %s WHERE ' . $dummy_root_condition . ' AND thr_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
'DELETE FROM frm_user_read WHERE obj_id = %s AND thread_id =%s'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
'UPDATE frm_user_read SET obj_id = %s WHERE thread_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
'UPDATE frm_posts SET pos_top_fk = %s WHERE pos_thr_fk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
' INSERT INTO frm_notification ( notification_id, user_id, thread_id ) VALUES(%s, %s, %s)'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
'SELECT thr_top_fk FROM frm_threads WHERE thr_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
'SELECT thr_date FROM frm_threads WHERE thr_pk = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
'SELECT * FROM frm_posts_drafts WHERE post_author_id = %s AND draft_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php
'SELECT * FROM frm_posts_drafts WHERE post_author_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php
'SELECT * FROM frm_posts_drafts WHERE post_author_id = %s AND thread_id = %s' . $orderColumn . $orderDirection1
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php
'DELETE FROM frm_posts_drafts WHERE draft_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php
'SELECT draft_id FROM frm_posts_drafts WHERE ' . $this->db->in('post_id', $post_ids, false, 'integer')1
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php
'SELECT draft_id FROM frm_posts_drafts WHERE post_author_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php
'DELETE FROM frm_drafts_history WHERE ' . $ilDB->in('draft_id', $draft_ids, false, 'integer')1
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php
'DELETE FROM frm_posts_drafts WHERE post_author_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php
' SELECT COUNT(draft_id) num_drafts, thread_id FROM frm_posts_drafts LEFT JOIN frm_posts ON pos_pk = post_id WHERE forum_id = %s AND post_author_id = %s AND (frm_posts.pos_pk IS NOT NULL OR post_id = 0) GROUP BY thread_id'1
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php
'SELECT * FROM frm_posts_drafts WHERE post_author_id = %s AND forum_id = %s AND thread_id = %s AND post_id = %s ORDER BY post_date DESC'1
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php
'SELECT * FROM frm_drafts_history WHERE history_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumDraftsHistory.php
'SELECT * FROM frm_drafts_history WHERE draft_id = %s ORDER BY draft_date DESC'1
  • /components/ILIAS/Forum/classes/class.ilForumDraftsHistory.php
'DELETE FROM frm_drafts_history WHERE history_id = %s'1
  • /components/ILIAS/Forum/classes/class.ilForumDraftsHistory.php
'SELECT * FROM frm_drafts_history WHERE draft_id = %s ORDER BY history_id ASC'1
  • /components/ILIAS/Forum/classes/class.ilForumDraftsHistory.php
'SELECT * FROM frm_drafts_history WHERE draft_id = %s ORDER BY history_id DESC'1
  • /components/ILIAS/Forum/classes/class.ilForumDraftsHistory.php
' SELECT frm_drafts_history.history_id, frm_drafts_history.draft_id FROM frm_posts_drafts INNER JOIN frm_drafts_history ON frm_posts_drafts.draft_id WHERE ' . $this->db->in('post_id', $post_ids, false, 'integer')1
  • /components/ILIAS/Forum/classes/class.ilForumDraftsHistory.php
'SELECT history_id FROM frm_drafts_history WHERE ' . $this->db->in('draft_id', $draft_ids, false, 'integer')1
  • /components/ILIAS/Forum/classes/class.ilForumDraftsHistory.php
'DELETE FROM frm_posts_deleted WHERE ' . $this->ilDB->in('deleted_id', self::$deleted_ids_cache, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Forum/classes/class.ilForumCronNotification.php
' SELECT frm_threads.thr_subject thr_subject, frm_data.top_name top_name, frm_data.top_frm_fk obj_id, frm_notification.user_id user_id, frm_threads.thr_pk thread_id, frm_posts.* FROM frm_notification, frm_posts, frm_threads, frm_data, frm_posts_tree WHERE frm_posts.pos_thr_fk = frm_threads.thr_pk AND ' . $condition . ' AND ((frm_threads.thr_top_fk = frm_data.top_pk AND frm_data.top_frm_fk = frm_notification.frm_id) OR (frm_threads.thr_pk = frm_notification.thread_id AND frm_data.top_pk = frm_threads.thr_top_fk) ) AND frm_posts.pos_author_id != frm_notification.user_id AND frm_posts_tree.pos_fk = frm_posts.pos_pk AND frm_posts_tree.parent_pos != 0 ORDER BY frm_posts.pos_date ASC'1
  • /components/ILIAS/Forum/classes/class.ilForumCronNotification.php
' SELECT frm_posts_deleted.thread_title thr_subject, frm_posts_deleted.forum_title top_name, frm_posts_deleted.obj_id obj_id, frm_notification.user_id user_id, frm_posts_deleted.pos_display_user_id, frm_posts_deleted.pos_usr_alias, frm_posts_deleted.deleted_id, frm_posts_deleted.post_date pos_date, frm_posts_deleted.post_title pos_subject, frm_posts_deleted.post_message pos_message, frm_posts_deleted.deleted_by FROM frm_notification, frm_posts_deleted WHERE ( frm_posts_deleted.obj_id = frm_notification.frm_id OR frm_posts_deleted.thread_id = frm_notification.thread_id) AND frm_posts_deleted.pos_display_user_id != frm_notification.user_id AND frm_posts_deleted.is_thread_deleted = %s AND frm_notification.interested_events & %s ORDER BY frm_posts_deleted.post_date ASC'1
  • /components/ILIAS/Forum/classes/class.ilForumCronNotification.php
'DELETE FROM frm_posts_deleted WHERE deleted_id > %s'1
  • /components/ILIAS/Forum/classes/class.ilForumPostsDeleted.php
'DELETE FROM frm_notification WHERE frm_id = %s AND admin_force_noti = %s'1
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
'UPDATE frm_notification SET interested_events = %s WHERE user_id = %s AND frm_id = %s'1
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
'SELECT interested_events FROM frm_notification WHERE user_id = %s AND frm_id = %s'1
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
'SELECT * FROM frm_notification WHERE admin_force_noti = %s AND frm_id = %s'1
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
' SELECT thr_subject FROM frm_threads WHERE thr_pk = %s'1
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotificationDataProvider.php
' SELECT top_pk, top_name, frm_settings.anonymized FROM frm_data INNER JOIN frm_settings ON top_frm_fk = frm_settings.obj_id WHERE top_frm_fk = %s'1
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotificationDataProvider.php
' SELECT frm_notification.user_id FROM frm_notification, frm_data WHERE frm_data.top_pk = %s AND frm_notification.frm_id = frm_data.top_frm_fk AND frm_notification.user_id != %s AND (frm_notification.interested_events & %s ' . $condition . ') GROUP BY frm_notification.user_id '1
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotificationDataProvider.php
' SELECT frm_notification.user_id FROM frm_notification INNER JOIN frm_threads ON frm_threads.thr_pk = frm_notification.thread_id WHERE frm_notification.thread_id = %s AND frm_notification.user_id != %s AND (frm_notification.interested_events & %s ' . $condition . ')'1
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotificationDataProvider.php
"DELETE FROM settings WHERE keyword = %s"1
  • /components/ILIAS/Forum/classes/Setup/class.ilForumDatabaseUpdateSteps.php
"SELECT * FROM il_verification" . " WHERE id = " . $ilDB->quote($this->id, "integer")1
  • /components/ILIAS/Verification/classes/class.ilVerificationObject.php
"DELETE FROM note WHERE id = " . $db->quote($id, "integer")1
  • /components/ILIAS/Notes/Note/class.NoteDBRepository.php
"SELECT * FROM note " . " WHERE id = %s "1
  • /components/ILIAS/Notes/Note/class.NoteDBRepository.php
"SELECT $fields FROM note $join WHERE " . $sub_where . " AND note.type = " . $db->quote($type, "integer") . $author_where . $news_where . " ORDER BY creation_date "1
  • /components/ILIAS/Notes/Note/class.NoteDBRepository.php
"SELECT DISTINCT rep_obj_id FROM note WHERE " . " type = " . $db->quote($type, "integer") . " AND author = " . $db->quote($user_id, "integer") . " AND (no_repository IS NULL OR no_repository < " . $db->quote(1, "integer") . ")"1
  • /components/ILIAS/Notes/Note/class.NoteDBRepository.php
"SELECT DISTINCT rep_obj_id FROM note WHERE " . $db->in("rep_obj_id", $obj_ids, false, "integer") . " AND type = " . $db->quote($type, "integer") . " AND (no_repository IS NULL OR no_repository < " . $db->quote(1, "integer") . ")"1
  • /components/ILIAS/Notes/Note/class.NoteDBRepository.php
"SELECT count(DISTINCT author) cnt FROM note WHERE " . "rep_obj_id = %s AND obj_id = %s AND obj_type = %s"1
  • /components/ILIAS/Notes/Note/class.NoteDBRepository.php
"SELECT count(id) c, rep_obj_id, type FROM note WHERE " . " ((type = " . $db->quote(Note::PRIVATE, "integer") . " AND " . "author = " . $db->quote($user_id, "integer") . ") OR " . " type = " . $db->quote(Note::PUBLIC, "integer") . ") AND " . $db->in("rep_obj_id", $obj_ids, false, "integer")1
  • /components/ILIAS/Notes/Note/class.NoteDBRepository.php
"SELECT rep_obj_id FROM note_settings " . " WHERE rep_obj_id = " . $db->quote($obj_id, "integer") . " AND activated = " . $db->quote(1, "integer")1
  • /components/ILIAS/Notes/Settings/class.NoteSettingsDBRepository.php
"SELECT * FROM note_settings " . " WHERE " . $db->in("rep_obj_id", $obj_ids, false, "integer") . " AND obj_id = 0 "1
  • /components/ILIAS/Notes/Settings/class.NoteSettingsDBRepository.php
"SELECT * FROM note_settings " . " WHERE obj_type = %s AND obj_id = %s"1
  • /components/ILIAS/Notes/Setup/class.ilNotesDBUpdateSteps.php
"SELECT type FROM object_data " . " WHERE obj_id = %s "1
  • /components/ILIAS/Notes/Setup/class.ilNotesDBUpdateSteps.php
"SELECT rep_obj_id FROM note_settings " . " WHERE rep_obj_id = " . $db->quote($rec1["rep_obj_id"], "integer") . " AND activated = " . $db->quote(1, "integer")1
  • /components/ILIAS/Notes/Setup/class.ilNotesDBUpdateSteps.php
"DELETE FROM note_settings WHERE " . " rep_obj_id = %s AND obj_id = %s AND obj_type = %s"1
  • /components/ILIAS/Notes/Setup/class.ilNotesDBUpdateSteps.php
"SELECT id, rep_obj_id, obj_id, obj_type, type, " . " author, note_text, creation_date, label, subject, no_repository " . " FROM note " . " WHERE " . $ilDB->in("author", $a_ids, false, "integer") . " AND obj_type = " . $ilDB->quote("pd", "text")1
  • /components/ILIAS/Notes/Export/class.ilNotesDataSet.php
"SELECT DISTINCT author FROM note " . " WHERE rep_obj_id = %s " . " AND type = %s "1
  • /components/ILIAS/Notes/Export/class.UserImageExporter.php
'SELECT usr_id FROM usr_pref WHERE keyword = "dpro_agree_date" AND (value IS NULL OR value = "false" OR value = "") AND ' . $users1
  • /components/ILIAS/DataProtection/classes/Consumer.php
"delete from usr_pref WHERE keyword = 'dpro_agree_date' AND $in"1
  • /components/ILIAS/DataProtection/classes/class.ilObjDataProtectionGUI.php
"SELECT * FROM il_news_item WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT count(*) cnt " . "FROM il_news_item " . "WHERE " . "context_obj_id = " . $ilDB->quote($this->getContextObjId( ), "integer") . " AND context_obj_type = " . $ilDB->quote($this->getContextObjType( ), "text") . " AND context_sub_obj_id = " . $ilDB->quote($this->getContextSubObjId( ), "integer") . " AND " . $ilDB->equals("context_sub_obj_type", $this->getContextSubObjType( ), "text", true) . " "1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT * " . "FROM il_news_item " . "WHERE " . "context_obj_id = " . $ilDB->quote($this->getContextObjId( ), "integer") . " AND context_obj_type = " . $ilDB->quote($this->getContextObjType( ), "text") . " AND context_sub_obj_id = " . $ilDB->quote($this->getContextSubObjId( ), "integer") . " AND " . $ilDB->equals("context_sub_obj_type", $this->getContextSubObjType( ), "text", true) . " ORDER BY creation_date ASC"1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT * " . "FROM il_news_item " . " WHERE " . "context_obj_id = " . $ilDB->quote($this->getContextObjId( ), "integer") . " AND context_obj_type = " . $ilDB->quote($this->getContextObjType( ), "text") . $and . " ORDER BY " . $ordering1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT il_news_item.* " . ", il_news_read.user_id user_read " . "FROM il_news_item LEFT JOIN il_news_read " . "ON il_news_item.id = il_news_read.news_id AND " . " il_news_read.user_id = " . $ilDB->quote(self::getPrivateFeedId( ), "integer") . " WHERE " . "context_obj_id = " . $ilDB->quote($this->getContextObjId( ), "integer") . " AND context_obj_type = " . $ilDB->quote($this->getContextObjType( ), "text") . $and . " ORDER BY " . $ordering1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT il_news_item.* " . ", il_news_read.user_id as user_read " . "FROM il_news_item LEFT JOIN il_news_read " . "ON il_news_item.id = il_news_read.news_id AND " . " il_news_read.user_id = " . $ilDB->quote($ilUser->getId( ), "integer") . " WHERE " . "context_obj_id = " . $ilDB->quote($this->getContextObjId( ), "integer") . " AND context_obj_type = " . $ilDB->quote($this->getContextObjType( ), "text") . $and . " ORDER BY " . $ordering1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT * FROM il_news_item " . " WHERE " . $ilDB->in("id", $a_news_ids, false, "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT id,context_obj_id,context_obj_type" . " FROM il_news_item" . " WHERE " . $ilDB->in("context_obj_id", array_keys($objects), false, "integer") . " AND creation_date >= " . $ilDB->quote($limit_ts, "timestamp")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT * " . "FROM il_news_item " . " WHERE " . $ilDB->in("context_obj_id", $ids, false, "integer") . " " . $and . " ORDER BY creation_date DESC "1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT il_news_item.* " . ", il_news_read.user_id as user_read " . "FROM il_news_item LEFT JOIN il_news_read " . "ON il_news_item.id = il_news_read.news_id AND " . " il_news_read.user_id = " . $ilDB->quote(self::getPrivateFeedId( ), "integer") . " WHERE " . $ilDB->in("context_obj_id", $ids, false, "integer") . " " . $and . " ORDER BY creation_date DESC "1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT il_news_item.* " . ", il_news_read.user_id as user_read " . "FROM il_news_item LEFT JOIN il_news_read " . "ON il_news_item.id = il_news_read.news_id AND " . " il_news_read.user_id = " . $ilDB->quote($user_id, "integer") . " WHERE " . $ilDB->in("context_obj_id", $ids, false, "integer") . " " . $and . " ORDER BY creation_date DESC "1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"DELETE FROM il_news_read (user_id, news_id) VALUES (" . " WHERE user_id = " . $ilDB->quote($a_user_id, "integer") . " AND news_id = " . $ilDB->quote($a_news_id, "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"DELETE FROM il_news_read " . " WHERE news_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"DELETE FROM il_news_item" . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT id FROM il_news_item" . " WHERE context_obj_id = " . $ilDB->quote($a_context_obj_id, "integer") . " AND context_obj_type = " . $ilDB->quote($a_context_obj_type, "text") . $and1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT title FROM il_news_item WHERE id = " . $ilDB->quote($a_news_id, "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT visibility FROM il_news_item WHERE id = " . $ilDB->quote($a_news_id, "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT mob_id FROM il_news_item WHERE id = " . $ilDB->quote($a_news_id, "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT DISTINCT(context_obj_id) AS obj_id FROM il_news_item" . " WHERE " . $ilDB->in("context_obj_id", $a_obj_ids, false, "integer") . " " . $and1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT context_obj_type, content_is_lang_var, title FROM il_news_item WHERE id = " . $ilDB->quote($a_news_id, "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT id " . "FROM il_news_item " . "WHERE " . "context_obj_id = " . $ilDB->quote($a_context_obj_id, "integer") . " AND context_obj_type = " . $ilDB->quote($a_context_obj_type, "text") . " AND context_sub_obj_id = " . $ilDB->quote($a_context_sub_obj_id, "integer") . " AND " . $ilDB->equals("context_sub_obj_type", $a_context_sub_obj_type, "text", true)1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT id, update_date " . "FROM il_news_item " . "WHERE " . "context_obj_id = " . $ilDB->quote($a_context_obj_id, "integer") . " AND context_obj_type = " . $ilDB->quote($a_context_obj_type, "text") . " AND context_sub_obj_id = " . $ilDB->quote($a_context_sub_obj_id, "integer") . " AND " . $ilDB->equals("context_sub_obj_type", $a_context_sub_obj_type, "text", true) . " ORDER BY update_date DESC"1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT id " . "FROM il_news_item " . "WHERE " . " mob_id = " . $ilDB->quote($a_mob_id, "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT context_obj_id " . "FROM il_news_item " . "WHERE " . " id = " . $ilDB->quote($a_news_id, "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"UPDATE il_news_item SET " . " mob_cnt_download = " . $ilDB->quote($cnt, "integer") . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"UPDATE il_news_item SET " . " mob_cnt_play = " . $ilDB->quote($cnt, "integer") . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT id FROM il_news_item " . " WHERE " . $ilDB->in("id", $news_ids, false, "integer")1
  • /components/ILIAS/News/classes/class.ilNewsItem.php
"SELECT id, title, content, priority," . " context_obj_id, context_obj_type, context_sub_obj_id, context_sub_obj_type, " . " content_type, visibility, content_long, content_is_lang_var, mob_id, playtime" . " FROM il_news_item " . "WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/News/classes/class.ilNewsDataSet.php
'DELETE FROM chatroom_bans WHERE user_id = ?'1
  • /components/ILIAS/Chatroom/classes/CleanUpBans.php
'SELECT object_id FROM chatroom_settings WHERE room_type = ' . $DIC->database( )->quote('default', 'text')1
  • /components/ILIAS/Chatroom/classes/class.ilObjChatroom.php
'DELETE FROM chatroom_users WHERE chatroom_users.room_id IN (SELECT chatroom_settings.room_id FROM chatroom_settings WHERE chatroom_settings.object_id = %s)'1
  • /components/ILIAS/Chatroom/classes/class.ilObjChatroom.php
'DELETE FROM chatroom_history WHERE chatroom_history.room_id IN (SELECT chatroom_settings.room_id FROM chatroom_settings WHERE chatroom_settings.object_id = %s)'1
  • /components/ILIAS/Chatroom/classes/class.ilObjChatroom.php
'DELETE FROM chatroom_bans WHERE chatroom_bans.room_id IN (SELECT chatroom_settings.room_id FROM chatroom_settings WHERE chatroom_settings.object_id = %s)'1
  • /components/ILIAS/Chatroom/classes/class.ilObjChatroom.php
'DELETE FROM chatroom_sessions WHERE chatroom_sessions.room_id IN (SELECT chatroom_settings.room_id FROM chatroom_settings WHERE chatroom_settings.object_id = %s)'1
  • /components/ILIAS/Chatroom/classes/class.ilObjChatroom.php
'DELETE FROM chatroom_settings WHERE object_id = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilObjChatroom.php
'SELECT * FROM chatroom_users WHERE ' . $DIC->database( )->like('userdata', 'text', '%"login":"' . $username . '%') . ' AND room_id = ' . $DIC->database( )->quote($this->room->getRoomId( ), 'integer')1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomUser.php
' SELECT userdata FROM chatroom_users WHERE ' . $DIC->database( )->in('user_id', $usrIds, false, 'integer')1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomUser.php
'SELECT obj_id FROM object_data ' . 'WHERE type = ' . $ilDB->quote('typ', 'text') . ' ' . 'AND title = ' . $ilDB->quote('chtr', 'text')1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
"INSERT INTO rbac_ta (typ_id, ops_id) VALUES ( " . $ilDB->quote($typ_id, 'integer') . "," . $ilDB->quote($ops_id, 'integer') . ")"1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'DELETE FROM rbac_ta WHERE typ_id = %s AND ops_id = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'SELECT ops_id FROM rbac_operations WHERE operation = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'SELECT * FROM object_data WHERE type = ' . $ilDB->quote('chta', 'text')1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
" INSERT INTO object_reference (ref_id, obj_id) VALUES(" . $ilDB->quote($ref_id, 'integer') . ", " . $ilDB->quote($obj_id, 'integer') . ")"1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'SELECT object_data.obj_id, ref_id, lft, rgt FROM object_data INNER JOIN object_reference ON object_reference.obj_id = object_data.obj_id INNER JOIN tree ON child = ref_id WHERE type = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'SELECT * FROM tree INNER JOIN object_reference ON ref_id = child INNER JOIN object_data ON object_data.obj_id = object_reference.obj_id WHERE lft BETWEEN %s AND %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'DELETE FROM object_data WHERE obj_id = ' . $ilDB->quote($row['obj_id'], 'integer')1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'DELETE FROM object_reference WHERE ref_id = ' . $ilDB->quote($row['ref_id'], 'integer')1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'DELETE FROM tree WHERE child = ' . $ilDB->quote($row['ref_id'], 'integer')1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'SELECT obj_id FROM object_data WHERE type = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'UPDATE object_data SET type = %s WHERE type = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'DELETE FROM chatroom_settings WHERE room_type = ' . $ilDB->quote('default', 'text')1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'SELECT * FROM chatroom_settings WHERE room_type = ' . $ilDB->quote('default', 'text')1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
" SELECT object_data.obj_id, object_reference.ref_id FROM object_data INNER JOIN object_reference ON object_reference.obj_id = object_data.obj_id WHERE type = " . $ilDB->quote('chta', 'text')1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'SELECT obj_id FROM object_data LEFT JOIN chatroom_settings ON object_id = obj_id ' . 'WHERE type = %s AND room_id IS NULL'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
' SELECT object_data.obj_id, object_reference.ref_id FROM object_data INNER JOIN object_reference ON object_reference.obj_id = object_data.obj_id WHERE type = ' . $ilDB->quote('chta', 'text')1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php
'SELECT * FROM ' . self::$settingsTable1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomAdmin.php
"SELECT * FROM chatroom_admconfig WHERE instance_id = %s"1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomAdmin.php
'SELECT * FROM ' . self::$settingsTable . ' WHERE object_id = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT * FROM ' . self::$settingsTable . ' WHERE room_id = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT user_id FROM ' . self::$userTable . ' WHERE room_id = %s AND user_id = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT ' . ($only_data ? 'userdata' : '*') . ' FROM ' . self::$userTable . ' WHERE room_id = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT * FROM ' . self::$userTable . ' WHERE room_id = %s AND ' . $DIC->database( )->in('user_id', $userIds, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'DELETE FROM ' . self::$userTable . ' WHERE room_id = %s AND ' . $DIC->database( )->in('user_id', $userIds, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT COUNT(user_id) as cnt FROM ' . self::$userTable . ' WHERE room_id = %s AND user_id = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT historyTable.* ' . 'FROM ' . self::$historyTable . ' historyTable ' . $join . ' ' . 'WHERE historyTable.room_id = ' . $this->getRoomId( )1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'DELETE FROM ' . self::$banTable . ' WHERE room_id = %s AND ' . $DIC->database( )->in('user_id', $user_id, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT COUNT(user_id) cnt FROM ' . self::$banTable . ' WHERE user_id = %s AND room_id = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT chb.* FROM ' . self::$banTable . ' chb INNER JOIN usr_data ud ON chb.user_id = ud.usr_id WHERE chb.room_id = %s '1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT * FROM ' . self::$sessionTable . ' WHERE user_id = ' . $DIC->database( )->quote($user->getUserId( ), ilDBConstants::T_INTEGER) . ' ORDER BY connected DESC'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT * FROM ' . self::$sessionTable . ' WHERE room_id = ' . $DIC->database( )->quote($this->getRoomId( ), ilDBConstants::T_INTEGER) . ' ORDER BY connected DESC'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT COUNT(user_id) cnt FROM ' . self::$userTable . ' WHERE room_id = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
" SELECT room_id, od.title, objr.ref_id FROM object_data od INNER JOIN " . self::$settingsTable . " ON object_id = od.obj_id INNER JOIN object_reference objr ON objr.obj_id = od.obj_id AND objr.deleted IS NULL INNER JOIN tree ON tree.child = objr.ref_id AND tree.tree = %s WHERE od.type = %s "1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
" SELECT objr.ref_id FROM object_reference objr INNER JOIN chatroom_settings cs ON cs.object_id = objr.obj_id INNER JOIN object_data od ON od.obj_id = cs.object_id WHERE cs.room_id = %s "1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT * FROM ' . self::$historyTable . ' WHERE room_id = %s AND ( (JSON_VALUE(message, "$.type") = "message" AND (NOT JSON_CONTAINS_PATH(message, "one", "$.target.public") OR JSON_VALUE(message, "$.target.public") <> 0)) OR JSON_VALUE(message, "$.target.id") = %s OR JSON_VALUE(message, "$.from.id") = %s ) ORDER BY timestamp DESC'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT * FROM ' . self::$historyTable . ' WHERE room_id = %s AND JSON_VALUE(message, "$.type") = "notice" AND timestamp <= %s AND timestamp >= %s ORDER BY timestamp DESC'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'DELETE FROM ' . self::$historyTable . ' WHERE room_id = %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'DELETE FROM ' . self::$sessionTable . ' WHERE room_id = %s AND disconnected < %s'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroom.php
'SELECT * FROM chatroom_admconfig'1
  • /components/ILIAS/Chatroom/classes/class.ilChatroomServerSettings.php
'Update chatroom database and server config'1
  • /components/ILIAS/Chatroom/classes/Setup/class.ilChatroomSetupAgent.php
' UPDATE object_data INNER JOIN chatroom_settings ON object_data.obj_id = chatroom_settings.object_id SET object_data.offline = IF(chatroom_settings.online_status = 1, 0, 1) WHERE object_data.type = %s '1
  • /components/ILIAS/Chatroom/classes/Setup/UpdateSteps.php
'DELETE FROM chatroom_bans WHERE user_id NOT IN (SELECT usr_id FROM usr_data)'1
  • /components/ILIAS/Chatroom/classes/Setup/UpdateSteps.php
'UPDATE chatroom_history SET message = JSON_SET(message, "$.content", ' . $s . ') ' . 'WHERE JSON_VALID(message) = 1 AND JSON_VALUE(message, "$.type") = ' . $this->db->quote('message', ilDBConstants::T_TEXT)1
  • /components/ILIAS/Chatroom/classes/Setup/UpdateSteps.php
"SELECT * FROM exc_data WHERE obj_id = %s"1
  • /components/ILIAS/Exercise/Settings/SettingsDBRepository.php
"DELETE FROM exc_data WHERE obj_id = %s"1
  • /components/ILIAS/Exercise/Settings/SettingsDBRepository.php
"SELECT * FROM exc_idl " . " WHERE ass_id = " . $this->db->quote($this->ass_id, "integer") . " AND member_id = " . $this->db->quote($this->participant_id, "integer") . " AND is_team = " . $this->db->quote($this->is_team, "integer")1
  • /components/ILIAS/Exercise/IndividualDeadline/class.ilExcIndividualDeadline.php
"DELETE FROM exc_idl " . " WHERE ass_id = " . $this->db->quote($this->ass_id, "integer") . " AND member_id = " . $this->db->quote($this->participant_id, "integer") . " AND is_team = " . $this->db->quote($this->is_team, "integer")1
  • /components/ILIAS/Exercise/IndividualDeadline/class.ilExcIndividualDeadline.php
"DELETE FROM exc_idl " . " WHERE ass_id = " . $ilDB->quote($ass_id, "integer")1
  • /components/ILIAS/Exercise/IndividualDeadline/class.ilExcIndividualDeadline.php
"SELECT * FROM exc_idl" . " WHERE ass_id = " . $ilDB->quote($a_ass_id, "integer")1
  • /components/ILIAS/Exercise/IndividualDeadline/class.ilExcIndividualDeadline.php
"SELECT count(*) cnt" . " FROM exc_assignment_peer" . " WHERE ass_id = " . $ilDB->quote($this->assignment_id, "integer")1
  • /components/ILIAS/Exercise/PeerReview/class.ilExPeerReview.php
"SELECT id FROM exc_assignment_peer " . " WHERE ass_id = %s AND giver_id = %s AND peer_id = %s"1
  • /components/ILIAS/Exercise/PeerReview/class.ilExPeerReview.php
"INSERT INTO exc_assignment_peer" . " (id, ass_id, giver_id, peer_id)" . " VALUES (" . $ilDB->quote($next_id, "integer") . ", " . $ilDB->quote($this->assignment_id, "integer") . ", " . $ilDB->quote($rater_id, "integer") . ", " . $ilDB->quote($peer_id, "integer") . ")"1
  • /components/ILIAS/Exercise/PeerReview/class.ilExPeerReview.php
"DELETE FROM exc_assignment_peer" . " WHERE ass_id = " . $ilDB->quote($this->assignment_id, "integer")1
  • /components/ILIAS/Exercise/PeerReview/class.ilExPeerReview.php
"SELECT *" . " FROM exc_assignment_peer" . " WHERE giver_id = " . $ilDB->quote($a_user_id, "integer") . " AND ass_id = " . $ilDB->quote($this->assignment_id, "integer") . " ORDER BY peer_id"1
  • /components/ILIAS/Exercise/PeerReview/class.ilExPeerReview.php
"SELECT *" . " FROM exc_assignment_peer" . " WHERE peer_id = " . $ilDB->quote($a_user_id, "integer") . " AND ass_id = " . $ilDB->quote($this->assignment_id, "integer") . " ORDER BY peer_id"1
  • /components/ILIAS/Exercise/PeerReview/class.ilExPeerReview.php
"SELECT *" . " FROM exc_assignment_peer" . " WHERE ass_id = " . $ilDB->quote($this->assignment_id, "integer") . " ORDER BY peer_id"1
  • /components/ILIAS/Exercise/PeerReview/class.ilExPeerReview.php
"SELECT ass_id" . " FROM exc_assignment_peer" . " WHERE giver_id = " . $ilDB->quote($ilUser->getId( ), "integer") . " AND peer_id = " . $ilDB->quote($a_peer_id, "integer") . " AND ass_id = " . $ilDB->quote($this->assignment_id, "integer")1
  • /components/ILIAS/Exercise/PeerReview/class.ilExPeerReview.php
"UPDATE exc_assignment_peer" . " SET tstamp = " . $ilDB->quote(ilUtil::now( ), "timestamp") . " WHERE giver_id = " . $ilDB->quote($ilUser->getId( ), "integer") . " AND peer_id = " . $ilDB->quote($a_peer_id, "integer") . " AND ass_id = " . $ilDB->quote($this->assignment_id, "integer")1
  • /components/ILIAS/Exercise/PeerReview/class.ilExPeerReview.php
"UPDATE exc_assignment_peer" . " SET tstamp = " . $ilDB->quote(ilUtil::now( ), "timestamp") . ",pcomment = " . $ilDB->quote(serialize($a_values), "text") . ",is_valid = " . $ilDB->quote((int) $valid, "integer") . " WHERE giver_id = " . $ilDB->quote($ilUser->getId( ), "integer") . " AND peer_id = " . $ilDB->quote($a_peer_id, "integer") . " AND ass_id = " . $ilDB->quote($this->assignment_id, "integer")1
  • /components/ILIAS/Exercise/PeerReview/class.ilExPeerReview.php
"SELECT *" . " FROM exc_assignment_peer" . " WHERE ass_id = " . $ilDB->quote($this->assignment_id, "integer") . " AND giver_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Exercise/PeerReview/class.ilExPeerReview.php
"SELECT DISTINCT(giver_id) FROM exc_assignment_peer " . " WHERE ass_id = " . $ilDB->quote($a_ass_id, "integer") . " AND tstamp is NULL"1
  • /components/ILIAS/Exercise/PeerReview/class.ilExPeerReview.php
"SELECT *" . " FROM exc_crit_cat" . " WHERE parent = " . $ilDB->quote($a_parent_id, "integer") . " ORDER BY pos"1
  • /components/ILIAS/Exercise/PeerReview/Criteria/class.ilExcCriteriaCatalogue.php
"SELECT MAX(pos) pos" . " FROM exc_crit_cat" . " WHERE parent = " . $ilDB->quote($this->getParent( ), "integer")1
  • /components/ILIAS/Exercise/PeerReview/Criteria/class.ilExcCriteriaCatalogue.php
"SELECT *" . " FROM exc_crit_cat" . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Exercise/PeerReview/Criteria/class.ilExcCriteriaCatalogue.php
"DELETE FROM exc_crit_cat" . " WHERE id = " . $ilDB->quote($this->id, "integer")1
  • /components/ILIAS/Exercise/PeerReview/Criteria/class.ilExcCriteriaCatalogue.php
"SELECT ass_id FROM exc_crit_file WHERE rid = %s"1
  • /components/ILIAS/Exercise/PeerReview/Criteria/class.ilExcPeerReviewFileStakeholder.php
"SELECT obj_id FROM exc_assignment WHERE ass_id = %s"1
  • /components/ILIAS/Exercise/PeerReview/Criteria/class.ilExcPeerReviewFileStakeholder.php
"SELECT rid FROM exc_crit_file " . " WHERE ass_id = %s AND giver_id = %s AND peer_id = %s and criteria_id = %s"1
  • /components/ILIAS/Exercise/PeerReview/Criteria/CriteriaFileRepository.php
"DELETE FROM exc_crit_file WHERE " . " ass_id = %s AND giver_id = %s AND peer_id = %s and criteria_id = %s "1
  • /components/ILIAS/Exercise/PeerReview/Criteria/CriteriaFileRepository.php
"SELECT *" . " FROM exc_crit" . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Exercise/PeerReview/Criteria/class.ilExcCriteria.php
"SELECT *" . " FROM exc_crit" . " WHERE parent = " . $ilDB->quote($a_parent_id, "integer") . " ORDER BY pos"1
  • /components/ILIAS/Exercise/PeerReview/Criteria/class.ilExcCriteria.php
"SELECT MAX(pos) pos" . " FROM exc_crit" . " WHERE parent = " . $ilDB->quote($this->getParent( ), "integer")1
  • /components/ILIAS/Exercise/PeerReview/Criteria/class.ilExcCriteria.php
"DELETE FROM exc_crit" . " WHERE id = " . $ilDB->quote($this->id, "integer")1
  • /components/ILIAS/Exercise/PeerReview/Criteria/class.ilExcCriteria.php
"DELETE FROM exc_crit" . " WHERE parent = " . $ilDB->quote($a_parent_id, "integer")1
  • /components/ILIAS/Exercise/PeerReview/Criteria/class.ilExcCriteria.php
'SELECT ass.id FROM exc_assignment ass LEFT JOIN exc_idl idl ON (ass.id = idl.ass_id AND idl.member_id = %s) WHERE ' . $db->in("ass.exc_id", $exc_ids, false, "integer") . ' AND (( ass.deadline_mode = %s AND (ass.start_time IS NULL OR ass.start_time < %s ) AND (ass.time_stamp IS NULL OR ass.time_stamp > %s OR ass.deadline2 > %s OR idl.tstamp > %s)) ) OR ( ass.deadline_mode = %s AND (idl.starting_ts > 0) AND (idl.starting_ts + (ass.relative_deadline * 24 * 60 * 60) > %s) )'1
  • /components/ILIAS/Exercise/AssMemberState/classes/class.ilExcAssMemberStateRepository.php
'SELECT ass.id, COUNT(*) open_grading FROM exc_mem_ass_status st LEFT JOIN exc_assignment ass ON (st.ass_id = ass.id) WHERE ' . $db->in("ass.exc_id", $exc_ids, false, "integer") . ' AND st.status = %s AND st.returned = %s GROUP BY (ass.id)'1
  • /components/ILIAS/Exercise/AssMemberState/classes/class.ilExcAssMemberStateRepository.php
'SELECT ass.id, count(*) nr_given, ass.peer_dl, ass.peer_min, max(idl.tstamp) maxidl, max(peer.tstamp) maxpeer FROM exc_assignment ass LEFT JOIN exc_assignment_peer peer ON (ass.id = peer.ass_id) LEFT JOIN exc_idl idl ON (ass.id = idl.ass_id) WHERE ' . $db->in("ass.exc_id", $exc_ids, false, "integer") . ' AND ass.deadline_mode = %s AND ass.time_stamp < %s AND (ass.deadline2 < %s OR ass.deadline2 IS NULL) AND ass.peer = %s AND (peer.giver_id = %s) AND (ass.peer_dl > %s OR ass.peer_dl IS NULL) AND (peer.is_valid = %s) GROUP BY (ass.id) HAVING (ass.peer_min > nr_given) AND (maxidl < %s OR maxidl IS NULL) '1
  • /components/ILIAS/Exercise/AssMemberState/classes/class.ilExcAssMemberStateRepository.php
'SELECT ass.id, count(*) nr_given, ass.peer_dl, ass.peer_min, max(idl.tstamp) maxidl, max(peer.tstamp) maxpeer FROM exc_assignment ass LEFT JOIN exc_assignment_peer peer ON (ass.id = peer.ass_id) LEFT JOIN exc_idl idl ON (ass.id = idl.ass_id) WHERE ' . $db->in("ass.exc_id", $exc_ids, false, "integer") . ' AND ass.deadline_mode = %s AND ass.time_stamp < %s AND (ass.deadline2 < %s OR ass.deadline2 IS NULL) AND ass.peer = %s AND (peer.giver_id IS NULL) AND (ass.peer_dl > %s OR ass.peer_dl IS NULL) AND (peer.tstamp IS NULL) GROUP BY (ass.id) HAVING (maxpeer IS NULL) AND (maxidl < %s OR maxidl IS NULL) '1
  • /components/ILIAS/Exercise/AssMemberState/classes/class.ilExcAssMemberStateRepository.php
"SELECT exc_data.obj_id id, title, description," . " pass_mode, pass_nr, show_submissions" . " FROM exc_data JOIN object_data ON (exc_data.obj_id = object_data.obj_id)" . " WHERE " . $ilDB->in("exc_data.obj_id", $a_ids, false, "integer")1
  • /components/ILIAS/Exercise/classes/class.ilExerciseDataSet.php
"SELECT exc_data.obj_id id, title, description," . " pass_mode, pass_nr, show_submissions, compl_by_submission" . " FROM exc_data JOIN object_data ON (exc_data.obj_id = object_data.obj_id)" . " WHERE " . $ilDB->in("exc_data.obj_id", $a_ids, false, "integer")1
  • /components/ILIAS/Exercise/classes/class.ilExerciseDataSet.php
"SELECT exc_data.obj_id id, title, description," . " pass_mode, pass_nr, show_submissions, compl_by_submission, tfeedback,nr_mandatory_random" . " FROM exc_data JOIN object_data ON (exc_data.obj_id = object_data.obj_id)" . " WHERE " . $ilDB->in("exc_data.obj_id", $a_ids, false, "integer")1
  • /components/ILIAS/Exercise/classes/class.ilExerciseDataSet.php
"SELECT id, exc_id exercise_id, time_stamp deadline, " . " instruction, title, start_time, mandatory, order_nr" . " FROM exc_assignment" . " WHERE " . $ilDB->in("exc_id", $a_ids, false, "integer")1
  • /components/ILIAS/Exercise/classes/class.ilExerciseDataSet.php
"SELECT id, exc_id exercise_id, type, time_stamp deadline," . " instruction, title, start_time, mandatory, order_nr, peer, peer_min, peer_dl peer_deadline," . " fb_file feedback_file, fb_cron feedback_cron, fb_date feedback_date" . " FROM exc_assignment" . " WHERE " . $ilDB->in("exc_id", $a_ids, false, "integer")1
  • /components/ILIAS/Exercise/classes/class.ilExerciseDataSet.php
"SELECT id, exc_id exercise_id, type, time_stamp deadline," . " instruction, title, start_time, mandatory, order_nr, peer, peer_min, peer_dl peer_deadline," . " peer_file, peer_prsl peer_personal, fb_file feedback_file, fb_cron feedback_cron, fb_date feedback_date" . " FROM exc_assignment" . " WHERE " . $ilDB->in("exc_id", $a_ids, false, "integer")1
  • /components/ILIAS/Exercise/classes/class.ilExerciseDataSet.php
"SELECT id, exc_id exercise_id, type, time_stamp deadline, deadline2," . " instruction, title, start_time, mandatory, order_nr, team_tutor, max_file, peer, peer_min," . " peer_dl peer_deadline, peer_file, peer_prsl peer_personal, peer_char, peer_unlock, peer_valid," . " peer_text, peer_rating, peer_crit_cat, fb_file feedback_file, fb_cron feedback_cron, fb_date feedback_date," . " fb_date_custom, rel_deadline_last_subm, deadline_mode, relative_deadline" . " FROM exc_assignment" . " WHERE " . $ilDB->in("exc_id", $a_ids, false, "integer")1
  • /components/ILIAS/Exercise/classes/class.ilExerciseDataSet.php
"SELECT id, parent, title, pos" . " FROM exc_crit_cat" . " WHERE " . $ilDB->in("parent", $a_ids, false, "integer")1
  • /components/ILIAS/Exercise/classes/class.ilExerciseDataSet.php
"SELECT id, parent, type, title" . ", descr, pos, required, def" . " FROM exc_crit" . " WHERE " . $ilDB->in("parent", $a_ids, false, "integer")1
  • /components/ILIAS/Exercise/classes/class.ilExerciseDataSet.php
"SELECT id, assignment_id, filename, order_nr" . " FROM exc_ass_file_order" . " WHERE " . $ilDB->in("assignment_id", $a_ids, false, "integer")1
  • /components/ILIAS/Exercise/classes/class.ilExerciseDataSet.php
"SELECT type, ass_id, exc_id, status, start, end, freq, last_send, template_id" . " FROM exc_ass_reminders" . " WHERE " . $ilDB->in("ass_id", $a_ids, false, "integer")1
  • /components/ILIAS/Exercise/classes/class.ilExerciseDataSet.php
"DELETE FROM exc_data " . "WHERE obj_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Exercise/classes/class.ilObjExercise.php
"SELECT * FROM exc_data " . "WHERE obj_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Exercise/classes/class.ilObjExercise.php
"SELECT obj_id, status FROM exc_members" . " WHERE usr_id = " . $ilDB->quote($a_user_id, "integer") . " AND (status = " . $ilDB->quote("passed", "text") . " OR status = " . $ilDB->quote("failed", "text") . ")"1
  • /components/ILIAS/Exercise/classes/class.ilObjExercise.php
"UPDATE exc_data SET certificate_visibility = %s WHERE obj_id = %s"1
  • /components/ILIAS/Exercise/classes/class.ilObjExercise.php
"SELECT id, time_stamp, deadline2, peer_dl" . " FROM exc_assignment WHERE exc_id = " . $ilDB->quote($a_obj_id, "integer") . " AND (time_stamp > " . $ilDB->quote(time( ), "integer") . " OR (peer_dl > " . $ilDB->quote(time( ), "integer") . " AND peer > " . $ilDB->quote(0, "integer") . "))"1
  • /components/ILIAS/Exercise/classes/class.ilObjExerciseAccess.php
"SELECT obj_id" . " FROM exc_members" . " WHERE " . $ilDB->in("obj_id", $a_obj_ids, "", "integer") . " AND usr_id = " . $ilDB->quote($a_usr_id, "integer")1
  • /components/ILIAS/Exercise/classes/class.ilExerciseLP.php
"SELECT * FROM exc_assignment_peer "1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseDBUpdateSteps.php
"SELECT DISTINCT il_exc_team.id FROM il_exc_team LEFT JOIN exc_team_data ON il_exc_team.id = exc_team_data.id WHERE exc_team_data.id IS NULL"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseDBUpdateSteps.php
"UPDATE exc_returned SET rid = NULL WHERE rid = " . $this->db->quote("", "text")1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseDBUpdateSteps.php
"SELECT ass.id, ass.exc_id, ob.owner, te.id team_id FROM exc_assignment ass JOIN object_data ob ON ass.exc_id = ob.obj_id JOIN il_exc_team te ON te.ass_id = ass.id JOIN exc_team_data td ON te.id = td.id WHERE td.feedback_rcid IS NULL OR td.feedback_rcid = '' LIMIT 1;"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseTutorTeamFeedbackFileMigration.php
"SELECT count(*) AS amount FROM exc_assignment ass JOIN object_data ob ON ass.exc_id = ob.obj_id JOIN il_exc_team te ON te.ass_id = ass.id JOIN exc_team_data td ON te.id = td.id WHERE td.feedback_rcid IS NULL OR td.feedback_rcid = ''"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseTutorTeamFeedbackFileMigration.php
"SELECT ass.id, ass.exc_id, ob.owner, st.usr_id FROM exc_assignment ass JOIN object_data ob ON ass.exc_id = ob.obj_id JOIN exc_mem_ass_status st ON st.ass_id = ass.id WHERE st.feedback_rcid IS NULL OR st.feedback_rcid = '' LIMIT 1;"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseTutorFeedbackFileMigration.php
"SELECT count(*) AS amount FROM exc_assignment ass JOIN object_data ob ON ass.exc_id = ob.obj_id JOIN exc_mem_ass_status st ON st.ass_id = ass.id WHERE st.feedback_rcid IS NULL OR st.feedback_rcid = ''"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseTutorFeedbackFileMigration.php
"SELECT pe.ass_id, pe.giver_id, pe.ass_id, pe.peer_id, od.owner, od.obj_id FROM exc_assignment_peer pe JOIN exc_assignment ass ON pe.ass_id = ass.id JOIN object_data od ON ass.exc_id = od.obj_id WHERE pe.migrated = 0 LIMIT 1;"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExercisePeerFeedbackMigration.php
"SELECT count(pe.id) as amount FROM exc_assignment_peer pe JOIN exc_assignment ass ON pe.ass_id = ass.id JOIN object_data od ON ass.exc_id = od.obj_id WHERE pe.migrated = 0"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExercisePeerFeedbackMigration.php
"SELECT er.returned_id, er.obj_id, er.ass_id, od.owner, er.user_id, er.team_id FROM exc_returned er JOIN object_data od ON er.obj_id = od.obj_id WHERE er.rid IS NULL LIMIT 1;"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseSubmissionMigration.php
"SELECT count(er.returned_id) as amount FROM exc_returned er JOIN object_data od ON er.obj_id = od.obj_id WHERE er.rid IS NULL;"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseSubmissionMigration.php
"SELECT id, exc_id, owner FROM exc_assignment JOIN object_data ON exc_id = obj_id WHERE if_rcid IS NULL OR if_rcid = '' LIMIT 1;"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseInstructionFilesMigration.php
"SELECT count(id) AS amount FROM exc_assignment JOIN object_data ON exc_id = obj_id WHERE if_rcid IS NULL OR if_rcid = ''"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseInstructionFilesMigration.php
"SELECT id, exc_id, owner FROM exc_assignment JOIN object_data ON exc_id = obj_id WHERE solution_rid IS NULL LIMIT 1;"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseSampleSolutionMigration.php
"SELECT count(id) AS amount FROM exc_assignment JOIN object_data ON exc_id = obj_id WHERE solution_rid IS NULL"1
  • /components/ILIAS/Exercise/classes/Setup/class.ilExerciseSampleSolutionMigration.php
"Delete dir: " . dirname($path)1
  • /components/ILIAS/Exercise/classes/BackgroundTasks/class.ilExDownloadSubmissionsZipInteraction.php
"SELECT usr_id" . " FROM exc_mem_ass_status" . " WHERE ass_id = " . $ilDB->quote($this->assignment->getId( ), "integer")1
  • /components/ILIAS/Exercise/classes/BackgroundTasks/class.ilExerciseManagementCollectFilesJob.php
"SELECT zip_rid FROM exc_multi_feedback " . " WHERE ass_id = %s AND tutor_id = %s "1
  • /components/ILIAS/Exercise/TutorFeedbackFile/TutorFeedbackZipRepository.php
"SELECT id FROM exc_team_data " . " WHERE feedback_rcid = %s"1
  • /components/ILIAS/Exercise/TutorFeedbackFile/TutorFeedbackFileTeamRepository.php
"SELECT exc_id FROM exc_assignment ass, exc_multi_feedback mf ON (ass.id = mf.ass_id) WHERE mf.zip_rid = %s;"1
  • /components/ILIAS/Exercise/TutorFeedbackFile/class.ilExcTutorFeedbackZipStakeholder.php
"SELECT te.usr_id FROM il_resource_rca JOIN exc_team_data ON exc_team_data.feedback_rcid = il_resource_rca.rcid JOIN il_exc_team te ON te.id = exc_team_data.id WHERE il_resource_rca.rid = %s AND te.usr_id = %s;"1
  • /components/ILIAS/Exercise/TutorFeedbackFile/class.ilExcTutorTeamFeedbackFileStakeholder.php
"SELECT exc_id, rcid FROM il_resource_rca JOIN exc_team_data ON exc_team_data.feedback_rcid = il_resource_rca.rcid JOIN il_exc_team te ON te.id = exc_team_data.id JOIN exc_assignment ON (exc_assignment.id = exc_team_data.ass_id) WHERE il_resource_rca.rid = %s;"1
  • /components/ILIAS/Exercise/TutorFeedbackFile/class.ilExcTutorTeamFeedbackFileStakeholder.php
"SELECT feedback_rcid FROM exc_mem_ass_status " . " WHERE ass_id = %s AND usr_id = %s"1
  • /components/ILIAS/Exercise/TutorFeedbackFile/TutorFeedbackFileRepository.php
"SELECT usr_id FROM exc_mem_ass_status " . " WHERE ass_id = %s AND feedback_rcid = %s"1
  • /components/ILIAS/Exercise/TutorFeedbackFile/TutorFeedbackFileRepository.php
"Update observer called."1
  • /components/ILIAS/Exercise/TutorFeedbackFile/TutorFeedbackFileObserver.php
"SELECT exc_mem_ass_status.usr_id FROM il_resource_rca JOIN exc_mem_ass_status ON exc_mem_ass_status.feedback_rcid = il_resource_rca.rcid WHERE il_resource_rca.rid = %s;"1
  • /components/ILIAS/Exercise/TutorFeedbackFile/class.ilExcTutorFeedbackFileStakeholder.php
"SELECT exc_id, rcid FROM il_resource_rca JOIN exc_mem_ass_status ON exc_mem_ass_status.feedback_rcid = il_resource_rca.rcid JOIN exc_assignment ON (exc_assignment.id = exc_mem_ass_status.ass_id) WHERE il_resource_rca.rid = %s;"1
  • /components/ILIAS/Exercise/TutorFeedbackFile/class.ilExcTutorFeedbackFileStakeholder.php
"SELECT * FROM exc_assignment " . " WHERE exc_id = " . $this->db->quote($exc_id, "integer") . " ORDER BY order_nr"1
  • /components/ILIAS/Exercise/Assignment/AssignmentsDBRepository.php
"SELECT * FROM exc_assignment " . " WHERE exc_id = %s AND id = %s"1
  • /components/ILIAS/Exercise/Assignment/AssignmentsDBRepository.php
"SELECT status, start, freq, end, last_send, template_id" . " FROM exc_ass_reminders" . " WHERE type = %s AND ass_id = %s AND exc_id = %s"1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignmentReminder.php
"SELECT last_send_day, ass_id, exc_id, status, start, freq, end, type, last_send, template_id" . " FROM exc_ass_reminders" . " WHERE status = 1" . " AND start <= " . $now . " AND end > " . ($now - 86400) . $and_type1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignmentReminder.php
"UPDATE exc_ass_reminders" . " SET last_send = " . $this->db->quote(time( ), 'integer') . " , last_send_day = " . $this->db->quote($today, 'date') . " WHERE type = " . $this->db->quote($reminder["reminder_type"], 'text') . " AND ass_id = " . $this->db->quote($reminder["ass_id"], 'integer') . " AND exc_id = " . $this->db->quote($reminder["exc_id"], 'integer')1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignmentReminder.php
"DELETE FROM exc_ass_reminders" . " WHERE ass_id = " . $a_ass_id1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignmentReminder.php
" SELECT id, order_nr FROM exc_ass_file_order WHERE assignment_id = {$db->quote($a_ass_id, 'integer')} AND filename = {$db->quote($a_file_data['entry'], 'text')} "1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT tstamp FROM exc_idl" . " WHERE ass_id = " . $ilDB->quote($this->getId( ), "integer") . " AND member_id = " . $ilDB->quote($a_user_id, "integer") . " AND is_team = " . $ilDB->quote($is_team, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT MAX(tstamp) FROM exc_idl" . " WHERE ass_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT * FROM exc_assignment " . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"DELETE FROM exc_usr_tutor " . "WHERE ass_id = %s"1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"DELETE FROM exc_ass_file_order" . " WHERE assignment_id = " . $ilDB->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"DELETE FROM exc_mem_ass_status" . " WHERE ass_id = " . $ilDB->quote($this->getId( ), 'integer')1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"DELETE FROM exc_assignment WHERE " . " id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT filename, order_nr, id FROM exc_ass_file_order " . " WHERE assignment_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT MAX(order_nr) mnr FROM exc_assignment " . " WHERE exc_id = " . $ilDB->quote($a_exc_id, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT id FROM exc_assignment " . "WHERE start_time <= " . $ilDB->quote(time( ), 'integer') . ' ' . "AND time_stamp >= " . $ilDB->quote(time( ), 'integer') . ' ' . "AND id = " . $ilDB->quote($a_ass_id, 'integer')1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT exc_id FROM exc_assignment " . "WHERE id = " . $ilDB->quote($a_ass_id, 'integer')1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT " . $a_field . " FROM exc_assignment " . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"UPDATE exc_assignment SET " . " order_nr = " . $ilDB->quote($nr, "integer") . " WHERE id = " . $ilDB->quote((int) $k, "integer") . " AND exc_id = " . $ilDB->quote($a_ex_id, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT id FROM exc_assignment " . " WHERE exc_id = " . $ilDB->quote($a_ex_id, "integer") . " ORDER BY time_stamp"1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"UPDATE exc_assignment SET " . " order_nr = " . $ilDB->quote($nr, "integer") . " WHERE id = " . $ilDB->quote($rec["id"], "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT count(*) cntm FROM exc_assignment " . " WHERE exc_id = " . $ilDB->quote($a_ex_id, "integer") . " AND mandatory = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT count(*) cntm FROM exc_assignment " . " WHERE exc_id = " . $ilDB->quote($a_ex_id, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT * FROM exc_assignment " . " WHERE exc_id = " . $ilDB->quote($a_ex_id, "integer") . " AND id = " . $ilDB->quote($a_ass_id, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT ud.usr_id, ud.lastname, ud.firstname, ud.login" . " FROM exc_members excm" . " JOIN usr_data ud ON (ud.usr_id = excm.usr_id)" . " WHERE excm.obj_id = " . $ilDB->quote($this->getExerciseId( ), "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT * FROM exc_mem_ass_status " . "WHERE ass_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT * FROM exc_mem_ass_status " . "WHERE ass_id = " . $ilDB->quote($this->getId( ), "integer") . " AND usr_id = " . $ilDB->quote($a_user_id, "integer") . $and_grade1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT id,fb_file,time_stamp,deadline2,fb_date FROM exc_assignment" . " WHERE fb_cron = " . $ilDB->quote(1, "integer") . " AND (fb_date = " . $ilDB->quote(self::FEEDBACK_DATE_DEADLINE, "integer") . " AND time_stamp IS NOT NULL" . " AND time_stamp > " . $ilDB->quote(0, "integer") . " AND time_stamp < " . $ilDB->quote(time( ), "integer") . " AND fb_cron_done = " . $ilDB->quote(0, "integer") . ") OR (fb_date = " . $ilDB->quote(self::FEEDBACK_DATE_CUSTOM, "integer") . " AND fb_date_custom IS NOT NULL" . " AND fb_date_custom > " . $ilDB->quote(0, "integer") . " AND fb_date_custom < " . $ilDB->quote(time( ), "integer") . " AND fb_cron_done = " . $ilDB->quote(0, "integer") . ")"1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT fb_cron_done" . " FROM exc_assignment" . " WHERE id = " . $ilDB->quote($a_ass_id, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"UPDATE exc_assignment" . " SET fb_cron_done = " . $ilDB->quote(1, "integer") . " WHERE id = " . $ilDB->quote($a_ass_id, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT * FROM exc_idl" . " WHERE ass_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT * FROM exc_idl" . " WHERE ass_id = " . $ilDB->quote($this->getId( ), "integer") . " AND requested = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"UPDATE exc_ass_file_order SET " . " order_nr = " . $db->quote($nr, "integer") . " WHERE id = " . $db->quote((int) $k, "integer") . " AND assignment_id = " . $db->quote($a_ass_id, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"INSERT INTO exc_ass_file_order " . "(id, assignment_id, filename, order_nr) VALUES (" . $db->quote($id, "integer") . "," . $db->quote($a_ass_id, "integer") . "," . $db->quote($filename, "text") . "," . $db->quote($order, "integer") . ")"1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"DELETE FROM exc_ass_file_order " . "WHERE filename = " . $db->quote($v, 'text') . " AND assignment_id = " . $db->quote($a_ass_id, 'integer')1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"DELETE FROM exc_ass_file_order" . " WHERE assignment_id = " . $db->quote($a_ass_id, 'integer') . " AND filename = " . $db->quote($a_new_name, 'text')1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"UPDATE exc_ass_file_order SET" . " filename = " . $db->quote($a_new_name, 'text') . " WHERE assignment_id = " . $db->quote($a_ass_id, 'integer') . " AND filename = " . $db->quote($a_old_name, 'text')1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT id FROM exc_ass_file_order" . " WHERE assignment_id = " . $db->quote($a_ass_id, 'integer') . " AND filename = " . $db->quote($a_filename, 'text')1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT * FROM exc_ass_file_order " . " WHERE assignment_id = " . $db->quote($this->getId( ), "integer") . " ORDER BY order_nr"1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"UPDATE exc_ass_file_order SET " . " order_nr = " . $db->quote($order_nr, "integer") . " WHERE assignment_id = " . $db->quote($this->getId( ), "integer") . " AND id = " . $db->quote($rec["id"], "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"DELETE FROM exc_ass_file_order " . " WHERE assignment_id = " . $db->quote($this->getId( ), "integer") . " AND id = " . $db->quote($rec["id"], "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT max(order_nr) as max_order FROM exc_ass_file_order WHERE assignment_id = %s"1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php
"SELECT * FROM exc_mem_ass_status" . " WHERE ass_id = " . $ilDB->quote($this->ass_id, "integer") . " AND usr_id = " . $ilDB->quote($this->user_id, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignmentMemberStatus.php
"SELECT fb_cron, fb_date, fb_file" . " FROM exc_assignment" . " WHERE id = " . $ilDB->quote($this->ass_id, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignmentMemberStatus.php
"SELECT count(*) AS cnt" . " FROM exc_mem_ass_status" . " WHERE NOT sent_time IS NULL" . " AND ass_id = " . $ilDB->quote($a_ass_id, "integer")1
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignmentMemberStatus.php
"SELECT * FROM exc_mandatory_random " . " WHERE usr_id = %s " . " AND exc_id = %s "1
  • /components/ILIAS/Exercise/Assignment/Mandatory/class.RandomAssignmentsDBRepository.php
"DELETE FROM exc_mandatory_random WHERE " . " exc_id = %s" . " AND usr_id = %s"1
  • /components/ILIAS/Exercise/Assignment/Mandatory/class.RandomAssignmentsDBRepository.php
"SELECT DISTINCT obj_id FROM exc_returned " . " WHERE user_id = %s "1
  • /components/ILIAS/Exercise/User/UserEvent.php
"SELECT if_rcid FROM exc_assignment " . " WHERE id = %s "1
  • /components/ILIAS/Exercise/InstructionFile/InstructionFileRepository.php
"SELECT exc_id, rcid FROM il_resource_rca JOIN exc_assignment ON exc_assignment.if_rcid = il_resource_rca.rcid WHERE il_resource_rca.rid = %s;"1
  • /components/ILIAS/Exercise/InstructionFile/class.ilExcInstructionFilesStakeholder.php
"SELECT * FROM il_exc_team_log" . " WHERE team_id = " . $ilDB->quote($this->id, "integer") . " ORDER BY tstamp DESC"1
  • /components/ILIAS/Exercise/Team/class.ilExAssignmentTeam.php
"SELECT DISTINCT l.team_id as id FROM il_exc_team_log as l LEFT JOIN il_exc_team as t ON (l.team_id = t.id) WHERE t.id IS NULL;"1
  • /components/ILIAS/Exercise/Team/class.ilExAssignmentTeam.php
"DELETE FROM il_exc_team_log" . " WHERE " . $ilDB->in("team_id", $obsolete_teams, false, "integer")1
  • /components/ILIAS/Exercise/Team/class.ilExAssignmentTeam.php
"DELETE FROM il_exc_team WHERE " . " id = %s AND ass_id = %s AND user_id = %s"1
  • /components/ILIAS/Exercise/Team/TeamDBRepository.php
"SELECT * FROM il_exc_team " . " WHERE id = %s "1
  • /components/ILIAS/Exercise/Team/TeamDBRepository.php
"SELECT user_id FROM il_exc_team " . " WHERE id = %s "1
  • /components/ILIAS/Exercise/Team/TeamDBRepository.php
"SELECT DISTINCT user_id FROM il_exc_team " . " WHERE ass_id = %s "1
  • /components/ILIAS/Exercise/Team/TeamDBRepository.php
"SELECT * FROM il_exc_team " . " WHERE ass_id = %s "1
  • /components/ILIAS/Exercise/Team/TeamDBRepository.php
"SELECT ass_id FROM il_exc_team " . " WHERE id = %s "1
  • /components/ILIAS/Exercise/Team/TeamDBRepository.php
"SELECT DISTINCT(id) FROM il_exc_team " . " WHERE ass_id = %s "1
  • /components/ILIAS/Exercise/Team/TeamDBRepository.php
"DELETE FROM il_exc_team WHERE " . " id = %s "1
  • /components/ILIAS/Exercise/Team/TeamDBRepository.php
"DELETE FROM exc_team_data WHERE " . " id = %s "1
  • /components/ILIAS/Exercise/Team/TeamDBRepository.php
"DELETE FROM il_exc_team_log WHERE " . " team_id = %s "1
  • /components/ILIAS/Exercise/Team/TeamDBRepository.php
"SELECT DISTINCT obj_id FROM exc_members " . " WHERE usr_id = %s "1
  • /components/ILIAS/Exercise/Members/classes/class.ilExcMemberRepository.php
"INSERT INTO exc_members (obj_id, usr_id, status, sent, feedback) " . " VALUES (%s,%s,%s,%s,%s)"1
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php
"INSERT INTO exc_members " . " (obj_id, usr_id, notice, returned, status, feedback, sent) VALUES " . " (%s,%s,%s,%s,%s,%s,%s)"1
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php
"DELETE FROM exc_members WHERE obj_id = " . $ilDB->quote($this->getObjId( ), "integer")1
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php
"SELECT DISTINCT(excm.usr_id) ud" . " FROM exc_members excm" . " JOIN object_data od ON (od.obj_id = excm.usr_id)" . " WHERE excm.obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND od.type = " . $ilDB->quote("usr", "text")1
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php
"SELECT status FROM exc_members " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND usr_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php
"UPDATE exc_members SET " . " status = " . $ilDB->quote($a_status, "text") . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND usr_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php
"UPDATE exc_members SET " . " returned = " . $ilDB->quote($a_status, "integer") . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND usr_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php
"SELECT DISTINCT(usr_id) as ud FROM exc_members " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " " . "AND returned = 1"1
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php
"SELECT DISTINCT(usr_id) FROM exc_members WHERE " . " obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . " returned = " . $ilDB->quote(1, "integer") . " AND " . " usr_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php
"SELECT DISTINCT(usr_id) FROM exc_members " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " " . "AND status = " . $ilDB->quote("passed", "text")1
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php
"SELECT DISTINCT(usr_id) FROM exc_members " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " " . "AND status = " . $ilDB->quote("failed", "text")1
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php
"SELECT * FROM exc_returned " . " WHERE ass_id = %s "1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"SELECT * FROM exc_returned" . " WHERE ass_id = " . $this->db->quote($ass_id, "integer")1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"SELECT * FROM exc_returned" . " WHERE returned_id = " . $this->db->quote($id, "integer")1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"SELECT user_id FROM exc_returned " . " WHERE returned_id = " . $this->db->quote($submission_id, "integer")1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"SELECT returned_id FROM exc_returned " . " WHERE ass_id = %s AND user_id = %s"1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"SELECT * FROM exc_returned " . " WHERE ass_id = " . $this->db->quote($assignment_id, "integer") . " AND (filename IS NOT NULL OR atext IS NOT NULL)" . " AND ts IS NOT NULL"1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"UPDATE exc_returned " . " SET web_dir_access_time = " . $this->db->quote(\ilUtil::now( ), "timestamp") . " WHERE ass_id = " . $this->db->quote($assignment_id, "integer") . " AND user_id = " . $this->db->quote($member_id, "integer")1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"SELECT ass_id FROM exc_returned " . " WHERE " . $db->in("ass_id", $assignment_ids, false, "integer") . " AND user_id = %s " . " AND (filename IS NOT NULL OR atext IS NOT NULL)" . " AND ts IS NOT NULL"1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"SELECT ret.ass_id FROM exc_returned ret JOIN il_exc_team team " . " ON (ret.team_id = team.id AND ret.ass_id = team.ass_id) " . " WHERE " . $db->in("ret.ass_id", $assignment_ids, false, "integer") . " AND team.user_id = %s " . " AND (ret.filename IS NOT NULL OR ret.atext IS NOT NULL)" . " AND ret.ts IS NOT NULL"1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"UPDATE exc_returned" . " SET late = " . $this->db->quote((int) $late, "integer") . " WHERE returned_id = " . $this->db->quote($return_id, "integer")1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"SELECT MAX(max_num) AS max" . " FROM (SELECT COUNT(user_id) AS max_num FROM exc_returned" . " WHERE obj_id= %s AND ass_id= %s " . $and . " AND mimetype IS NOT NULL" . " GROUP BY user_id) AS COUNTS"1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"SELECT DISTINCT(user_id)" . " FROM exc_returned" . " WHERE ass_id = " . $db->quote($ass_id, "integer") . " AND (filename IS NOT NULL OR atext IS NOT NULL)"1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"SELECT rid FROM exc_returned " . " WHERE returned_id = %s "1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"DELETE FROM exc_returned WHERE " . " returned_id = %s"1
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php
"SELECT exc_returned.returned_id AS id " . "FROM exc_usr_tutor, exc_returned " . "WHERE exc_returned.ass_id = exc_usr_tutor.ass_id " . " AND exc_returned.user_id = exc_usr_tutor.usr_id " . " AND exc_returned.ass_id = " . $ilDB->quote($this->getAssignment( )->getId( ), "integer") . $where . " AND exc_usr_tutor.tutor_id = " . $ilDB->quote($tutor, "integer") . " AND exc_usr_tutor.download_time < exc_returned.ts "1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"SELECT obj_id" . " FROM exc_returned" . " WHERE returned_id = " . $ilDB->quote($a_returned_id, "integer")1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"SELECT obj_id, ass_id" . " FROM exc_returned" . " WHERE user_id = " . $ilDB->quote($a_user_id, "integer") . " AND filetitle = " . $ilDB->quote($a_filetitle, "text")1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"DELETE FROM exc_usr_tutor " . "WHERE ass_id = %s AND usr_id = %s"1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"SELECT download_time FROM exc_usr_tutor WHERE " . " ass_id = " . $ilDB->quote($this->getAssignment( )->getId( ), "integer") . " AND " . $ilDB->in("usr_id", $a_user_ids, "", "integer") . " AND " . " tutor_id = " . $ilDB->quote($ilUser->getId( ), "integer") . " ORDER BY download_time DESC"1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"DELETE FROM exc_usr_tutor " . "WHERE ass_id = %s AND usr_id = %s AND tutor_id = %s"1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"INSERT INTO exc_usr_tutor (ass_id, obj_id, usr_id, tutor_id, download_time) VALUES " . "(%s, %s, %s, %s, %s)"1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"SELECT obj_id,user_id,ts FROM exc_returned" . " WHERE ass_id = " . $ilDB->quote($this->assignment->getId( ), "integer") . " AND " . $this->getTableUserWhere( ) . " AND (filename IS NOT NULL OR atext IS NOT NULL)" . " AND ts IS NOT NULL" . " ORDER BY ts DESC"1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"SELECT web_dir_access_time FROM exc_returned" . " WHERE ass_id = " . $this->db->quote($this->assignment->getId( ), "integer") . " AND (filename IS NOT NULL OR atext IS NOT NULL)" . " AND web_dir_access_time IS NOT NULL" . " AND " . $this->getTableUserWhere( ) . " ORDER BY web_dir_access_time DESC"1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"INSERT INTO exc_returned " . "(returned_id, obj_id, user_id, filetitle, ass_id, ts, atext, late, team_id) " . "VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"UPDATE exc_returned" . " SET atext = " . $ilDB->quote($a_text, "text") . ", ts = " . $ilDB->quote(ilUtil::now( ), "timestamp") . ", late = " . $ilDB->quote($this->isLate( ), "integer") . " WHERE returned_id = " . $ilDB->quote($id, "integer")1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"SELECT * FROM exc_returned r LEFT JOIN exc_assignment a" . " ON (r.ass_id = a.id) " . " WHERE r.filetitle = " . $db->quote($a_filename, "string")1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"SELECT user_id FROM exc_returned WHERE ass_id = " . $ilDB->quote($a_ass_id, "integer") . " AND obj_id = " . $ilDB->quote($a_exercise_id, "integer")1
  • /components/ILIAS/Exercise/Submission/class.ilExSubmission.php
"SELECT obj_id FROM exc_returned WHERE exc_returned.solution_rid = %s;"1
  • /components/ILIAS/Exercise/Submission/class.ilExcSubmissionStakeholder.php
"SELECT solution_rid FROM exc_assignment " . " WHERE id = %s "1
  • /components/ILIAS/Exercise/SampleSolution/SampleSolutionRepository.php
"SELECT exc_id FROM exc_assignment WHERE exc_assignment.solution_rid = %s;"1
  • /components/ILIAS/Exercise/SampleSolution/class.ilExcSampleSolutionStakeholder.php
"SELECT value FROM table_properties " . " WHERE table_id = " . $ilDB->quote($a_table_id, "text") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND property = " . $ilDB->quote($a_property, "text")1
  • /components/ILIAS/Table/classes/class.ilTablePropertiesStorageGUI.php
"SELECT * FROM tax_node WHERE obj_id = " . $ilDB->quote($this->id, "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxonomyNode.php
"INSERT INTO tax_node (obj_id, title, type, create_date, order_nr, tax_id) " . "VALUES (" . $ilDB->quote($id, "integer") . "," . $ilDB->quote($this->getTitle( ), "text") . "," . $ilDB->quote($this->getType( ), "text") . ", " . $ilDB->now( ) . ", " . $ilDB->quote((int) $this->getOrderNr( ), "integer") . ", " . $ilDB->quote((int) $this->getTaxonomyId( ), "integer") . ")"1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxonomyNode.php
"UPDATE tax_node SET " . " title = " . $ilDB->quote($this->getTitle( ), "text") . " ,order_nr = " . $ilDB->quote((int) $this->getOrderNr( ), "integer") . " WHERE obj_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxonomyNode.php
"DELETE FROM tax_node WHERE obj_id= " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxonomyNode.php
"SELECT $a_field FROM tax_node WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxonomyNode.php
"UPDATE tax_node SET " . " order_nr = " . $ilDB->quote($a_order_nr, "integer") . " WHERE obj_id = " . $ilDB->quote($a_node_id, "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxonomyNode.php
"UPDATE tax_node SET " . " title = " . $ilDB->quote($a_title, "text") . " WHERE obj_id = " . $ilDB->quote($a_node_id, "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxonomyNode.php
"INSERT INTO tax_data " . "(id, sorting_mode, item_sorting) VALUES (" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($this->getSortingMode( ), "integer") . "," . $ilDB->quote((int) $this->getItemSorting( ), "integer") . ")"1
  • /components/ILIAS/Taxonomy/classes/class.ilObjTaxonomy.php
"DELETE FROM tax_data WHERE " . " id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilObjTaxonomy.php
"SELECT * FROM tax_data " . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilObjTaxonomy.php
"UPDATE tax_data SET " . " sorting_mode = " . $ilDB->quote($this->getSortingMode( ), "integer") . ", " . " item_sorting = " . $ilDB->quote((int) $this->getItemSorting( ), "integer") . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilObjTaxonomy.php
"DELETE FROM tax_usage WHERE " . " tax_id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilObjTaxonomy.php
"SELECT " . $a_field . " FROM tax_data " . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilObjTaxonomy.php
"SELECT oref.ref_id, od.obj_id, od.type obj_type, od.title obj_title," . " tu.tax_id, od2.title tax_title, cs.value tax_status" . " FROM object_data od" . " JOIN object_reference oref ON (od.obj_id = oref.obj_id)" . " JOIN tax_usage tu ON (tu.obj_id = od.obj_id)" . " JOIN object_data od2 ON (od2.obj_id = tu.tax_id)" . " LEFT JOIN container_settings cs ON (cs.id = od.obj_id AND keyword = " . $ilDB->quote(ilObjectServiceSettingsGUI::TAXONOMIES, "text") . ")" . " WHERE od.type = " . $ilDB->quote("cat", "text") . " AND tu.tax_id > " . $ilDB->quote(0, "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilObjTaxonomyAdministration.php
"SELECT id, title, description, " . " sorting_mode" . " FROM tax_data JOIN object_data ON (tax_data.id = object_data.obj_id) " . "WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxonomyDataSet.php
"SELECT tax_id, obj_id " . " FROM tax_usage " . "WHERE " . $ilDB->in("tax_id", $a_ids, false, "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxonomyDataSet.php
"SELECT tax_id, child " . " ,parent,depth,type,title,order_nr " . " FROM tax_tree JOIN tax_node ON (child = obj_id) " . " WHERE " . $ilDB->in("tax_id", $a_ids, false, "integer") . " ORDER BY depth"1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxonomyDataSet.php
"SELECT node_id, component, item_type, item_id " . " FROM tax_node_assignment " . "WHERE " . $ilDB->in("node_id", $a_ids, false, "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxonomyDataSet.php
"SELECT * FROM tax_node_assignment " . " WHERE " . $ilDB->in("node_id", $a_node_id, false, "integer") . " AND tax_id = " . $ilDB->quote($this->getTaxonomyId( ), "integer") . " AND component = " . $ilDB->quote($this->getComponentId( ), "text") . " AND obj_id = " . $ilDB->quote($this->getObjectId( ), "integer") . " AND item_type = " . $ilDB->quote($this->getItemType( ), "text") . " ORDER BY order_nr ASC"1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"SELECT * FROM tax_node_assignment " . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer") . " AND tax_id = " . $ilDB->quote($this->getTaxonomyId( ), "integer") . " AND component = " . $ilDB->quote($this->getComponentId( ), "text") . " AND obj_id = " . $ilDB->quote($this->getObjectId( ), "integer") . " AND item_type = " . $ilDB->quote($this->getItemType( ), "text") . " ORDER BY order_nr ASC"1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"SELECT * FROM tax_node_assignment" . " WHERE component = " . $ilDB->quote($this->getComponentId( ), "text") . " AND item_type = " . $ilDB->quote($this->getItemType( ), "text") . " AND item_id = " . $ilDB->quote($a_item_id, "integer") . " AND obj_id = " . $ilDB->quote($this->getObjectId( ), "integer") . " AND tax_id = " . $ilDB->quote($this->getTaxonomyId( ), "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"SELECT item_id FROM tax_node_assignment " . " WHERE component = " . $ilDB->quote($this->getComponentId( ), "text") . " AND item_type = " . $ilDB->quote($this->getItemType( ), "text") . " AND obj_id = " . $ilDB->quote($this->getObjectId( ), "integer") . " AND node_id = " . $ilDB->quote($a_node_id, "integer") . " AND tax_id = " . $ilDB->quote($this->getTaxonomyId( ), "integer") . " AND item_id = " . $ilDB->quote($a_item_id, "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"DELETE FROM tax_node_assignment WHERE " . " component = " . $ilDB->quote($this->getComponentId( ), "text") . " AND item_type = " . $ilDB->quote($this->getItemType( ), "text") . " AND obj_id = " . $ilDB->quote($this->getObjectId( ), "integer") . " AND item_id = " . $ilDB->quote($a_item_id, "integer") . " AND node_id = " . $ilDB->quote($a_node_id, "integer") . " AND tax_id = " . $ilDB->quote($this->getTaxonomyId( ), "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"SELECT max(order_nr) mnr FROM tax_node_assignment " . " WHERE component = " . $ilDB->quote($this->getComponentId( ), "text") . " AND item_type = " . $ilDB->quote($this->getItemType( ), "text") . " AND obj_id = " . $ilDB->quote($this->getObjectId( ), "integer") . " AND node_id = " . $ilDB->quote($a_node_id, "integer") . " AND tax_id = " . $ilDB->quote($this->getTaxonomyId( ), "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"UPDATE tax_node_assignment SET " . " order_nr = " . $ilDB->quote($a_order_nr, "integer") . " WHERE component = " . $ilDB->quote($this->getComponentId( ), "text") . " AND item_type = " . $ilDB->quote($this->getItemType( ), "text") . " AND obj_id = " . $ilDB->quote($this->getObjectId( ), "integer") . " AND node_id = " . $ilDB->quote($a_node_id, "integer") . " AND item_id = " . $ilDB->quote($a_item_id, "integer") . " AND tax_id = " . $ilDB->quote($this->getTaxonomyId( ), "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"DELETE FROM tax_node_assignment WHERE " . " component = " . $ilDB->quote($this->getComponentId( ), "text") . " AND item_type = " . $ilDB->quote($this->getItemType( ), "text") . " AND obj_id = " . $ilDB->quote($this->getObjectId( ), "integer") . " AND item_id = " . $ilDB->quote($a_item_id, "integer") . " AND tax_id = " . $ilDB->quote($this->getTaxonomyId( ), "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"DELETE FROM tax_node_assignment WHERE " . " node_id = " . $ilDB->quote($a_node_id, "integer") . " AND component = " . $ilDB->quote($this->getComponentId( ), "text") . " AND obj_id = " . $ilDB->quote($this->getObjectId( ), "integer") . " AND item_type = " . $ilDB->quote($this->getItemType( ), "text")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"DELETE FROM tax_node_assignment WHERE " . " node_id = " . $ilDB->quote($a_node_id, "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"SELECT * FROM tax_node_assignment " . " WHERE component = " . $ilDB->quote($this->getComponentId( ), "text") . " AND item_type = " . $ilDB->quote($this->getItemType( ), "text") . " AND obj_id = " . $ilDB->quote($this->getObjectId( ), "integer") . " AND node_id = " . $ilDB->quote($a_node_id, "integer") . " AND tax_id = " . $ilDB->quote($this->getTaxonomyId( ), "integer") . " ORDER BY order_nr ASC"1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"UPDATE tax_node_assignment SET " . " order_nr = " . $ilDB->quote($cnt, "integer") . " WHERE component = " . $ilDB->quote($this->getComponentId( ), "text") . " AND item_type = " . $ilDB->quote($this->getItemType( ), "text") . " AND obj_id = " . $ilDB->quote($this->getObjectId( ), "integer") . " AND node_id = " . $ilDB->quote($a_node_id, "integer") . " AND tax_id = " . $ilDB->quote($this->getTaxonomyId( ), "integer") . " AND item_id = " . $ilDB->quote($rec["item_id"], "integer")1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"SELECT * FROM tax_node_assignment" . " WHERE " . $ilDB->in("node_id", $a_node_ids, "", "integer") . " AND tax_id = " . $ilDB->quote($a_tax_id, "integer") . " AND item_type = " . $ilDB->quote($a_item_type, "text") . " ORDER BY order_nr ASC"1
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php
"SELECT tax_id FROM tax_usage " . " WHERE obj_id = " . $this->db->quote($obj_id, "integer")1
  • /components/ILIAS/Taxonomy/Usage/UsageDBRepository.php
"SELECT obj_id FROM object_data WHERE type = " . $ilDB->quote('adm', 'text')1
  • /components/ILIAS/SystemFolder/classes/class.ilObjSystemFolder.php
"SELECT title FROM object_translation " . "WHERE obj_id = " . $ilDB->quote($id, 'integer') . " " . "AND lang_default = 1"1
  • /components/ILIAS/SystemFolder/classes/class.ilObjSystemFolder.php
"SELECT title FROM object_translation " . "WHERE obj_id = " . $ilDB->quote($id, 'integer') . " " . "AND lang_code = " . $ilDB->quote($ilUser->getCurrentLanguage( ), 'text') . " " . "AND NOT lang_default = 1"1
  • /components/ILIAS/SystemFolder/classes/class.ilObjSystemFolder.php
"SELECT title,description FROM object_translation " . "WHERE obj_id = " . $ilDB->quote($id, 'integer') . " " . "AND lang_default = 1"1
  • /components/ILIAS/SystemFolder/classes/class.ilObjSystemFolder.php
"SELECT title,description FROM object_translation " . "WHERE obj_id = " . $ilDB->quote($id, 'integer') . " " . "AND lang_code = " . $ilDB->quote($ilUser->getPref("language"), 'text') . " " . "AND NOT lang_default = 1"1
  • /components/ILIAS/SystemFolder/classes/class.ilObjSystemFolder.php
"SELECT obj_id FROM object_data WHERE type = %s"1
  • /components/ILIAS/Cloud/src/RemoveCloudDBUpdate.php
'DELETE FROM object_data WHERE id = %s'1
  • /components/ILIAS/Cloud/src/RemoveCloudDBUpdate.php
'DELETE FROM object_reference WHERE object_id = %s'1
  • /components/ILIAS/Cloud/src/RemoveCloudDBUpdate.php
"delete for " . (string) $deletedObject['obj_id']1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDelCron.php
" UPDATE {$tableName} SET privacy_ident = %s, privacy_name = %s, only_moveon = %s, achieved = %s, answered = %s, completed = %s, failed = %s, initialized = %s, passed = %s, progressed = %s, satisfied = %s, c_terminated = %s, hide_data = %s, c_timestamp = %s, duration = %s, no_substatements = %s, delete_data = %s WHERE lrs_type_id = %s "1
  • /components/ILIAS/CmiXapi/classes/class.ilObjCmiXapi.php
" UPDATE {$tableName} SET bypass_proxy = %s WHERE lrs_type_id = %s "1
  • /components/ILIAS/CmiXapi/classes/class.ilObjCmiXapi.php
" SELECT DISTINCT s.obj_id FROM " . self::DB_TABLE_NAME . " s INNER JOIN " . self::DB_USERS_TABLE_NAME . " u ON u.obj_id = s.obj_id WHERE bypass_proxy = %s "1
  • /components/ILIAS/CmiXapi/classes/class.ilObjCmiXapi.php
"DELETE FROM " . self::DB_TABLE_NAME . " WHERE obj_id = " . $this->database->quote($this->getId( ), 'integer')1
  • /components/ILIAS/CmiXapi/classes/class.ilObjCmiXapi.php
"DELETE FROM " . self::DB_RESULTS_TABLE_NAME . " WHERE obj_id = " . $this->database->quote($this->getId( ), 'integer')1
  • /components/ILIAS/CmiXapi/classes/class.ilObjCmiXapi.php
" SELECT COUNT(*) untrashed FROM cmix_settings s INNER JOIN object_reference r ON r.obj_id = s.obj_id AND r.deleted IS NULL WHERE s.lrs_type_id = %s "1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiLrsTypeList.php
"SELECT COUNT(*) counter FROM " . ilCmiXapiLrsType::getDbTableName( ) . " WHERE availability = " . $ilDB->quote(ilCmiXapiLrsType::AVAILABILITY_CREATE, 'integer')1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiLrsTypeList.php
"SELECT * FROM " . self::DB_TABLE_NAME . " WHERE obj_id = %s AND usr_id = %s AND privacy_ident = %s"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
"SELECT * FROM " . self::DB_TABLE_NAME . " WHERE obj_id = %s AND usr_ident = %s"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
"SELECT usr_ident FROM " . self::DB_TABLE_NAME . " WHERE obj_id = %s AND usr_id = %s"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
"SELECT count(*) cnt FROM " . self::DB_TABLE_NAME . " WHERE obj_id = %s AND usr_id = %s"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
"SELECT count(*) cnt FROM " . self::DB_TABLE_NAME . " WHERE obj_id = %s AND usr_id = %s AND privacy_ident = %s"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
" SELECT DISTINCT cu.obj_id FROM " . self::DB_TABLE_NAME . " cu INNER JOIN object_data od ON od.obj_id = cu.obj_id AND od.type = 'cmix' WHERE cu.proxy_success != %s "1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
"UPDATE " . self::DB_TABLE_NAME . " SET fetched_until = %s WHERE $IN_objIds"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
" SELECT cu.obj_id FROM " . self::DB_TABLE_NAME . " cu {$TYPE_JOIN} WHERE cu.usr_id = {$DIC->database( )->quote($usrId, 'integer')} "1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
"SELECT usr_ident FROM " . self::DB_TABLE_NAME . " WHERE " . $DIC->database( )->like('usr_ident', 'text', $id . '@%')1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
"SELECT usr_id FROM " . self::DB_TABLE_NAME . " WHERE obj_id = " . $DIC->database( )->quote($objId, 'integer') . " AND" . $DIC->database( )->like('usr_ident', 'text', $userIdent . '@%')1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
"DELETE FROM cmix_users WHERE obj_id = " . $DIC->database( )->quote($objId, 'integer')1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
"SELECT obj_id FROM " . self::DB_USERS_TABLE_NAME . " WHERE usr_id = " . $where1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDelModel.php
"SELECT obj.obj_id, obj.lrs_type_id, obj.activity_id, usr.usr_id, usr.usr_ident, del.added FROM " . self::DB_TABLE_NAME . " obj, " . self::DB_USERS_TABLE_NAME . " usr, " . self::DB_DEL_USERS . " del " . " WHERE usr.usr_id = del.usr_id AND obj.obj_id = usr.obj_id AND del.updated IS NULL"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDelModel.php
"SELECT obj.obj_id, obj.lrs_type_id, obj.activity_id FROM " . self::DB_TABLE_NAME . " obj, " . self::DB_USERS_TABLE_NAME . " usr" . " WHERE usr.usr_id = " . $this->db->quote($userId, 'integer') . " AND obj.obj_id = usr.obj_id"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDelModel.php
"SELECT * FROM " . self::DB_DEL_USERS . " WHERE updated IS NULL"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDelModel.php
'DELETE FROM ' . self::DB_DEL_USERS . ' WHERE usr_id = %s'1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDelModel.php
"SELECT lrs_type_id, activity_id, delete_data FROM " . self::DB_TABLE_NAME . " WHERE obj_id = " . $where1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDelModel.php
"SELECT * FROM " . self::DB_DEL_OBJ . " WHERE 1"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDelModel.php
"SELECT * FROM " . self::DB_DEL_OBJ . " WHERE updated IS NULL"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDelModel.php
'DELETE FROM ' . self::DB_DEL_OBJ . ' WHERE obj_id = %s'1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDelModel.php
'DELETE FROM cmix_users WHERE obj_id = %s'1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDelModel.php
" DELETE FROM " . self::DB_TABLE_NAME . " WHERE obj_id = %s AND usr_id = %s "1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiAuthToken.php
"DELETE FROM " . self::DB_TABLE_NAME . " WHERE valid_until < CURRENT_TIMESTAMP"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiAuthToken.php
"SELECT CURRENT_TIMESTAMP"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiAuthToken.php
" SELECT * FROM " . self::DB_TABLE_NAME . " WHERE token = %s AND valid_until > CURRENT_TIMESTAMP "1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiAuthToken.php
"SELECT * FROM " . self::DB_TABLE_NAME . " WHERE obj_id = %s AND ref_id = %s AND usr_id = %s"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiAuthToken.php
"SELECT cmi5_session FROM " . self::DB_TABLE_NAME . " WHERE usr_id = %s AND obj_id = %s"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiAuthToken.php
"SELECT cmi5_session FROM " . self::DB_TABLE_NAME . " WHERE usr_id = %s AND obj_id = %s AND ref_id = %s"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiAuthToken.php
"SELECT * FROM " . self::DB_TABLE_NAME . " WHERE type_id = %s"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiLrsType.php
"DELETE FROM " . self::DB_TABLE_NAME . " WHERE type_id = %s"1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiLrsType.php
"SELECT obj_id id, title, description " . " FROM object_data " . "WHERE " . $DIC->database( )->in("obj_id", $a_ids, false, "integer")1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDataSet.php
"SELECT " . implode(",", array_keys($this->_element_db_mapping)) . " "1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiDataSet.php
" SELECT * FROM cmix_results WHERE obj_id = %s AND usr_id = %s "1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiResult.php
'SELECT * FROM cmix_results' . ' WHERE obj_id = ' . $DIC->database( )->quote($objId, 'integer')1
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiResult.php
'update lp for object (' . $this->object->getId( ) . ')'1
  • /components/ILIAS/CmiXapi/classes/XapiResults/class.ilXapiStatementEvaluation.php
'DELETE FROM cmix_users WHERE usr_id = %s'1
  • /components/ILIAS/CmiXapi/classes/Setup/class.ilCmiXapiDatabaseUpdateSteps.php
"SELECT {$this->table_prefix}_settings.lrs_type_id, {$this->table_prefix}_settings.only_moveon, {$this->table_prefix}_settings.achieved, {$this->table_prefix}_settings.answered, {$this->table_prefix}_settings.completed, {$this->table_prefix}_settings.failed, {$this->table_prefix}_settings.initialized, {$this->table_prefix}_settings.passed, {$this->table_prefix}_settings.progressed, {$this->table_prefix}_settings.satisfied, {$this->table_prefix}_settings.c_terminated, {$this->table_prefix}_settings.hide_data, {$this->table_prefix}_settings.c_timestamp, {$this->table_prefix}_settings.duration, {$this->table_prefix}_settings.no_substatements, {$this->table_prefix}_settings.privacy_ident FROM {$this->table_prefix}_settings, {$this->table_prefix}_token WHERE {$this->table_prefix}_settings.obj_id = {$this->table_prefix}_token.obj_id AND {$this->table_prefix}_token.token = " . $db->quote($this->token, 'text')1
  • /components/ILIAS/CmiXapi/classes/XapiProxy/XapiProxyPolyFill.php
'SELECT hidden_status FROM conditions ' . 'WHERE target_ref_id = ' . $ilDB->quote($a_target_ref_id, 'integer')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"SELECT DISTINCT target_ref_id ref FROM conditions "1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"DELETE FROM conditions " . "WHERE target_ref_id = " . $ilDB->quote($a_target_ref_id, 'integer') . " " . "AND target_type != 'st' "1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
'INSERT INTO conditions (condition_id,target_ref_id,target_obj_id,target_type,' . 'trigger_ref_id,trigger_obj_id,trigger_type,operator,value,ref_handling,obligatory,hidden_status) ' . 'VALUES (' . $this->db->quote($next_id, 'integer') . ',' . $this->db->quote($this->getTargetRefId( ), 'integer') . "," . $this->db->quote($this->getTargetObjId( ), 'integer') . "," . $this->db->quote($this->getTargetType( ), 'text') . "," . $this->db->quote($this->getTriggerRefId( ), 'integer') . "," . $this->db->quote($this->getTriggerObjId( ), 'integer') . "," . $this->db->quote($this->getTriggerType( ), 'text') . "," . $this->db->quote($this->getOperator( ), 'text') . "," . $this->db->quote($this->getValue( ), 'text') . ", " . $this->db->quote($this->getReferenceHandlingType( ), 'integer') . ', ' . $this->db->quote($this->getObligatory( ), 'integer') . ', ' . $this->db->quote($this->getHiddenStatus( ), 'integer') . ' ' . ')'1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"SELECT * FROM conditions " . "WHERE target_ref_id = " . $this->db->quote($this->getTargetRefId( ), 'integer') . " " . "AND target_obj_id = " . $this->db->quote($this->getTargetObjId( ), 'integer') . " " . "AND trigger_ref_id = " . $this->db->quote($this->getTriggerRefId( ), 'integer') . " " . "AND trigger_obj_id = " . $this->db->quote($this->getTriggerObjId( ), 'integer') . " " . "AND operator = " . $this->db->quote($this->getOperator( ), 'text')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"UPDATE conditions SET " . "target_ref_id = " . $this->db->quote($this->getTargetRefId( ), 'integer') . ", " . "operator = " . $this->db->quote($this->getOperator( ), 'text') . ", " . "value = " . $this->db->quote($this->getValue( ), 'text') . ", " . "ref_handling = " . $this->db->quote($this->getReferenceHandlingType( ), 'integer') . ", " . 'obligatory = ' . $this->db->quote($this->getObligatory( ), 'integer') . ' ' . "WHERE condition_id = " . $this->db->quote($a_id, 'integer')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
'UPDATE conditions SET ' . 'hidden_status = ' . $this->db->quote($a_status, 'integer') . ' ' . 'WHERE target_ref_id = ' . $this->db->quote($this->getTargetRefId( ), 'integer')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"UPDATE conditions SET " . 'obligatory = ' . $ilDB->quote($a_status, 'integer') . ' ' . "WHERE condition_id = " . $ilDB->quote($a_id, 'integer')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"DELETE FROM conditions WHERE " . "target_ref_id = " . $this->db->quote($a_ref_id, 'integer') . " " . "OR trigger_ref_id = " . $this->db->quote($a_ref_id, 'integer')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"DELETE FROM conditions WHERE " . "target_obj_id = " . $this->db->quote($a_obj_id, 'integer') . " " . "OR trigger_obj_id = " . $this->db->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"DELETE FROM conditions " . "WHERE condition_id = " . $this->db->quote($a_id, 'integer')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
'select count(*) num from conditions ' . 'where trigger_obj_id = ' . $db->quote($a_trigger_id, ilDBConstants::T_INTEGER) . ' ' . 'and trigger_type = ' . $db->quote($a_trigger_obj_type, ilDBConstants::T_TEXT)1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"SELECT * FROM conditions " . "WHERE trigger_obj_id = " . $ilDB->quote($a_trigger_id, 'integer') . " " . " AND trigger_type = " . $ilDB->quote($a_trigger_obj_type, 'text')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"SELECT * FROM conditions " . "WHERE target_obj_id = " . $ilDB->quote($a_target_obj_id, 'integer') . " " . " AND target_type = " . $ilDB->quote($a_target_type, 'text')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"SELECT * FROM conditions " . "WHERE " . $ilDB->in("target_obj_id", $a_obj_ids, false, "integer") . " AND target_type = " . $ilDB->quote($a_type, 'text')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"SELECT * FROM conditions " . "WHERE condition_id = " . $ilDB->quote($a_id, 'integer')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
'SELECT max(num_obligatory) obl from conditions WHERE ' . 'target_ref_id = ' . $ilDB->quote($a_target_ref_id, 'integer') . ' ' . 'AND target_obj_id = ' . $ilDB->quote($a_target_obj_id, 'integer') . ' ' . 'GROUP BY (num_obligatory)'1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
'UPDATE conditions ' . 'SET num_obligatory = ' . $ilDB->quote($a_num, 'integer') . ' ' . 'WHERE target_ref_id = ' . $ilDB->quote($a_target_ref_id, 'integer') . ' ' . 'AND target_obj_id = ' . $ilDB->quote($a_target_obj_id, 'integer')1
  • /components/ILIAS/Conditions/classes/class.ilConditionHandler.php
"SELECT * FROM history WHERE " . " obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . " obj_type = " . $ilDB->quote($a_obj_type, "text") . " ORDER BY hdate DESC"1
  • /components/ILIAS/History/classes/class.ilHistory.php
"SELECT * FROM history WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . "obj_type = " . $ilDB->quote($a_obj_type, "text") . " ORDER BY hdate DESC"1
  • /components/ILIAS/History/classes/class.ilHistory.php
"SELECT h.*, l.title as title FROM history h, lm_data l WHERE " . " l.lm_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . " l.obj_id = h.obj_id AND " . " (h.obj_type=" . $ilDB->quote($a_obj_type . ":pg", "text") . " OR h.obj_type=" . $ilDB->quote($a_obj_type . ":st", "text") . ") " . " ORDER BY h.hdate DESC"1
  • /components/ILIAS/History/classes/class.ilHistory.php
"DELETE FROM history WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/History/classes/class.ilHistory.php
"SELECT * FROM history WHERE obj_id = " . $ilDB->quote($a_src_id, "integer")1
  • /components/ILIAS/History/classes/class.ilHistory.php
"SELECT * FROM history WHERE id = " . $ilDB->quote($a_hist_entry_id, "integer")1
  • /components/ILIAS/History/classes/class.ilHistory.php
"DELETE FROM history WHERE id = " . $ilDB->quote($a_hist_entry_id, "integer")1
  • /components/ILIAS/History/classes/class.ilHistory.php
"SELECT COUNT(question_type_id) cnt FROM qpl_qst_type WHERE ctrl_class = %s"1
  • /components/ILIAS/AssessmentQuestion/classes/class.ilAsqService.php
"SELECT COUNT(question_id) cnt FROM qpl_questions WHERE obj_fi = %s AND title = %s"1
  • /components/ILIAS/AssessmentQuestion/classes/class.ilAsqService.php
"SELECT " . $a_key . " FROM itgr_data " . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/ItemGroup/classes/class.ilObjItemGroup.php
"SELECT obj_id id, title, description " . " FROM object_data " . "WHERE " . $ilDB->in("obj_id", $a_ids, false, "integer")1
  • /components/ILIAS/ItemGroup/classes/class.ilItemGroupDataSet.php
"SELECT obj_id id, title, description, hide_title, behaviour " . " FROM object_data JOIN itgr_data ON (object_data.obj_id = itgr_data.id)" . "WHERE " . $ilDB->in("obj_id", $a_ids, false, "integer")1
  • /components/ILIAS/ItemGroup/classes/class.ilItemGroupDataSet.php
"SELECT item_group_id itgr_id, item_ref_id item_id" . " FROM item_group_item " . "WHERE " . $ilDB->in("item_group_id", $a_ids, false, "integer")1
  • /components/ILIAS/ItemGroup/classes/class.ilItemGroupDataSet.php
"DELETE FROM item_group_item " . "WHERE item_group_id = " . $this->db->quote($this->getItemGroupId( ), 'integer')1
  • /components/ILIAS/ItemGroup/classes/class.ilItemGroupItems.php
"INSERT INTO item_group_item (item_group_id,item_ref_id) " . "VALUES( " . $this->db->quote($this->getItemGroupId( ), 'integer') . ", " . $this->db->quote($item, 'integer') . " " . ")"1
  • /components/ILIAS/ItemGroup/classes/class.ilItemGroupItems.php
"SELECT * FROM item_group_item " . " WHERE item_group_id = " . $this->db->quote($this->getItemGroupId( ), "integer")1
  • /components/ILIAS/ItemGroup/classes/class.ilItemGroupItems.php
"SELECT item_ref_id FROM item_group_item " . "WHERE " . $ilDB->in('item_group_id', $itgr_ids, false, 'integer')1
  • /components/ILIAS/ItemGroup/classes/class.ilItemGroupItems.php
"SELECT * FROM il_translations " . " WHERE id = " . $this->db->quote($this->getObjId( ), "integer") . " AND id_type = " . $this->db->quote($this->getType( ), "text")1
  • /components/ILIAS/Multilingualism/classes/class.ilMultilingualism.php
"DELETE FROM il_translations " . " WHERE id = " . $this->db->quote($this->getObjId( ), "integer") . " AND id_type = " . $this->db->quote($this->getType( ), "text")1
  • /components/ILIAS/Multilingualism/classes/class.ilMultilingualism.php
"INSERT INTO il_translations " . "(id, id_type, title, description, lang_code, lang_default) VALUES (" . $this->db->quote($this->getObjId( ), "integer") . "," . $this->db->quote($this->getType( ), "text") . "," . $this->db->quote($trans["title"], "text") . "," . $this->db->quote($trans["description"], "text") . "," . $this->db->quote($l, "text") . "," . $this->db->quote($trans["lang_default"], "integer") . ")"1
  • /components/ILIAS/Multilingualism/classes/class.ilMultilingualism.php
'SELECT * FROM usr_portfolio WHERE id = %s'1
  • /components/ILIAS/Portfolio/Settings/SettingsDBRepository.php
'DELETE FROM usr_portfolio WHERE id = %s'1
  • /components/ILIAS/Portfolio/Settings/SettingsDBRepository.php
"SELECT lm_id, type, title, short_title, active, layout, import_id, obj_id child FROM lm_data " . "WHERE " . $ilDB->in("lm_id", $a_ids, false, "integer") . " AND " . $ilDB->in("obj_id", $obj_ids, true, "integer") . " AND type = " . $ilDB->quote("pg", "text")1
  • /components/ILIAS/LearningModule/classes/class.ilLearningModuleDataSet.php
"SELECT MAX(order_nr) m FROM usr_portfolio_page" . " WHERE portfolio_id = " . $ilDB->quote($a_portfolio_id, "integer")1
  • /components/ILIAS/Portfolio/Page/class.ilPortfolioPage.php
"SELECT * FROM usr_portfolio_page" . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Portfolio/Page/class.ilPortfolioPage.php
"DELETE FROM usr_portfolio_page" . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Portfolio/Page/class.ilPortfolioPage.php
"SELECT " . $a_prop . " FROM usr_portfolio_page" . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Portfolio/Page/class.ilPortfolioPage.php
"SELECT * FROM usr_portfolio_page" . " WHERE portfolio_id = " . $ilDB->quote($a_portfolio_id, "integer") . " ORDER BY order_nr"1
  • /components/ILIAS/Portfolio/Page/class.ilPortfolioPage.php
"UPDATE usr_portfolio_page SET " . " order_nr = " . $ilDB->quote($cnt, "integer") . " WHERE id = " . $ilDB->quote($p["id"], "integer")1
  • /components/ILIAS/Portfolio/Page/class.ilPortfolioPage.php
"DELETE FROM usr_portf_acl" . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilPortfolioAccessHandler.php
"SELECT object_id FROM usr_portf_acl" . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilPortfolioAccessHandler.php
"SELECT object_id FROM usr_portf_acl" . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer") . " AND object_id = " . $ilDB->quote(ilWorkspaceAccessGUI::PERMISSION_REGISTERED, "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilPortfolioAccessHandler.php
"SELECT object_id FROM usr_portf_acl" . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer") . " AND object_id = " . $ilDB->quote(ilWorkspaceAccessGUI::PERMISSION_ALL, "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilPortfolioAccessHandler.php
"SELECT object_id FROM usr_portf_acl" . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer") . " AND object_id = " . $ilDB->quote(ilWorkspaceAccessGUI::PERMISSION_ALL_PASSWORD, "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilPortfolioAccessHandler.php
"SELECT obj.obj_id" . " FROM object_data obj" . " JOIN usr_portfolio prtf ON (prtf.id = obj.obj_id)" . " JOIN usr_portf_acl acl ON (acl.node_id = obj.obj_id)" . " WHERE obj.owner = " . $ilDB->quote($ilUser->getId( ), "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilPortfolioAccessHandler.php
"SELECT DISTINCT(obj.owner), u.lastname, u.firstname, u.title" . " FROM object_data obj" . " JOIN usr_portfolio prtf ON (prtf.id = obj.obj_id)" . " JOIN usr_portf_acl acl ON (acl.node_id = obj.obj_id)" . " JOIN usr_data u on (u.usr_id = obj.owner)" . " WHERE " . $ilDB->in("acl.object_id", $obj_ids, "", "integer") . " AND obj.owner <> " . $ilDB->quote($ilUser->getId( ), "integer") . " AND prtf.is_online = " . $ilDB->quote(1, "integer") . " ORDER BY u.lastname, u.firstname, u.title"1
  • /components/ILIAS/Portfolio/classes/class.ilPortfolioAccessHandler.php
"SELECT obj.obj_id, obj.owner" . " FROM object_data obj" . " JOIN usr_portfolio prtf ON (prtf.id = obj.obj_id)" . " JOIN usr_portf_acl acl ON (acl.node_id = obj.obj_id)" . " WHERE " . $ilDB->in("acl.object_id", $obj_ids, "", "integer") . " AND obj.owner = " . $ilDB->quote($a_owner_id, "integer") . " AND prtf.is_online = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilPortfolioAccessHandler.php
"SELECT obj.obj_id, obj.owner, obj.title" . " FROM object_data obj" . " JOIN usr_portfolio prtf ON (prtf.id = obj.obj_id)" . " JOIN usr_portf_acl acl ON (acl.node_id = obj.obj_id)" . " WHERE " . $ilDB->in("acl.object_id", $obj_ids, "", "integer") . " AND " . $ilDB->in("obj.owner", $a_owner_ids, "", "integer") . " AND prtf.is_online = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilPortfolioAccessHandler.php
"SELECT obj.obj_id,obj.title,obj.owner" . ",acl.object_id acl_type, acl.tstamp acl_date" . " FROM object_data obj" . " JOIN usr_portfolio prtf ON (prtf.id = obj.obj_id)" . " JOIN usr_portf_acl acl ON (acl.node_id = obj.obj_id)" . " WHERE " . $ilDB->in("acl.object_id", $obj_ids, "", "integer") . " AND obj.owner <> " . $ilDB->quote($ilUser->getId( ), "integer") . " AND obj.type = " . $ilDB->quote("prtf", "text") . " AND prtf.is_online = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilPortfolioAccessHandler.php
"SELECT extended_data FROM usr_portf_acl" . " WHERE node_id = " . $ilDB->quote($a_node_id, "integer") . " AND object_id = " . $ilDB->quote(ilWorkspaceAccessGUI::PERMISSION_ALL_PASSWORD, "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilPortfolioAccessHandler.php
"SELECT is_online" . " FROM usr_portfolio" . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilObjPortfolioBase.php
"SELECT * FROM usr_portfolio" . " WHERE id = " . $ilDB->quote($this->id, "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilObjPortfolioBase.php
"INSERT INTO usr_portfolio (id,is_online)" . " VALUES (" . $ilDB->quote($this->id, "integer") . "," . $ilDB->quote(0, "integer") . ")"1
  • /components/ILIAS/Portfolio/classes/class.ilObjPortfolioBase.php
"DELETE FROM usr_portfolio" . " WHERE id = " . $ilDB->quote($this->id, "integer")1
  • /components/ILIAS/Portfolio/classes/class.ilObjPortfolioBase.php
"SELECT up.*,od.title,od.description" . " FROM usr_portfolio up" . " JOIN object_data od ON (up.id = od.obj_id)" . " WHERE od.owner = " . $ilDB->quote($a_user_id, "integer") . " AND od.type = " . $ilDB->quote("prtf", "text") . " ORDER BY od.title"1
  • /components/ILIAS/Portfolio/classes/class.ilObjPortfolio.php
"DELETE FROM usr_portfolio_page WHERE " . " type = %s"1
  • /components/ILIAS/Portfolio/classes/Setup/class.ilPortfolioDBUpdateSteps.php
"DELETE FROM prtf_role_assignment WHERE " . " role_id = %s AND template_ref_id = %s"1
  • /components/ILIAS/Portfolio/Administration/class.PortfolioRoleAssignmentDBRepository.php
"SELECT * FROM prtf_role_assignment " . " WHERE " . $db->in("role_id", $role_ids, false, "integer")1
  • /components/ILIAS/Portfolio/Administration/class.PortfolioRoleAssignmentDBRepository.php
"SELECT * FROM prtf_role_assignment "1
  • /components/ILIAS/Portfolio/Administration/class.PortfolioRoleAssignmentDBRepository.php
"SELECT prtf.id,od.title,od.description," . "prtf.comments,prtf.bg_color,prtf.font_color,prtf.img,prtf.ppic" . " FROM usr_portfolio prtf" . " JOIN object_data od ON (od.obj_id = prtf.id)" . " WHERE " . $ilDB->in("prtf.id", $a_ids, false, "integer") . " AND od.type = " . $ilDB->quote("prtt", "text")1
  • /components/ILIAS/Portfolio/Export/class.ilPortfolioDataSet.php
"SELECT prtf.id,od.title,od.description," . "prtf.bg_color,prtf.font_color,prtf.ppic" . " FROM usr_portfolio prtf" . " JOIN object_data od ON (od.obj_id = prtf.id)" . " WHERE " . $ilDB->in("prtf.id", $a_ids, false, "integer") . " AND od.type = " . $ilDB->quote("prtt", "text")1
  • /components/ILIAS/Portfolio/Export/class.ilPortfolioDataSet.php
"SELECT id,portfolio_id,title,order_nr,type" . " FROM usr_portfolio_page" . " WHERE " . $ilDB->in("portfolio_id", $a_ids, false, "integer")1
  • /components/ILIAS/Portfolio/Export/class.ilPortfolioDataSet.php
'SELECT * FROM glossary WHERE id = %s'1
  • /components/ILIAS/Glossary/Settings/SettingsDBRepository.php
"SELECT * FROM glossary WHERE id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/Glossary/classes/class.ilObjGlossary.php
"SELECT * FROM glo_glossaries " . " WHERE id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/Glossary/classes/class.ilObjGlossary.php
"SELECT is_online FROM glossary WHERE id = " . $db->quote($a_id, "integer")1
  • /components/ILIAS/Glossary/classes/class.ilObjGlossary.php
"SELECT $a_property FROM glossary WHERE id = " . $db->quote($a_id, "integer")1
  • /components/ILIAS/Glossary/classes/class.ilObjGlossary.php
"DELETE FROM glo_glossaries WHERE " . " id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/Glossary/classes/class.ilObjGlossary.php
"SELECT * FROM glo_glossaries " . " WHERE id = " . $db->quote($a_id, "integer")1
  • /components/ILIAS/Glossary/classes/class.ilObjGlossary.php
"SELECT * FROM glossary_collection " . " WHERE id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/Glossary/classes/class.ilObjGlossary.php
"DELETE FROM glossary_collection WHERE " . " id = " . $this->db->quote($this->getId( ), "integer") . " AND glo_id = " . $this->db->quote($glo_id, "integer")1
  • /components/ILIAS/Glossary/classes/class.ilObjGlossary.php
"DELETE FROM glossary WHERE id = " . $this->db->quote($this->getId( ))1
  • /components/ILIAS/Glossary/classes/class.ilObjGlossary.php
"SELECT id FROM glossary " . " WHERE " . $this->db->in("id", $glo_ids, false, "integer") . " AND is_online = " . $this->db->quote("y", "text")1
  • /components/ILIAS/Glossary/classes/class.ilObjGlossary.php
"INSERT INTO glossary_term (id, glo_id, term, language, import_id, create_date, last_update)" . " VALUES (" . $this->db->quote($new_term_id, "integer") . ", " . $this->db->quote($rec["glo_id"], "integer") . ", " . $this->db->quote($rec["term"], "text") . ", " . $this->db->quote($rec["language"], "text") . "," . $this->db->quote("", "text") . "," . $this->db->quote($rec["create_date"], "text") . ", " . $this->db->quote($rec["last_update"], "text") . ")"1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryDefinitionMigration.php
"UPDATE glossary_definition SET " . " term_id = " . $this->db->quote($new_term_id, "integer") . " WHERE id = " . $this->db->quote($rec["glo_def_id"], "integer")1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryDefinitionMigration.php
"UPDATE glossary_term SET " . " short_text = " . $this->db->quote($rec["short_text"], "text") . ", " . " short_text_dirty = " . $this->db->quote($rec["short_text_dirty"], "integer") . " WHERE id = " . $this->db->quote($rec["term_id"], "integer")1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryDefinitionMigration.php
"Update id and type ('gdf' to 'term') for page object with id: " . $rec["id"]1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryDefinitionMigration.php
"UPDATE page_object SET " . " page_id = " . $this->db->quote($rec["term_id"], "integer") . ", " . " parent_type = " . $this->db->quote("term", "text") . " WHERE parent_type = " . $this->db->quote("gdf", "text") . " AND page_id = " . $this->db->quote($rec["id"], "integer")1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryDefinitionMigration.php
"UPDATE glossary_definition SET " . " migration = " . $this->db->quote("1", "integer") . " WHERE id = " . $this->db->quote($rec["id"], "integer")1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryDefinitionMigration.php
"Update type ('gdf' to 'term') for page object definition."1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryDefinitionMigration.php
"UPDATE copg_pobj_def SET " . " parent_type = " . $this->db->quote("term", "text") . " WHERE parent_type = " . $this->db->quote("gdf", "text")1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryDefinitionMigration.php
"SELECT parent_type FROM copg_pobj_def WHERE parent_type = " . $this->db->quote("gdf", "text")1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryDefinitionMigration.php
"SELECT glossary.id AS glossary_id, glossary.virtual, glossary_term.id AS term_id, glossary_term.glo_id " . " FROM glossary LEFT JOIN glossary_term ON glossary.id = glossary_term.glo_id " . " WHERE glossary.virtual = 'level' OR glossary.virtual = 'subtree' " . " ORDER BY glossary.id"1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryCollectionMigration.php
"UPDATE glossary SET " . " glossary.virtual = " . $this->db->quote("none", "text") . " WHERE glossary.id = " . $this->db->quote($glo_id, "integer")1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryCollectionMigration.php
"UPDATE glossary SET " . " glossary.virtual = " . $this->db->quote("coll", "text") . " WHERE glossary.id = " . $this->db->quote($glo_id, "integer")1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryCollectionMigration.php
"SELECT glossary.virtual FROM glossary " . " WHERE glossary.virtual = 'level' OR glossary.virtual = 'subtree'"1
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryCollectionMigration.php
"SELECT term_id FROM glo_term_reference " . " WHERE glo_id = " . $this->db->quote($this->getGlossaryId( ), "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTermReferences.php
"DELETE FROM glo_term_reference WHERE " . " glo_id = " . $this->db->quote($this->getGlossaryId( ), "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTermReferences.php
"DELETE FROM glo_term_reference WHERE " . " term_id = " . $db->quote($a_term_id, "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTermReferences.php
"SELECT * FROM glo_term_reference " . " WHERE glo_id = " . $db->quote($a_glossary_id, "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTermReferences.php
"SELECT * FROM glo_term_reference " . " WHERE " . $db->in("glo_id", $a_glo_id, false, "integer") . " AND term_id = " . $db->quote($a_term_id, "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTermReferences.php
"SELECT DISTINCT glo_id FROM glo_term_reference " . " WHERE term_id = " . $db->quote($a_term_id, "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTermReferences.php
"DELETE FROM glossary_term " . " WHERE id = " . $db->quote($term_id, "integer")1
  • /components/ILIAS/Glossary/Term/class.TermManager.php
"SELECT * FROM glossary_term WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTerm.php
"SELECT * FROM glossary_term WHERE import_id = " . $ilDB->quote($a_import_id, "text") . " ORDER BY create_date DESC"1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTerm.php
"SELECT * FROM glossary_term WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTerm.php
"INSERT INTO glossary_term" . " (id, glo_id, term, language, import_id, create_date, last_update, short_text, short_text_dirty)" . " VALUES (" . $ilDB->quote($this->getId( ), "integer") . ", " . $ilDB->quote($this->getGlossaryId( ), "integer") . ", " . $ilDB->quote($this->getTerm( ), "text") . ", " . $ilDB->quote($this->getLanguage( ), "text") . ", " . $ilDB->quote($this->getImportId( ), "text") . ", " . $ilDB->now( ) . ", " . $ilDB->now( ) . ", " . $ilDB->quote($this->getShortText( ), "text") . ", " . $ilDB->quote($this->getShortTextDirty( ), "integer") . ")"1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTerm.php
"DELETE FROM glossary_term " . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTerm.php
"UPDATE glossary_term SET " . " glo_id = " . $ilDB->quote($this->getGlossaryId( ), "integer") . ", " . " term = " . $ilDB->quote($this->getTerm( ), "text") . ", " . " import_id = " . $ilDB->quote($this->getImportId( ), "text") . ", " . " language = " . $ilDB->quote($this->getLanguage( ), "text") . ", " . " last_update = " . $ilDB->now( ) . ", " . " short_text = " . $ilDB->quote($this->getShortText( ), "text") . ", " . " short_text_dirty = " . $ilDB->quote($this->getShortTextDirty( ), "integer") . " " . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTerm.php
"UPDATE glossary_term SET " . " short_text_dirty = " . $ilDB->quote(1, "integer") . " WHERE id = " . $ilDB->quote($term_id, "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTerm.php
"UPDATE glossary_term SET " . " short_text_dirty = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTerm.php
"SELECT DISTINCT(gt.term), gt.id, gt.glo_id, gt.language, gt.short_text, gt.short_text_dirty FROM glossary_term gt " . $join . " WHERE " . $where . $searchterm . " ORDER BY gt.term, gt.id"1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTerm.php
"SELECT DISTINCT " . $ilDB->upper($ilDB->substr("term", 1, 1)) . " let FROM glossary_term WHERE " . $where . " ORDER BY let"1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTerm.php
"SELECT id FROM glossary_term WHERE " . " glo_id = " . $ilDB->quote($a_glo_id, "integer")1
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTerm.php
"SELECT * FROM glo_flashcard_box " . " WHERE box_nr = %s AND user_id = %s AND glo_id = %s "1
  • /components/ILIAS/Glossary/Flashcard/class.FlashcardBoxDBRepository.php
"DELETE FROM glo_flashcard_box " . " WHERE glo_id = " . $this->db->quote($glo_id, "integer") . " AND user_id = " . $this->db->quote($user_id, "integer")1
  • /components/ILIAS/Glossary/Flashcard/class.FlashcardBoxDBRepository.php
"DELETE FROM glo_flashcard_box " . " WHERE user_id = " . $this->db->quote($user_id, "integer")1
  • /components/ILIAS/Glossary/Flashcard/class.FlashcardBoxDBRepository.php
"DELETE FROM glo_flashcard_box " . " WHERE glo_id = " . $this->db->quote($glo_id, "integer")1
  • /components/ILIAS/Glossary/Flashcard/class.FlashcardBoxDBRepository.php
"SELECT * FROM glo_flashcard_term " . " WHERE term_id = %s AND user_id = %s AND glo_id = %s "1
  • /components/ILIAS/Glossary/Flashcard/class.FlashcardTermDBRepository.php
"SELECT * FROM glo_flashcard_term " . " WHERE box_nr = %s AND user_id = %s AND glo_id = %s " . " ORDER BY last_access ASC "1
  • /components/ILIAS/Glossary/Flashcard/class.FlashcardTermDBRepository.php
"SELECT * FROM glo_flashcard_term " . " WHERE user_id = %s AND glo_id = %s " . " ORDER BY last_access ASC "1
  • /components/ILIAS/Glossary/Flashcard/class.FlashcardTermDBRepository.php
"DELETE FROM glo_flashcard_term " . " WHERE glo_id = " . $this->db->quote($glo_id, "integer") . " AND user_id = " . $this->db->quote($user_id, "integer")1
  • /components/ILIAS/Glossary/Flashcard/class.FlashcardTermDBRepository.php
"DELETE FROM glo_flashcard_term " . " WHERE user_id = " . $this->db->quote($user_id, "integer")1
  • /components/ILIAS/Glossary/Flashcard/class.FlashcardTermDBRepository.php
"DELETE FROM glo_flashcard_term " . " WHERE glo_id = " . $this->db->quote($glo_id, "integer")1
  • /components/ILIAS/Glossary/Flashcard/class.FlashcardTermDBRepository.php
"DELETE FROM glo_flashcard_term " . " WHERE term_id = " . $this->db->quote($term_id, "integer")1
  • /components/ILIAS/Glossary/Flashcard/class.FlashcardTermDBRepository.php
"SELECT o.title, o.description, g.id, g.virtual, pres_mode, snippet_length, show_tax, glo_menu_active" . " FROM glossary g JOIN object_data o " . " ON (g.id = o.obj_id) " . " WHERE " . $ilDB->in("g.id", $a_ids, false, "integer")1
  • /components/ILIAS/Glossary/Export/class.ilGlossaryDataSet.php
"SELECT r.term_id, r.glo_id, t.term, t.language " . "FROM glo_term_reference r JOIN glossary_term t ON (r.term_id = t.id) " . " WHERE " . $ilDB->in("r.glo_id", $a_ids, false, "integer")1
  • /components/ILIAS/Glossary/Export/class.ilGlossaryDataSet.php
"SELECT r.term_id, r.glo_id, t.term, t.language, " . "t.short_text, t.short_text_dirty " . "FROM glo_term_reference r JOIN glossary_term t ON (r.term_id = t.id) " . " WHERE " . $ilDB->in("r.glo_id", $a_ids, false, "integer")1
  • /components/ILIAS/Glossary/Export/class.ilGlossaryDataSet.php
"SELECT id, term_id, short_text, nr, short_text_dirty" . " FROM glossary_definition " . " WHERE " . $ilDB->in("term_id", $a_ids, false, "integer")1
  • /components/ILIAS/Glossary/Export/class.ilGlossaryDataSet.php
"SELECT glo_id, field_id, order_nr" . " FROM glo_advmd_col_order " . " WHERE " . $ilDB->in("glo_id", $a_ids, false, "integer")1
  • /components/ILIAS/Glossary/Export/class.ilGlossaryDataSet.php
"SELECT * FROM glo_glossaries " . " WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/Glossary/Export/class.ilGlossaryDataSet.php
"SELECT * FROM glo_advmd_col_order " . " WHERE glo_id = " . $ilDB->quote($this->glo_id, "integer") . " ORDER BY order_nr"1
  • /components/ILIAS/Glossary/Metadata/class.ilGlossaryAdvMetaDataAdapter.php
"DELETE FROM glo_advmd_col_order WHERE " . " glo_id = " . $ilDB->quote($this->glo_id, "integer")1
  • /components/ILIAS/Glossary/Metadata/class.ilGlossaryAdvMetaDataAdapter.php
"INSERT INTO glo_advmd_col_order " . "(glo_id, field_id, order_nr) VALUES (" . $ilDB->quote($this->glo_id, "integer") . "," . $ilDB->quote($c["id"], "integer") . "," . $ilDB->quote($nr += 10, "integer") . ")"1
  • /components/ILIAS/Glossary/Metadata/class.ilGlossaryAdvMetaDataAdapter.php
"INSERT INTO map_area (item_id, nr, shape, " . "coords, link_type, title, href, target, type, highlight_mode, highlight_class, target_frame) " . " VALUES (" . $ilDB->quote($this->getItemId( ), "integer") . "," . $ilDB->quote($this->getNr( ), "integer") . "," . $ilDB->quote($this->getShape( ), "text") . "," . $ilDB->quote($this->getCoords( ), "text") . "," . $ilDB->quote($this->getLinkType( ), "text") . "," . $ilDB->quote($this->getTitle( ), "text") . "," . $ilDB->quote($this->getHref( ), "text") . "," . $ilDB->quote($this->getTarget( ), "text") . "," . $ilDB->quote($this->getType( ), "text") . "," . $ilDB->quote($this->getHighlightMode( ), "text") . "," . $ilDB->quote($this->getHighlightClass( ), "text") . "," . $ilDB->quote($this->getTargetFrame( ), "text") . ")"1
  • /components/ILIAS/MediaObjects/ImageMap/class.ilMapArea.php
"SELECT max(nr) AS max_nr FROM map_area WHERE item_id = " . $ilDB->quote($a_item_id, "integer")1
  • /components/ILIAS/MediaObjects/ImageMap/class.ilMapArea.php
"SELECT * FROM map_area WHERE item_id = " . $ilDB->quote($this->getItemId( ), "integer") . " AND nr = " . $ilDB->quote($this->getNr( ), "integer")1
  • /components/ILIAS/MediaObjects/ImageMap/class.ilMapArea.php
"UPDATE map_area SET shape = " . $ilDB->quote($this->getShape( ), "text") . ", coords = " . $ilDB->quote($this->getCoords( ), "text") . ", link_type = " . $ilDB->quote($this->getLinkType( ), "text") . ", title = " . $ilDB->quote($this->getTitle( ), "text") . ", href = " . $ilDB->quote($this->getHref( ), "text") . ", target = " . $ilDB->quote($this->getTarget( ), "text") . ", type = " . $ilDB->quote($this->getType( ), "text") . ", highlight_mode = " . $ilDB->quote($this->getHighlightMode( ), "text") . ", highlight_class = " . $ilDB->quote($this->getHighlightClass( ), "text") . ", target_frame = " . $ilDB->quote($this->getTargetFrame( ), "text") . " WHERE item_id = " . $ilDB->quote($this->getItemId( ), "integer") . " AND nr = " . $ilDB->quote($this->getNr( ), "integer")1
  • /components/ILIAS/MediaObjects/ImageMap/class.ilMapArea.php
"UPDATE map_area SET " . "target = " . $ilDB->quote($new_target, "text") . " " . "WHERE item_id = " . $ilDB->quote($item_id, "integer") . " AND nr = " . $ilDB->quote($nr, "integer")1
  • /components/ILIAS/MediaObjects/ImageMap/class.ilMapArea.php
"SELECT * FROM map_area WHERE " . " link_type = " . $ilDB->quote($a_type, "text") . " AND target = " . $ilDB->quote($a_target, "text")1
  • /components/ILIAS/MediaObjects/ImageMap/class.ilMapArea.php
'SELECT * FROM sysc_groups ' . 'WHERE id = ' . $this->db->quote($this->getId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/SystemCheck/classes/class.ilSCGroup.php
"SELECT id, mob_id, width, height, halign," . "caption, nr, purpose, location, location_type, format, text_representation" . " FROM media_item WHERE " . $ilDB->in("mob_id", $a_ids, false, "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaObjectDataSet.php
"SELECT item_id mi_id, nr" . " ,shape, coords, link_type, title, href, target, type, target_frame, " . " highlight_mode, highlight_class" . " FROM map_area " . " WHERE " . $ilDB->in("item_id", $a_ids, false, "integer") . " ORDER BY nr"1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaObjectDataSet.php
"SELECT med_item_id mi_id, name, value" . " FROM mob_parameter " . " WHERE " . $ilDB->in("med_item_id", $a_ids, false, "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaObjectDataSet.php
"INSERT INTO media_item (id,mob_id, purpose, location, " . "location_type, format, width, " . "height, halign, caption, nr, text_representation, upload_hash, duration) VALUES " . "(" . $ilDB->quote($item_id, "integer") . "," . $ilDB->quote($this->getMobId( ), "integer") . "," . $ilDB->quote($this->getPurpose( ), "text") . "," . $ilDB->quote($this->getLocation( ), "text") . "," . $ilDB->quote($this->getLocationType( ), "text") . "," . $ilDB->quote($this->getFormat( ), "text") . "," . $ilDB->quote($this->getWidth( ), "text") . "," . $ilDB->quote($this->getHeight( ), "text") . "," . $ilDB->quote($this->getHAlign( ), "text") . "," . $ilDB->quote($this->getCaption( ), "text") . "," . $ilDB->quote($this->getNr( ), "integer") . "," . $ilDB->quote($this->getTextRepresentation( ), "text") . "," . $ilDB->quote($this->getUploadHash( ), "text") . "," . $ilDB->quote($this->getDuration( ), "integer") . ")"1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"INSERT INTO mob_parameter (med_item_id, name, value) VALUES " . "(" . $ilDB->quote($item_id, "integer") . "," . $ilDB->quote($name, "text") . "," . $ilDB->quote($value, "text") . ")"1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"UPDATE media_item SET " . " mob_id = " . $ilDB->quote($this->getMobId( ), "integer") . "," . " purpose = " . $ilDB->quote($this->getPurpose( ), "text") . "," . " location = " . $ilDB->quote($this->getLocation( ), "text") . "," . " location_type = " . $ilDB->quote($this->getLocationType( ), "text") . "," . " format = " . $ilDB->quote($this->getFormat( ), "text") . "," . " width = " . $ilDB->quote($this->getWidth( ), "text") . "," . " height = " . $ilDB->quote($this->getHeight( ), "text") . "," . " halign = " . $ilDB->quote($this->getHAlign( ), "text") . "," . " caption = " . $ilDB->quote($this->getCaption( ), "text") . "," . " nr = " . $ilDB->quote($this->getNr( ), "integer") . "," . " text_representation = " . $ilDB->quote($this->getTextRepresentation( ), "text") . "," . " upload_hash = " . $ilDB->quote($this->getUploadHash( ), "text") . "," . " duration = " . $ilDB->quote($this->getDuration( ), "integer") . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"DELETE FROM mob_parameter WHERE med_item_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"INSERT INTO mob_parameter (med_item_id, name, value) VALUES " . "(" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($name, "text") . "," . $ilDB->quote($value, "text") . ")"1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"INSERT INTO mob_parameter (med_item_id, name, value) VALUES " . "(" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($a_name, "text") . "," . $ilDB->quote($a_value, "text") . ")"1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM media_item WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM media_item WHERE mob_id = " . $ilDB->quote($this->getMobId( ), "integer") . " " . "AND nr=" . $ilDB->quote($this->getNr( ), "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM mob_parameter WHERE med_item_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"UPDATE media_item SET tried_thumb = " . $ilDB->quote($a_tried, "text") . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM media_item WHERE mob_id = " . $ilDB->quote($a_mob_id, "integer") . " " . "AND purpose = " . $ilDB->quote($a_purpose, "text")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM media_item WHERE id = " . $ilDB->quote($a_med_id, "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM media_item WHERE mob_id = " . $ilDB->quote($a_mobId, "integer") . " " . "AND purpose=" . $ilDB->quote($a_purpose, "text") . " ORDER BY nr"1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM media_item WHERE mob_id = " . $ilDB->quote($a_mob->getId( ), "integer") . " " . "ORDER BY nr"1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM mob_parameter WHERE med_item_id = " . $ilDB->quote($item_rec["id"], "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM media_item WHERE mob_id = " . $ilDB->quote($a_mob_id, "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"DELETE FROM mob_parameter WHERE med_item_id = " . $ilDB->quote($item_rec["id"], "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"DELETE FROM map_area WHERE item_id = " . $ilDB->quote($item_rec["id"], "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"DELETE FROM media_item WHERE mob_id = " . $ilDB->quote($a_mob_id, "integer")1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM media_item WHERE mob_id = " . $ilDB->quote($a_mob_id, "integer") . " " . "ORDER BY nr"1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM media_item WHERE mob_id = " . $ilDB->quote($a_mob_id, "integer") . " ORDER BY nr"1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM media_item " . " WHERE upload_hash = %s "1
  • /components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
"SELECT * FROM object_data od LEFT JOIN mob_data md ON (od.obj_id = md.id) WHERE od.type='mob' AND (rid='' OR rid IS NULL) LIMIT 1;"1
  • /components/ILIAS/MediaObjects/classes/Setup/class.ilMobMigration.php
"SELECT COUNT(od.obj_id) amount FROM object_data od LEFT JOIN mob_data md ON (od.obj_id = md.id) WHERE od.type='mob' AND (rid='' OR rid IS NULL)"1
  • /components/ILIAS/MediaObjects/classes/Setup/class.ilMobMigration.php
"SELECT * FROM settings " . " WHERE module = %s AND keyword = %s "1
  • /components/ILIAS/MediaObjects/classes/Setup/class.ilMediaObjectsDBUpdateSteps.php
"SELECT id FROM mob_usage" . " WHERE usage_type = " . $ilDB->quote($a_type, "text") . " AND usage_id = " . $ilDB->quote($a_id, "integer") . " AND usage_lang = " . $ilDB->quote($a_lang, "text") . $and_hist1
  • /components/ILIAS/MediaObjects/MediaObject/class.ilObjMediaObject.php
"DELETE FROM mob_usage WHERE usage_type = " . $ilDB->quote($a_type, "text") . " AND usage_id= " . $ilDB->quote($a_id, "integer") . " AND usage_lang = " . $ilDB->quote($a_lang, "text") . $and_hist1
  • /components/ILIAS/MediaObjects/MediaObject/class.ilObjMediaObject.php
"SELECT * FROM mob_usage WHERE " . "usage_type = " . $ilDB->quote($a_type, "text") . " AND " . "usage_id = " . $ilDB->quote($a_id, "integer") . $lstr . $hist_str1
  • /components/ILIAS/MediaObjects/MediaObject/class.ilObjMediaObject.php
"DELETE FROM mob_usage WHERE " . " id = " . $ilDB->quote($a_mob_id, "integer") . " AND " . " usage_type = " . $ilDB->quote($a_type, "text") . " AND " . " usage_id = " . $ilDB->quote($a_id, "integer") . " AND " . " usage_lang = " . $ilDB->quote($a_lang, "text") . " AND " . " usage_hist_nr = " . $ilDB->quote($a_usage_hist_nr, "integer")1
  • /components/ILIAS/MediaObjects/MediaObject/class.ilObjMediaObject.php
"SELECT DISTINCT usage_type, usage_id, usage_lang" . $hist_str . " FROM mob_usage WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/MediaObjects/MediaObject/class.ilObjMediaObject.php
"SELECT DISTINCT mep_id FROM mep_tree JOIN mep_item ON (child = obj_id) WHERE mep_item.foreign_id = " . $ilDB->quote($a_id, "integer") . " AND mep_item.type = " . $ilDB->quote("mob", "text")1
  • /components/ILIAS/MediaObjects/MediaObject/class.ilObjMediaObject.php
"SELECT DISTINCT mob_id FROM media_item it, map_area area " . " WHERE area.item_id = it.id " . " AND area.link_type = " . $ilDB->quote("int", "text") . " " . " AND area.target = " . $ilDB->quote("il__mob_" . $a_id, "text")1
  • /components/ILIAS/MediaObjects/MediaObject/class.ilObjMediaObject.php
'SELECT * FROM mob_data WHERE id = %s'1
  • /components/ILIAS/MediaObjects/MediaObject/MediaObjectRepository.php
'DELETE FROM mob_data WHERE id = %s'1
  • /components/ILIAS/MediaObjects/MediaObject/MediaObjectRepository.php
"SELECT * FROM mob_data " . " WHERE id = %s "1
  • /components/ILIAS/MediaObjects/MediaObject/MediaObjectRepository.php
"SELECT DISTINCT(id) FROM mob_usage" . " WHERE usage_type = " . $db->quote($a_type, "text") . " AND usage_id = " . $db->quote($a_id, "integer") . " AND usage_lang = " . $db->quote($a_lang, "text") . $and_hist1
  • /components/ILIAS/MediaObjects/Usage/class.UsageDBRepository.php
"DELETE FROM mob_usage WHERE usage_type = " . $db->quote($a_type, "text") . " AND usage_id= " . $db->quote($a_id, "integer") . " AND usage_lang = " . $db->quote($a_lang, "text") . $and_hist1
  • /components/ILIAS/MediaObjects/Usage/class.UsageDBRepository.php
"SELECT id FROM mob_data WHERE rid = %s;"1
  • /components/ILIAS/MediaObjects/IRSS/class.ilMobStakeholder.php
'SELECT title FROM didactic_tpl_settings ' . 'WHERE title = ' . $db->quote($a_orig_title, 'text')1
  • /components/ILIAS/DidacticTemplate/classes/class.ilDidacticTemplateCopier.php
'INSERT INTO didactic_tpl_abr (action_id,filter_type) ' . 'VALUES( ' . $this->db->quote($this->getActionId( ), \ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($this->getFilterType( ), \ilDBConstants::T_INTEGER) . ' ' . ')'1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateBlockRoleAction.php
'DELETE FROM didactic_tpl_abr ' . 'WHERE action_id = ' . $this->db->quote($this->getActionId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateBlockRoleAction.php
'SELECT * FROM didactic_tpl_abr ' . 'WHERE action_id = ' . $this->db->quote($this->getActionId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateBlockRoleAction.php
'INSERT INTO didactic_tpl_alp (action_id,filter_type,template_type,template_id) ' . 'VALUES( ' . $this->db->quote($this->getActionId( ), 'integer') . ', ' . $this->db->quote($this->getFilterType( ), 'integer') . ', ' . $this->db->quote($this->getRoleTemplateType( ), 'integer') . ', ' . $this->db->quote($this->getRoleTemplateId( ), 'integer') . ' ' . ')'1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateLocalPolicyAction.php
'DELETE FROM didactic_tpl_alp ' . 'WHERE action_id = ' . $this->db->quote($this->getActionId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateLocalPolicyAction.php
'SELECT * FROM didactic_tpl_alp ' . 'WHERE action_id = ' . $this->db->quote($this->getActionId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateLocalPolicyAction.php
'SELECT obj_id FROM object_data ' . 'WHERE title = ' . $this->db->quote($rolt_title, 'text') . ' ' . 'AND type = ' . $this->db->quote('rolt', 'text')1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateLocalPolicyAction.php
'SELECT id, type_id FROM didactic_tpl_a ' . 'WHERE tpl_id = ' . $ilDB->quote($a_tpl_id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateActionFactory.php
'INSERT INTO didactic_tpl_alr (action_id,role_template_id) ' . 'VALUES ( ' . $this->db->quote($this->getActionId( ), 'integer') . ', ' . $this->db->quote($this->getRoleTemplateId( ), 'integer') . ' ' . ') '1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateLocalRoleAction.php
'DELETE FROM didactic_tpl_alr ' . 'WHERE action_id = ' . $this->db->quote($this->getActionId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateLocalRoleAction.php
'SELECT * FROM didactic_tpl_alr ' . 'WHERE action_id = ' . $this->db->quote($this->getActionId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateLocalRoleAction.php
'INSERT INTO didactic_tpl_a (id, tpl_id, type_id) ' . 'VALUES( ' . $this->db->quote($this->getActionId( ), 'integer') . ', ' . $this->db->quote($this->getTemplateId( ), 'integer') . ', ' . $this->db->quote($this->getType( ), 'integer') . ')'1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateAction.php
'DELETE FROM didactic_tpl_a ' . 'WHERE id = ' . $this->db->quote($this->getActionId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateAction.php
'SELECT * FROM didactic_tpl_a ' . 'WHERE id = ' . $this->db->quote($this->getActionId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Action/class.ilDidacticTemplateAction.php
'SELECT pattern_id,pattern_type FROM didactic_tpl_fp ' . 'WHERE parent_id = ' . $ilDB->quote($a_parent_id, ilDBConstants::T_INTEGER) . ' ' . 'AND parent_type = ' . $ilDB->quote($a_parent_type, 'text')1
  • /components/ILIAS/DidacticTemplate/classes/Pattern/class.ilDidacticTemplateFilterPatternFactory.php
'UPDATE didactic_tpl_fp ' . 'SET ' . 'pattern_type = ' . $this->db->quote($this->getPatternType( ), 'integer') . ', ' . 'pattern_sub_type = ' . $this->db->quote($this->getPatternSubType( ), 'integer') . ' ' . 'pattern = ' . $this->db->quote($this->getPattern( ), 'text') . ' ' . 'parent_id = ' . $this->db->quote($this->getParentId( ), 'integer') . ', ' . 'parent_type = ' . $this->db->quote($this->getParentType( ), 'text') . ', ' . 'WHERE pattern_id = ' . $this->db->quote($this->getPatternId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Pattern/class.ilDidacticTemplateFilterPattern.php
'INSERT INTO didactic_tpl_fp (pattern_id,pattern_type,pattern_sub_type,pattern,parent_id,parent_type) ' . 'VALUES ( ' . $this->db->quote($this->getPatternId( ), 'integer') . ', ' . $this->db->quote($this->getPatternType( ), 'integer') . ', ' . $this->db->quote($this->getPatternSubType( ), 'integer') . ', ' . $this->db->quote($this->getPattern( ), 'text') . ', ' . $this->db->quote($this->getParentId( ), 'integer') . ', ' . $this->db->quote($this->getParentType( ), 'text') . ' ' . ')'1
  • /components/ILIAS/DidacticTemplate/classes/Pattern/class.ilDidacticTemplateFilterPattern.php
'DELETE FROM didactic_tpl_fp ' . 'WHERE pattern_id = ' . $this->db->quote($this->getPatternId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Pattern/class.ilDidacticTemplateFilterPattern.php
'SELECT * FROM didactic_tpl_fp ' . 'WHERE pattern_id = ' . $this->db->quote($this->getPatternId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Pattern/class.ilDidacticTemplateFilterPattern.php
'select distinct (obj_type) from didactic_tpl_sa ' . 'group by obj_type'1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSettings.php
'DELETE FROM didactic_tpl_settings ' . 'WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSetting.php
'INSERT INTO didactic_tpl_settings (id,enabled,title,description,info,type,auto_generated,exclusive_tpl,icon_ide) ' . 'VALUES( ' . $this->db->quote($this->getId( ), 'integer') . ', ' . $this->db->quote($this->isEnabled( ), 'integer') . ', ' . $this->db->quote($this->getTitle( ), 'text') . ', ' . $this->db->quote($this->getDescription( ), 'text') . ', ' . $this->db->quote($this->getInfo( ), 'text') . ', ' . $this->db->quote($this->getType( ), 'integer') . ', ' . $this->db->quote((int) $this->isAutoGenerated( ), 'integer') . ', ' . $this->db->quote((int) $this->isExclusive( ), 'integer') . ', ' . $this->db->quote($this->getIconIdentifier( ), ilDBConstants::T_TEXT) . ' ' . ')'1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSetting.php
'INSERT INTO didactic_tpl_sa (id,obj_type) ' . 'VALUES( ' . $this->db->quote($this->getId( ), 'integer') . ', ' . $this->db->quote($a_obj_type, 'text') . ')'1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSetting.php
'INSERT INTO didactic_tpl_en (id,node) ' . 'VALUES ' . implode(', ', $values)1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSetting.php
'DELETE FROM didactic_tpl_en ' . 'WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSetting.php
'SELECT * FROM didactic_tpl_en ' . 'WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSetting.php
'UPDATE didactic_tpl_settings ' . 'SET ' . 'enabled = ' . $this->db->quote($this->isEnabled( ), 'integer') . ', ' . 'title = ' . $this->db->quote($this->getTitle( ), 'text') . ', ' . 'description = ' . $this->db->quote($this->getDescription( ), 'text') . ', ' . 'info = ' . $this->db->quote($this->getInfo( ), 'text') . ', ' . 'type = ' . $this->db->quote($this->getType( ), 'integer') . ', ' . 'exclusive_tpl = ' . $this->db->quote((int) $this->isExclusive( ), 'integer') . ', ' . 'icon_ide = ' . $this->db->quote($this->getIconIdentifier( ), ilDBConstants::T_TEXT) . ' ' . 'WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSetting.php
'SELECT * FROM didactic_tpl_settings dtpl ' . 'WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSetting.php
'SELECT * FROM didactic_tpl_sa ' . 'WHERE id = ' . $this->db->quote($this->getId( ), 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSetting.php
'SELECT tpl_id FROM didactic_tpl_objs ' . 'WHERE ref_id = ' . $ilDB->quote($a_ref_id, 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateObjSettings.php
'DELETE FROM didactic_tpl_objs ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateObjSettings.php
'DELETE FROM didactic_tpl_objs ' . 'WHERE tpl_id = ' . $ilDB->quote($a_tpl_id, 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateObjSettings.php
'DELETE FROM didactic_tpl_objs ' . 'WHERE ref_id = ' . $ilDB->quote($a_ref_id, 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateObjSettings.php
'INSERT INTO didactic_tpl_objs (ref_id,obj_id,tpl_id) ' . 'VALUES ( ' . $ilDB->quote($a_ref_id, 'integer') . ', ' . $ilDB->quote($a_obj_id, 'integer') . ', ' . $ilDB->quote($a_tpl_id, 'integer') . ' ' . ')'1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateObjSettings.php
'SELECT * FROM didactic_tpl_objs ' . 'WHERE tpl_id = ' . $ilDB->quote($a_tpl_id, 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateObjSettings.php
'select * from didactic_tpl_objs ' . 'where ' . $db->in('tpl_id', $template_ids, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateObjSettings.php
'SELECT auto_generated FROM didactic_tpl_settings ' . 'WHERE id = ' . $ilDB->quote($a_src, 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateObjSettings.php
'UPDATE didactic_tpl_settings ' . 'SET ' . 'auto_generated = ' . $ilDB->quote(1, 'integer') . ' WHERE id = ' . $ilDB->quote($a_dest, 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateObjSettings.php
'UPDATE didactic_tpl_settings ' . 'SET ' . 'auto_generated = ' . $ilDB->quote(0, 'integer') . ' WHERE id = ' . $ilDB->quote($a_src, 'integer')1
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateObjSettings.php
"SELECT usr_id FROM ut_lp_marks WHERE " . " obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . " status_dirty = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
"SELECT count(usr_id) cnt FROM ut_lp_marks WHERE " . " obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . $ilDB->in("usr_id", $a_users, false, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
"SELECT usr_id,status,status_dirty FROM ut_lp_marks WHERE " . " obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . " usr_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
"UPDATE ut_lp_marks SET " . " status = " . $ilDB->quote($a_status, "integer") . "," . " status_changed = " . $ilDB->now( ) . "," . " status_dirty = " . $ilDB->quote(0, "integer") . " WHERE usr_id = " . $ilDB->quote($a_user_id, "integer") . " AND obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
"UPDATE ut_lp_marks SET " . " status_dirty = " . $ilDB->quote(0, "integer") . " WHERE usr_id = " . $ilDB->quote($a_user_id, "integer") . " AND obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
"UPDATE ut_lp_marks SET " . " percentage = " . $ilDB->quote($a_percentage, "integer") . " WHERE usr_id = " . $ilDB->quote($a_user_id, "integer") . " AND obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
'Update dependecies is ' . ($update_dependencies ? 'true' : 'false')1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
'update dependencies'1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
"SELECT ut_lp_collections.obj_id obj_id FROM " . "object_reference JOIN ut_lp_collections ON " . "(object_reference.obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND object_reference.ref_id = ut_lp_collections.item_id)"1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
'update references'1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
'select obj_id from container_reference ' . 'where target_obj_id = ' . $ilDB->quote($a_obj_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
"SELECT usr_id, status FROM ut_lp_marks WHERE " . " obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . " usr_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
"UPDATE ut_lp_marks SET " . " status_dirty = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
"UPDATE ut_lp_marks SET " . " status_dirty = " . $ilDB->quote(1, "integer") . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
"SELECT percentage FROM ut_lp_marks WHERE " . " status_dirty = " . $ilDB->quote(0, "integer") . " AND usr_id = " . $ilDB->quote($a_user_id, "integer") . " AND obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
"SELECT usr_id, status, status_dirty FROM ut_lp_marks" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND status = " . $ilDB->quote($a_status, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
"SELECT status, status_dirty, obj_id FROM ut_lp_marks" . " WHERE " . $ilDB->in("obj_id", $a_obj_ids, "", "integer") . " AND usr_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php
'SELECT online_time FROM ut_online WHERE usr_id = ' . $ilDB->quote($a_user_id, 'integer')1
  • /components/ILIAS/Tracking/classes/class.ilOnlineTracking.php
'SELECT access_time FROM ut_online WHERE usr_id = ' . $ilDB->quote($a_user_id, 'integer')1
  • /components/ILIAS/Tracking/classes/class.ilOnlineTracking.php
'INSERT INTO ut_online (usr_id, access_time) VALUES (%s, %s)'1
  • /components/ILIAS/Tracking/classes/class.ilOnlineTracking.php
'SELECT access_time FROM ut_online WHERE usr_id = ' . $ilDB->quote($user->getId( ), 'integer')1
  • /components/ILIAS/Tracking/classes/class.ilOnlineTracking.php
'UPDATE ut_online SET online_time = online_time + %s, access_time = %s WHERE usr_id = %s'1
  • /components/ILIAS/Tracking/classes/class.ilOnlineTracking.php
'UPDATE ut_online SET access_time = %s WHERE usr_id = %s'1
  • /components/ILIAS/Tracking/classes/class.ilOnlineTracking.php
"DELETE FROM ut_lp_marks " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Tracking/classes/class.ilLPMarks.php
"UPDATE ut_lp_marks " . "SET mark = " . $this->db->quote($this->getMark( ), 'text') . ", " . "u_comment = " . $this->db->quote($this->getComment( ), 'text') . ", " . "completed = " . $this->db->quote($this->getCompleted( ), 'integer') . " " . "WHERE obj_id = " . $this->db->quote($this->getObjId( ), 'integer') . " " . "AND usr_id = " . $this->db->quote($this->getUserId( ), 'integer')1
  • /components/ILIAS/Tracking/classes/class.ilLPMarks.php
"SELECT * FROM ut_lp_marks " . "WHERE usr_id = " . $ilDB->quote($user_id, 'integer') . " AND status = " . $ilDB->quote(ilLPStatus::LP_STATUS_COMPLETED_NUM, 'integer') . " AND status_changed >= " . $ilDB->quote($from, "timestamp") . " AND status_changed <= " . $ilDB->quote($to, "timestamp")1
  • /components/ILIAS/Tracking/classes/class.ilLPMarks.php
"SELECT * FROM ut_lp_marks " . "WHERE obj_id = " . $this->db->quote($this->obj_id, 'integer') . " " . "AND usr_id = " . $this->db->quote($this->usr_id, 'integer')1
  • /components/ILIAS/Tracking/classes/class.ilLPMarks.php
"INSERT INTO ut_lp_marks (mark,u_comment, completed,obj_id,usr_id) " . "VALUES( " . $this->db->quote($this->getMark( ), 'text') . ", " . $this->db->quote($this->getComment( ), 'text') . ", " . $this->db->quote($this->getCompleted( ), 'integer') . ", " . $this->db->quote($this->getObjId( ), 'integer') . ", " . $this->db->quote($this->getUserId( ), 'integer') . " " . ")"1
  • /components/ILIAS/Tracking/classes/class.ilLPMarks.php
"DELETE FROM ut_lp_marks" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . $ilDB->in("usr_id", $a_user_ids, "", "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPMarks.php
"SELECT usr_id FROM ut_lp_marks" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPMarks.php
'DELETE FROM read_event WHERE usr_id = %s '1
  • /components/ILIAS/Tracking/classes/class.ilObjUserTracking.php
'DELETE FROM write_event WHERE usr_id = %s '1
  • /components/ILIAS/Tracking/classes/class.ilObjUserTracking.php
"DELETE FROM ut_lp_marks WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Tracking/classes/class.ilObjUserTracking.php
"DELETE FROM ut_online WHERE usr_id = " . $ilDB->quote($a_usr_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilObjUserTracking.php
'SELECT r2.obj_id par_obj_id FROM object_reference r1 ' . 'JOIN tree t ON t.child = r1.ref_id ' . 'JOIN object_reference r2 ON r2.ref_id = t.parent ' . 'WHERE r1.obj_id = ' . $ilDB->quote($obj_id, 'integer')1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
'INSERT INTO write_event ' . '(write_id, obj_id, parent_obj_id, usr_id, action, ts) VALUES ' . '(%s, %s, %s, %s, %s, ' . $ilDB->now( ) . ')'1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
'INSERT INTO write_event ' . '(write_id, obj_id, parent_obj_id, usr_id, action, ts) ' . 'VALUES (%s,%s,%s,%s,%s,' . $ilDB->now( ) . ')'1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
'UPDATE read_event SET ' . $read_count . 'spent_seconds = %s, ' . 'last_access = %s ' . 'WHERE obj_id = %s ' . 'AND usr_id = %s '1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
'UPDATE read_event SET ' . 'childs_read_count = childs_read_count + %s ,' . 'childs_spent_seconds = childs_spent_seconds + %s ' . 'WHERE obj_id = %s ' . 'AND usr_id = %s '1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
"INSERT INTO obj_stat_tmp" . " SELECT * FROM obj_stat_log" . " WHERE tstamp < " . $ilDB->quote($a_now, "timestamp")1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
"DELETE FROM obj_stat_log" . " WHERE tstamp < " . $ilDB->quote($a_now, "timestamp")1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
"SELECT obj_id, obj_type, yyyy, mm, dd, hh, SUM(read_count) AS read_count," . " SUM(childs_read_count) AS childs_read_count, SUM(spent_seconds) AS spent_seconds," . " SUM(childs_spent_seconds) AS childs_spent_seconds" . " FROM obj_stat_tmp" . " GROUP BY obj_id, obj_type, yyyy, mm, dd, hh"1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
"SELECT read_count, childs_read_count, spent_seconds," . "childs_spent_seconds" . " FROM obj_stat" . " WHERE " . $where_sql1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
"DELETE FROM obj_stat_tmp"1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
'SELECT * FROM read_event ' . 'WHERE obj_id = %s ' . 'ORDER BY last_access DESC'1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
'SELECT * FROM read_event ' . 'WHERE obj_id = %s ' . 'AND usr_id = %s ' . 'ORDER BY last_access DESC'1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
'SELECT DISTINCT(usr_id) usr FROM read_event ' . 'WHERE obj_id = %s '1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
"SELECT usr_id FROM read_event WHERE " . "obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . "usr_id = " . $ilDB->quote($a_usr_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
'SELECT r1.obj_id,r2.obj_id p,d.owner,%s,d.create_date ' . 'FROM object_data d ' . 'LEFT JOIN write_event w ON d.obj_id = w.obj_id ' . 'JOIN object_reference r1 ON d.obj_id=r1.obj_id ' . 'JOIN tree t ON t.child=r1.ref_id ' . 'JOIN object_reference r2 on r2.ref_id=t.parent ' . 'WHERE w.obj_id IS NULL'1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
'INSERT INTO write_event ' . '(write_id, obj_id,parent_obj_id,usr_id,action,ts) VALUES (' . $ilDB->quote($nid, "integer") . "," . $ilDB->quote($rec["obj_id"], "integer") . "," . $ilDB->quote($rec["p"], "integer") . "," . $ilDB->quote($rec["owner"], "integer") . "," . $ilDB->quote("create", "text") . "," . $ilDB->quote($rec["create_date"], "timestamp") . ')'1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
'DELETE FROM write_event WHERE obj_id = %s '1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
'DELETE FROM read_event WHERE obj_id = %s '1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
"DELETE FROM read_event" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
"DELETE FROM read_event" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND " . $ilDB->in("usr_id", $a_user_ids, "", "integer")1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
"SELECT usr_id FROM read_event" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
'UPDATE read_event SET first_access=%s, last_access = %s WHERE obj_id=%s AND usr_id=%s'1
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php
"INSERT INTO ut_lp_settings (obj_id,obj_type,u_mode,visits) " . "VALUES( " . $this->db->quote($a_new_obj_id, 'integer') . ", " . $this->db->quote($this->getObjType( ), 'text') . ", " . $this->db->quote($this->getMode( ), 'integer') . ", " . $this->db->quote($this->getVisits( ), 'integer') . ")"1
  • /components/ILIAS/Tracking/classes/class.ilLPObjSettings.php
"SELECT * FROM ut_lp_settings WHERE obj_id = " . $this->db->quote($this->obj_id, 'integer')1
  • /components/ILIAS/Tracking/classes/class.ilLPObjSettings.php
"UPDATE ut_lp_settings SET u_mode = " . $this->db->quote($this->getMode( ), 'integer') . ", " . "visits = " . $this->db->quote($this->getVisits( ), 'integer') . " " . "WHERE obj_id = " . $this->db->quote($this->getObjId( ), 'integer')1
  • /components/ILIAS/Tracking/classes/class.ilLPObjSettings.php
"INSERT INTO ut_lp_settings (obj_id,obj_type,u_mode,visits) " . "VALUES(" . $this->db->quote($this->getObjId( ), 'integer') . ", " . $this->db->quote($this->getObjType( ), 'text') . ", " . $this->db->quote($this->getMode( ), 'integer') . ", " . $this->db->quote($this->getVisits( ), 'integer') . ")"1
  • /components/ILIAS/Tracking/classes/class.ilLPObjSettings.php
"DELETE FROM ut_lp_settings WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Tracking/classes/class.ilLPObjSettings.php
"SELECT visits FROM ut_lp_settings " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Tracking/classes/class.ilLPObjSettings.php
"SELECT obj_id, u_mode FROM ut_lp_settings" . " WHERE " . $ilDB->in("obj_id", $a_obj_ids, "", "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPObjSettings.php
"SELECT u_mode FROM ut_lp_settings" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPObjSettings.php
"DELETE FROM ut_lp_settings" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPObjSettings.php
"SELECT obj_id, view_mode FROM crs_settings" . " WHERE " . $ilDB->in("obj_id", $obj_ids, false, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT object_data.obj_id, title, CASE WHEN status IS NULL THEN " . ilLPStatus::LP_STATUS_NOT_ATTEMPTED_NUM . " ELSE status END AS status," . " status_changed, percentage, read_count+childs_read_count AS read_count, spent_seconds+childs_spent_seconds AS spent_seconds," . " u_mode, type, visits, mark, u_comment" . " FROM object_data" . " LEFT JOIN ut_lp_settings ON (ut_lp_settings.obj_id = object_data.obj_id)" . " LEFT JOIN read_event ON (read_event.obj_id = object_data.obj_id AND read_event.usr_id = " . $ilDB->quote($a_user_id, "integer") . ")" . " LEFT JOIN ut_lp_marks ON (ut_lp_marks.obj_id = object_data.obj_id AND ut_lp_marks.usr_id = " . $ilDB->quote($a_user_id, "integer") . ")" . " WHERE " . $ilDB->in("object_data.obj_id", $obj_ids, false, "integer") . " ORDER BY title"1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT crs_id, crs_objectives.objective_id AS obj_id, title," . $ilDB->quote("lobj", "text") . " AS type" . " FROM crs_objectives" . " WHERE " . $ilDB->in("crs_objectives.objective_id", $a_objective_ids, false, "integer") . " AND active = " . $ilDB->quote(1, "integer") . " ORDER BY position"1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT usr_id, field_id, value FROM udf_text WHERE " . $ilDB->in("field_id", $a_udf, false, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT usr_id FROM usr_pref WHERE keyword = " . $ilDB->quote("public_profile", "text") . " AND value = " . $ilDB->quote("y", "text") . " OR value = " . $ilDB->quote("g", "text")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT usr_id,keyword FROM usr_pref WHERE " . $ilDB->like("keyword", "text", "public_%", false) . " AND value = " . $ilDB->quote("y", "text") . " AND " . $ilDB->in("usr_id", $all_public, false, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT obj_id, title, e_start, e_end, CASE WHEN participated = 1 THEN 2 WHEN registered = 1 THEN 1 ELSE NULL END AS status," . " mark, e_comment" . " FROM event" . " JOIN event_appointment ON (event.obj_id = event_appointment.event_id)" . " LEFT JOIN event_participants ON (event_participants.event_id = event.obj_id AND usr_id = " . $ilDB->quote($a_user_id, "integer") . ")" . " WHERE " . $ilDB->in("obj_id", $obj_ids, false, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT obj_id,title,type FROM object_data" . " WHERE " . $ilDB->in("obj_id", $objects["object_ids"], false, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT COUNT(*) AS counter, " . $field . $alias . " " . $base_query . " GROUP BY " . $field . $having . " ORDER BY counter DESC"1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT COUNT(" . $count_field . ") AS cnt" . $item["query"]1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT " . implode(",", $item["fields"]) . $item["query"]1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT * FROM loc_user_results" . " WHERE " . $ilDB->in("objective_id", $objective_ids, false, "integer") . " AND " . $ilDB->in("user_id", $a_users, false, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT obj_id," . $column . ",SUM(read_count) read_count,SUM(childs_read_count) childs_read_count," . "SUM(spent_seconds) spent_seconds,SUM(childs_spent_seconds) childs_spent_seconds" . " FROM obj_stat" . " WHERE " . $ilDB->in("obj_id", $obj_ids, "", "integer") . " AND yyyy = " . $ilDB->quote($a_year, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT obj_id," . $column . ",SUM(counter) counter" . " FROM obj_user_stat" . " WHERE " . $ilDB->in("obj_id", $obj_ids, "", "integer") . " AND yyyy = " . $ilDB->quote($a_year, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT " . $tree->getObjectDataTable( ) . ".obj_id," . $tree->getObjectDataTable( ) . ".type," . $tree->getTreeTable( ) . "." . $tree->getTreePk( ) . "," . $tree->getTableReference( ) . ".ref_id" . " FROM " . $tree->getTreeTable( ) . " " . $tree->buildJoin( ) . " WHERE " . $ilDB->in($tree->getObjectDataTable( ) . ".type", $types, "", "text")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT od.obj_id,oref.wsp_id,od.type" . " FROM tree_workspace wst" . " JOIN object_reference_ws oref ON (oref.wsp_id = wst.child)" . " JOIN object_data od ON (oref.obj_id = od.obj_id)" . " WHERE od.type = " . $ilDB->quote("blog", "text")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT od.obj_id" . " FROM usr_portfolio prtf" . " JOIN object_data od ON (od.obj_id = prtf.id)"1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT obj_id,hh,SUM(read_count) read_count,SUM(childs_read_count) childs_read_count," . "SUM(spent_seconds) spent_seconds,SUM(childs_spent_seconds) childs_spent_seconds" . " FROM obj_stat" . " WHERE " . $ilDB->in("obj_id", $obj_ids, false, "integer") . " AND yyyy = " . $ilDB->quote($a_year, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT COUNT(*) AS COUNTER,yyyy,mm" . " FROM obj_stat" . " GROUP BY yyyy, mm" . " ORDER BY yyyy DESC, mm DESC"1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"DELETE FROM obj_stat" . " WHERE " . $date_compare1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"DELETE FROM " . $table . " WHERE fulldate >= " . $ilDB->quote($from, "integer") . " AND fulldate <= " . $ilDB->quote($to, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT r.ref_id,r.obj_id" . " FROM object_data o" . " JOIN object_reference r ON (o.obj_id = r.obj_id)" . " JOIN tree t ON (t.child = r.ref_id)" . " WHERE t.tree = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT COUNT(*) counter, MIN(tstamp) tstamp" . " FROM obj_stat_log"1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT obj_id," . $column . "," . "MIN(mem_cnt) mem_cnt_min,AVG(mem_cnt) mem_cnt_avg, MAX(mem_cnt) mem_cnt_max," . "MIN(in_progress) in_progress_min,AVG(in_progress) in_progress_avg,MAX(in_progress) in_progress_max," . "MIN(completed) completed_min,AVG(completed) completed_avg,MAX(completed) completed_max," . "MIN(failed) failed_min,AVG(failed) failed_avg,MAX(failed) failed_max," . "MIN(not_attempted) not_attempted_min,AVG(not_attempted) not_attempted_avg,MAX(not_attempted) not_attempted_max" . " FROM obj_lp_stat" . " WHERE " . $ilDB->in("obj_id", $a_obj_ids, false, "integer") . " AND yyyy = " . $ilDB->quote($a_year, "integer")1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"SELECT type,yyyy,mm," . $agg . "(cnt_objects) cnt_objects," . $agg . "(cnt_references) cnt_references," . "" . $agg . "(cnt_deleted) cnt_deleted FROM obj_type_stat" . " WHERE yyyy = " . $ilDB->quote($a_year, "integer") . " GROUP BY type,yyyy,mm"1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
'select min(yyyy) min from obj_type_stat'1
  • /components/ILIAS/Tracking/classes/class.ilTrQuery.php
"DELETE FROM obj_lp_stat WHERE" . " obj_id = " . $this->db->quote($crs_id, "integer") . " AND fulldate = " . $this->db->quote(date("Ymd", $this->date), "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPCronObjectStatistics.php
"DELETE FROM obj_type_stat WHERE" . " type = " . $this->db->quote($type, "text") . " AND fulldate = " . $this->db->quote(date("Ymd", $this->date), "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPCronObjectStatistics.php
"SELECT COUNT(DISTINCT(usr_id)) counter,obj_id FROM read_event" . " WHERE last_access >= " . $this->db->quote($this->date, "integer") . " AND last_access <= " . $this->db->quote($to, "integer") . " GROUP BY obj_id"1
  • /components/ILIAS/Tracking/classes/class.ilLPCronObjectStatistics.php
"DELETE FROM obj_user_stat" . " WHERE fulldate = " . $this->db->quote(date("Ymd", $this->date), "integer") . " AND obj_id = " . $this->db->quote($row["obj_id"], "integer")1
  • /components/ILIAS/Tracking/classes/class.ilLPCronObjectStatistics.php
"SELECT * FROM ut_lp_marks " . " WHERE status_changed >= " . $this->db->quote($this->getTimestamp( ), "timestamp")1
  • /components/ILIAS/Tracking/classes/class.ilLPXmlWriter.php
"SELECT utc.item_id, obd.type" . " FROM ut_lp_collections utc" . " JOIN object_reference obr ON item_id = ref_id" . " JOIN object_data obd ON obr.obj_id = obd.obj_id" . " WHERE utc.obj_id = " . $this->db->quote($a_obj_id, "integer") . " AND active = " . $this->db->quote(1, "integer") . " ORDER BY title"1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"INSERT INTO ut_lp_collections" . " (obj_id, lpmode, item_id, grouping_id, num_obligatory, active)" . " VALUES (" . $this->db->quote($this->obj_id, "integer") . ", " . $this->db->quote($this->mode, "integer") . ", " . $this->db->quote($a_item_id, "integer") . ", " . $this->db->quote(0, "integer") . ", " . $this->db->quote(0, "integer") . ", " . $this->db->quote(1, "integer") . ")"1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"DELETE FROM ut_lp_collections " . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer") . " AND item_id = " . $this->db->quote($a_item_id, "integer") . " AND grouping_id = " . $this->db->quote(0, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"SELECT item_id FROM ut_lp_collections" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND grouping_id > " . $ilDB->quote(0, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"SELECT item_id FROM ut_lp_collections" . " WHERE obj_id = " . $this->db->quote($this->obj_id, ilDBConstants::T_INTEGER) . " AND " . $this->db->in("item_id", $a_item_ids, false, ilDBConstants::T_INTEGER) . " AND grouping_id > " . $this->db->quote(0, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"SELECT grouping_id FROM ut_lp_collections" . " WHERE obj_id = " . $this->db->quote($this->obj_id, ilDBConstants::T_INTEGER) . " AND " . $this->db->in("item_id", $a_item_ids, false, ilDBConstants::T_INTEGER) . " AND grouping_id > " . $this->db->quote(0, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"UPDATE ut_lp_collections" . " SET active = " . $this->db->quote(0, "integer") . " WHERE " . $this->db->in("grouping_id", $grouping_ids, false, "integer") . " AND obj_id = " . $this->db->quote($this->obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"UPDATE ut_lp_collections" . " SET active = " . $this->db->quote(1, "integer") . " WHERE " . $this->db->in("grouping_id", $grouping_ids, false, "integer") . " AND obj_id = " . $this->db->quote($this->obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"SELECT item_id FROM ut_lp_collections" . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer") . " AND " . $this->db->in("grouping_id", $grouping_ids, false, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"SELECT MAX(grouping_id) grp FROM ut_lp_collections" . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer") . " GROUP BY obj_id"1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"UPDATE ut_lp_collections SET" . " grouping_id = " . $this->db->quote($grp_id, "integer") . ", num_obligatory = " . $this->db->quote($a_num_obligatory, "integer") . ", active = " . $this->db->quote(1, "integer") . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer") . " AND " . $this->db->in("item_id", $all_item_ids, false, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"UPDATE ut_lp_collections" . " SET grouping_id = " . $this->db->quote(0, "integer") . ", num_obligatory = " . $this->db->quote(0, "integer") . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer") . " AND " . $this->db->in("grouping_id", $grouping_ids, false, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"SELECT count(obj_id) num FROM ut_lp_collections" . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer") . " AND grouping_id = " . $this->db->quote($grouping_id, 'integer') . " GROUP BY obj_id"1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"UPDATE ut_lp_collections" . " SET num_obligatory = " . $this->db->quote($num, "integer") . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer") . " AND grouping_id = " . $this->db->quote($grouping_id, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"SELECT grouping_id FROM ut_lp_collections" . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer") . " AND item_id = " . $this->db->quote($item_id, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
"SELECT item_id, num_obligatory FROM ut_lp_collections" . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer") . " AND grouping_id = " . $this->db->quote($grouping_id, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
" SELECT * FROM ut_lp_collections" . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer") . " AND active = " . $this->db->quote(1, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfRepositoryObjects.php
'SELECT import_id, identifierref FROM sc_item WHERE obj_id = ' . $DIC->database( )->quote($item_a_id, 'integer')1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfSCOs.php
'SELECT import_id, identifierref FROM sc_item WHERE obj_id = ' . $DIC->database( )->quote($item_b_id, 'integer')1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfSCOs.php
'SELECT id, resourceid FROM cp_item WHERE cp_node_id = ' . $DIC->database( )->quote($item_a_id, 'integer')1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfSCOs.php
'SELECT id, resourceid FROM cp_item WHERE cp_node_id = ' . $DIC->database( )->quote($item_b_id, 'integer')1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollectionOfSCOs.php
"SELECT * FROM ut_lp_collections" . " WHERE obj_id = " . $this->db->quote($a_obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollection.php
"DELETE FROM ut_lp_collections" . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollection.php
"DELETE FROM ut_lp_coll_manual" . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollection.php
"INSERT INTO ut_lp_collections" . " (obj_id, lpmode, item_id)" . " VALUES (" . $this->db->quote($this->obj_id, "integer") . ", " . $this->db->quote($this->mode, "integer") . ", " . $this->db->quote($a_item_id, "integer") . ")"1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollection.php
"DELETE FROM ut_lp_collections" . " WHERE obj_id = " . $this->db->quote($this->obj_id, "integer") . " AND item_id = " . $this->db->quote($a_item_id, "integer")1
  • /components/ILIAS/Tracking/classes/collection/class.ilLPCollection.php
"SELECT obj_id,usr_id,spent_seconds" . " FROM lm_read_event" . " WHERE " . $ilDB->in("obj_id", $chapter_ids, "", "integer")1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusCollectionTLT.php
'select status,usr_id from ut_lp_marks ' . 'where obj_id = ' . $database->quote($this->target_obj_id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusCourseReference.php
"SELECT lm_data.obj_id" . " FROM lm_data" . " JOIN lm_tree ON (lm_tree.child = lm_data.obj_id)" . " WHERE lm_tree.lm_id = " . $ilDB->quote($a_obj_id, "integer") . " AND lm_data.type = " . $ilDB->quote("pg", "text")1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusVisitedPages.php
"SELECT obj_id, usr_id" . " FROM lm_read_event" . " WHERE " . $ilDB->in("obj_id", $all_page_ids, "", "integer")1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusVisitedPages.php
" SELECT tst_active.active_id, tst_active.tries, count(tst_sequence.active_fi) " . $this->db->quoteIdentifier("sequences") . ", tst_active.last_finished_pass, CASE WHEN (tst_tests.nr_of_tries - 1) = tst_active.last_finished_pass THEN '1' ELSE '0' END is_last_pass FROM tst_active LEFT JOIN tst_sequence ON tst_sequence.active_fi = tst_active.active_id LEFT JOIN tst_tests ON tst_tests.test_id = tst_active.test_fi WHERE tst_active.user_fi = {$this->db->quote($a_usr_id, "integer")} AND tst_active.test_fi = {$this->db->quote(ilObjTestAccess::_getTestIDFromObjectID($a_obj_id), ilDBConstants::T_INTEGER)} GROUP BY tst_active.active_id, tst_active.tries, is_last_pass "1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusTestPassed.php
"SELECT tst_result_cache.*, tst_active.user_fi FROM " . "tst_result_cache JOIN tst_active ON (tst_active.active_id = tst_result_cache.active_fi)" . " JOIN tst_tests ON (tst_tests.test_id = tst_active.test_fi) " . " WHERE tst_tests.obj_fi = " . $this->db->quote($a_obj_id, "integer") . " AND tst_active.user_fi = " . $this->db->quote($a_usr_id, "integer")1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusTestPassed.php
"SELECT survey_id FROM svy_svy" . " WHERE obj_fi = " . $ilDB->quote($a_obj_id)1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusSurveyFinished.php
"SELECT user_fi FROM svy_finished fin" . " WHERE fin.survey_fi = " . $ilDB->quote($survey_id, "integer")1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusSurveyFinished.php
'select user_id from svy_invitation si ' . 'join svy_svy ss on ss.survey_id = si.survey_id ' . 'where obj_fi = ' . $db->quote($a_obj_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusSurveyFinished.php
"SELECT obj_id, usr_id FROM read_event" . " WHERE " . $ilDB->in("obj_id", $res["items"], "", "integer")1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusCollectionMobs.php
"SELECT usr_id" . " FROM ut_lp_marks" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND status = " . $ilDB->quote($a_status, "integer")1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusPlugin.php
"SELECT status" . " FROM ut_lp_marks" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND usr_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusPlugin.php
"SELECT percentage" . " FROM ut_lp_marks" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND usr_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusPlugin.php
"SELECT subitem_id, completed, usr_id, last_change" . " FROM ut_lp_coll_manual" . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusCollectionManual.php
"UPDATE ut_lp_coll_manual SET " . " completed = " . $ilDB->quote(in_array($item_id, $a_completed), "integer") . " , last_change = " . $ilDB->quote($now, "integer") . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . " AND usr_id = " . $ilDB->quote($a_user_id, "integer") . " AND subitem_id = " . $ilDB->quote($item_id, "integer")1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusCollectionManual.php
"INSERT INTO ut_lp_coll_manual" . "(obj_id,usr_id,subitem_id,completed,last_change)" . " VALUES (" . $ilDB->quote($a_obj_id, "integer") . " , " . $ilDB->quote($a_user_id, "integer") . " , " . $ilDB->quote($item_id, "integer") . " , " . $ilDB->quote(1, "integer") . " , " . $ilDB->quote($now, "integer") . ")"1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusCollectionManual.php
" SELECT active_id, user_fi, COUNT(tst_sequence.active_fi) sequences FROM tst_active LEFT JOIN tst_sequence ON tst_sequence.active_fi = tst_active.active_id WHERE tries = {$ilDB->quote(0, "integer")} AND test_fi = {$ilDB->quote(ilObjTestAccess::_getTestIDFromObjectID($a_obj_id), "integer")} GROUP BY active_id, user_fi HAVING COUNT(tst_sequence.active_fi) > {$ilDB->quote(0, "integer")} "1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusTestFinished.php
" SELECT active_id, user_fi, COUNT(tst_sequence.active_fi) sequences FROM tst_active LEFT JOIN tst_sequence ON tst_sequence.active_fi = tst_active.active_id WHERE tries > {$ilDB->quote(0, "integer")} AND test_fi = {$ilDB->quote(ilObjTestAccess::_getTestIDFromObjectID($a_obj_id))} GROUP BY active_id, user_fi HAVING COUNT(tst_sequence.active_fi) > {$ilDB->quote(0, "integer")} "1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusTestFinished.php
" SELECT active_id, user_fi, COUNT(tst_sequence.active_fi) sequences FROM tst_active LEFT JOIN tst_sequence ON tst_sequence.active_fi = tst_active.active_id WHERE test_fi = {$ilDB->quote(ilObjTestAccess::_getTestIDFromObjectID($a_obj_id))} GROUP BY active_id, user_fi HAVING COUNT(tst_sequence.active_fi) = {$ilDB->quote(0, "integer")} "1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusTestFinished.php
"SELECT DISTINCT user_fi FROM tst_active" . " WHERE test_fi = " . $ilDB->quote(ilObjTestAccess::_getTestIDFromObjectID($a_obj_id))1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusTestFinished.php
" SELECT active_id, user_fi, tries, COUNT(tst_sequence.active_fi) sequences FROM tst_active LEFT JOIN tst_sequence ON tst_sequence.active_fi = tst_active.active_id WHERE user_fi = {$this->db->quote($a_usr_id, "integer")} AND test_fi = {$this->db->quote(ilObjTestAccess::_getTestIDFromObjectID($a_obj_id), ilDBConstants::T_INTEGER)} GROUP BY active_id, user_fi, tries "1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusTestFinished.php
"SELECT * FROM crs_objectives WHERE " . $in1
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusObjectives.php
'SELECT show_block FROM ut_progress_block WHERE obj_id = ' . $this->db->quote($obj_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tracking/classes/View/ProgressBlock/Settings/Repository.php
'INSERT INTO ut_progress_block (obj_id, show_block) VALUES (' . $this->db->quote($obj_id, ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($show, ilDBConstants::T_INTEGER) . ') ON DUPLICATE KEY UPDATE show_block = ' . $this->db->quote($show, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Tracking/classes/View/ProgressBlock/Settings/Repository.php
"SELECT SELECT EXISTS(SELECT 1 FROM $this->lock_table WHERE token = " . $this->db->quote($token, 'text') . ") AS count"1
  • /components/ILIAS/WebDAV/classes/lock/class.ilWebDAVLocksRepository.php
"SELECT obj_id, ilias_owner, dav_owner, expires, depth, type, scope FROM $this->lock_table" . " WHERE token = " . $this->db->quote($token, 'text') . " AND expires > " . $this->db->quote(time( ), 'integer')1
  • /components/ILIAS/WebDAV/classes/lock/class.ilWebDAVLocksRepository.php
"SELECT token, ilias_owner, dav_owner, expires, depth, type, scope FROM $this->lock_table WHERE obj_id = " . $this->db->quote($obj_id, 'integer') . " AND expires > " . $this->db->quote(time( ), 'integer')1
  • /components/ILIAS/WebDAV/classes/lock/class.ilWebDAVLocksRepository.php
"DELETE FROM $this->lock_table WHERE token = " . $this->db->quote($token, "integer")1
  • /components/ILIAS/WebDAV/classes/lock/class.ilWebDAVLocksRepository.php
"DELETE FROM $this->lock_table WHERE expires < " . $this->db->quote(time( ), 'integer')1
  • /components/ILIAS/WebDAV/classes/lock/class.ilWebDAVLocksRepository.php
"SELECT max(sorting) as max_sort FROM " . $this->db->quoteIdentifier(self::TABLE_MOUNT_INSTRUCTIONS)1
  • /components/ILIAS/WebDAV/classes/mount_instructions/class.ilWebDAVMountInstructionsRepositoryImpl.php
"SELECT * FROM " . $this->db->quoteIdentifier(self::TABLE_MOUNT_INSTRUCTIONS) . " WHERE id=" . $this->db->quote($id, 'int')1
  • /components/ILIAS/WebDAV/classes/mount_instructions/class.ilWebDAVMountInstructionsRepositoryImpl.php
"SELECT * FROM " . $this->db->quoteIdentifier(self::TABLE_MOUNT_INSTRUCTIONS) . " WHERE lng=" . $this->db->quote($language, 'text')1
  • /components/ILIAS/WebDAV/classes/mount_instructions/class.ilWebDAVMountInstructionsRepositoryImpl.php
"SELECT * FROM " . $this->db->quoteIdentifier(self::TABLE_MOUNT_INSTRUCTIONS) . " ORDER BY sorting"1
  • /components/ILIAS/WebDAV/classes/mount_instructions/class.ilWebDAVMountInstructionsRepositoryImpl.php
"SELECT id FROM " . $this->db->quoteIdentifier(self::TABLE_MOUNT_INSTRUCTIONS) . " WHERE lng=" . $this->db->quote($language, 'text')1
  • /components/ILIAS/WebDAV/classes/mount_instructions/class.ilWebDAVMountInstructionsRepositoryImpl.php
"DELETE FROM " . $this->db->quoteIdentifier(self::TABLE_MOUNT_INSTRUCTIONS) . ' WHERE id=' . $this->db->quote($id, 'integer')1
  • /components/ILIAS/WebDAV/classes/mount_instructions/class.ilWebDAVMountInstructionsRepositoryImpl.php
'SELECT * FROM ' . $activeRecord->getConnectorContainerName( ) . ' ' . ' WHERE ' . arFieldCache::getPrimaryFieldName($activeRecord) . ' = ' . $ilDB->quote($activeRecord->getPrimaryFieldValue( ), arFieldCache::getPrimaryFieldType($activeRecord))1
  • /components/ILIAS/ActiveRecord/Connector/class.arConnectorDB.php
'DELETE FROM ' . $activeRecord->getConnectorContainerName( ) . ' WHERE ' . arFieldCache::getPrimaryFieldName($activeRecord) . ' = ' . $ilDB->quote($activeRecord->getPrimaryFieldValue( ), arFieldCache::getPrimaryFieldType($activeRecord))1
  • /components/ILIAS/ActiveRecord/Connector/class.arConnectorDB.php
'SELECT '1
  • /components/ILIAS/ActiveRecord/Connector/Select/class.arSelectCollection.php
"SELECT * FROM il_media_cast_data WHERE id = %s"1
  • /components/ILIAS/MediaCast/Settings/SettingsDBRepository.php
"DELETE FROM il_media_cast_data WHERE id = %s"1
  • /components/ILIAS/MediaCast/Settings/SettingsDBRepository.php
"INSERT INTO il_media_cast_data (" . " id" . ", is_online" . ", public_files" . ", downloadable" . ", def_access" . ", sortmode" . ", viewmode" . ", autoplaymode" . ", nr_initial_videos" . ", new_items_in_lp" . " ) VALUES (" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote((int) $this->getOnline( ), "integer") . "," . $ilDB->quote((int) $this->getPublicFiles( ), "integer") . "," . $ilDB->quote((int) $this->getDownloadable( ), "integer") . "," . $ilDB->quote((int) $this->getDefaultAccess( ), "integer") . "," . $ilDB->quote((int) $this->getOrder( ), "integer") . "," . $ilDB->quote($this->getViewMode( ), "text") . "," . $ilDB->quote((int) $this->getAutoplayMode( ), "integer") . "," . $ilDB->quote((int) $this->getNumberInitialVideos( ), "integer") . "," . $ilDB->quote((int) $this->getNewItemsInLearningProgress( ), "integer") . ")"1
  • /components/ILIAS/MediaCast/classes/class.ilObjMediaCast.php
"UPDATE il_media_cast_data SET " . " is_online = " . $ilDB->quote((int) $this->getOnline( ), "integer") . ", public_files = " . $ilDB->quote((int) $this->getPublicFiles( ), "integer") . ", downloadable = " . $ilDB->quote((int) $this->getDownloadable( ), "integer") . ", def_access = " . $ilDB->quote($this->getDefaultAccess( ), "integer") . ", sortmode = " . $ilDB->quote($this->getOrder( ), "integer") . ", viewmode = " . $ilDB->quote($this->getViewMode( ), "text") . ", autoplaymode = " . $ilDB->quote($this->getAutoplayMode( ), "integer") . ", nr_initial_videos = " . $ilDB->quote($this->getNumberInitialVideos( ), "integer") . ", new_items_in_lp = " . $ilDB->quote($this->getNewItemsInLearningProgress( ), "integer") . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaCast/classes/class.ilObjMediaCast.php
"SELECT * FROM il_media_cast_data WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaCast/classes/class.ilObjMediaCast.php
"DELETE FROM il_media_cast_data" . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaCast/classes/class.ilObjMediaCast.php
"DELETE FROM il_media_cast_data_ord" . " WHERE obj_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/MediaCast/classes/class.ilObjMediaCast.php
"SELECT item_id FROM il_media_cast_data_ord" . " WHERE obj_id = " . $ilDB->quote($this->getId( ), "integer") . " ORDER BY pos"1
  • /components/ILIAS/MediaCast/classes/class.ilObjMediaCast.php
"INSERT INTO il_media_cast_data_ord (obj_id,item_id,pos)" . " VALUES (" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($item_id, "integer") . "," . $ilDB->quote($pos, "integer") . ")"1
  • /components/ILIAS/MediaCast/classes/class.ilObjMediaCast.php
"SELECT id, title, description, " . " public_files, downloadable, def_access default_access" . " FROM il_media_cast_data JOIN object_data ON (il_media_cast_data.id = object_data.obj_id) " . "WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/MediaCast/classes/class.ilMediaCastDataSet.php
"SELECT id, title, description, " . " public_files, downloadable, def_access default_access, sortmode, viewmode" . " FROM il_media_cast_data JOIN object_data ON (il_media_cast_data.id = object_data.obj_id) " . "WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/MediaCast/classes/class.ilMediaCastDataSet.php
"SELECT id, title, description, " . " public_files, downloadable, def_access default_access, sortmode, viewmode," . " autoplaymode,nr_initial_videos,new_items_in_lp" . " FROM il_media_cast_data JOIN object_data ON (il_media_cast_data.id = object_data.obj_id) " . "WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/MediaCast/classes/class.ilMediaCastDataSet.php
"DELETE FROM settings WHERE keyword = " . $db->quote("video_threshold", "text") . " AND module = " . $db->quote("mcst", "text")1
  • /components/ILIAS/MediaCast/classes/Setup/class.ilMediaCastDBUpdateSteps.php
"SELECT * FROM settings WHERE module=" . $ilDB->quote($this->module, "text")1
  • /components/ILIAS/Administration/classes/class.ilSetting.php
"DELETE FROM settings WHERE module = " . $ilDB->quote($this->module, "text")1
  • /components/ILIAS/Administration/classes/class.ilSetting.php
"SELECT keyword FROM settings" . " WHERE module = " . $ilDB->quote($this->module, "text") . " AND " . $ilDB->like("keyword", "text", $a_like)1
  • /components/ILIAS/Administration/classes/class.ilSetting.php
"DELETE FROM settings WHERE keyword = " . $ilDB->quote($a_keyword, "text") . " AND module = " . $ilDB->quote($this->module, "text")1
  • /components/ILIAS/Administration/classes/class.ilSetting.php
"UPDATE sahs_lm SET debug = 'n'"1
  • /components/ILIAS/Administration/classes/class.ilSetting.php
"SELECT value FROM settings WHERE module = %s AND keyword = %s"1
  • /components/ILIAS/Administration/classes/class.ilSetting.php
"SELECT * FROM settings WHERE LENGTH(value) > " . $ilDB->quote($a_limit, 'integer')1
  • /components/ILIAS/Administration/classes/class.ilSetting.php
"UPDATE settings SET value2 = SUBSTRING(value, 1, 4000)"1
  • /components/ILIAS/Administration/classes/Setup/class.ilAdministrationDBUpdateSteps.php
"DELETE FROM settings WHERE keyword LIKE 'char_selector%'"1
  • /components/ILIAS/Administration/classes/Setup/class.ilAdministrationDBUpdateSteps.php
"SELECT sub_items.*, top_items.position AS parent_position FROM il_mm_items AS sub_items LEFT JOIN il_mm_items AS top_items ON top_items.identification = sub_items.parent_identification WHERE sub_items.parent_identification != '' ORDER BY top_items.position, parent_identification, sub_items.position ASC"1
  • /components/ILIAS/MainMenu/classes/Items/class.ilMMItemRepository.php
"SELECT * FROM copy_wizard_options " . "WHERE copy_id = " . $ilDB->quote($a_copy_id, 'integer') . " "1
  • /components/ILIAS/CopyWizard/classes/class.ilCopyWizardOptions.php
"SELECT MAX(copy_id) latest FROM copy_wizard_options "1
  • /components/ILIAS/CopyWizard/classes/class.ilCopyWizardOptions.php
"DELETE FROM copy_wizard_options " . "WHERE copy_id = " . $this->db->quote($this->copy_id, 'integer') . " " . "AND source_id = " . $this->db->quote($a_source_id, 'integer')1
  • /components/ILIAS/CopyWizard/classes/class.ilCopyWizardOptions.php
"SELECT * FROM copy_wizard_options " . "WHERE copy_id = " . $this->db->quote($this->copy_id, 'integer') . " " . "AND source_id = -2 "1
  • /components/ILIAS/CopyWizard/classes/class.ilCopyWizardOptions.php
"DELETE FROM copy_wizard_options " . "WHERE copy_id = " . $this->db->quote($this->getCopyId( ), 'integer') . " " . "AND source_id = -2 "1
  • /components/ILIAS/CopyWizard/classes/class.ilCopyWizardOptions.php
"DELETE FROM copy_wizard_options " . "WHERE copy_id = " . $this->db->quote($this->copy_id, 'integer')1
  • /components/ILIAS/CopyWizard/classes/class.ilCopyWizardOptions.php
"SELECT * FROM copy_wizard_options " . "WHERE copy_id = " . $this->db->quote($this->copy_id, 'integer')1
  • /components/ILIAS/CopyWizard/classes/class.ilCopyWizardOptions.php
"SELECT content, record_template, event_time_place_required, file_required" . PHP_EOL . "FROM " . self::IASS_SETTINGS_TABLE . PHP_EOL . "WHERE obj_id = " . $this->db->quote($obj->getId( ), 'integer') . PHP_EOL1
  • /components/ILIAS/IndividualAssessment/classes/Settings/class.ilIndividualAssessmentSettingsStorageDB.php
"SELECT contact, responsibility, phone, mails, consultation_hours" . PHP_EOL . "FROM " . self::IASS_SETTINGS_INFO_TABLE . PHP_EOL . "WHERE obj_id = " . $this->db->quote($obj->getId( ), 'integer') . PHP_EOL1
  • /components/ILIAS/IndividualAssessment/classes/Settings/class.ilIndividualAssessmentSettingsStorageDB.php
"DELETE FROM " . self::IASS_SETTINGS_TABLE . " WHERE obj_id = %s"1
  • /components/ILIAS/IndividualAssessment/classes/Settings/class.ilIndividualAssessmentSettingsStorageDB.php
"DELETE FROM " . self::IASS_SETTINGS_INFO_TABLE . " WHERE obj_id = %s"1
  • /components/ILIAS/IndividualAssessment/classes/Settings/class.ilIndividualAssessmentSettingsStorageDB.php
"UPDATE " . self::TABLE_NAME . " SET examiner_id = NULL WHERE examiner_id = 0"1
  • /components/ILIAS/IndividualAssessment/classes/Setup/class.ilIndividualAssessmentRectifyMembersTableDBUpdateSteps.php
"DELETE FROM " . self::MEMBERS_TABLE . " WHERE obj_id = " . $this->db->quote($obj->getId( ), 'integer')1
  • /components/ILIAS/IndividualAssessment/classes/Members/class.ilIndividualAssessmentMembersStorageDB.php
"SELECT " . "iassme.obj_id," . "iassme.usr_id," . "iassme.examiner_id," . "iassme.record," . "iassme.internal_note," . "iassme.notify," . "iassme.notification_ts," . "iassme.learning_progress," . "iassme.finalized," . "iassme.place," . "iassme.event_time," . "iassme.user_view_file," . "iassme.file_name," . "iassme.changer_id," . "iassme.change_time," . "usr.login AS user_login," . "ex.login AS examiner_login" . " FROM " . self::MEMBERS_TABLE . " iassme\n" . " JOIN usr_data usr ON iassme.usr_id = usr.usr_id\n" . " LEFT JOIN usr_data ex ON iassme.examiner_id = ex.usr_id\n"1
  • /components/ILIAS/IndividualAssessment/classes/Members/class.ilIndividualAssessmentMembersStorageDB.php
"SELECT ex.firstname as " . ilIndividualAssessmentMembers::FIELD_EXAMINER_FIRSTNAME . " , ex.lastname as " . ilIndividualAssessmentMembers::FIELD_EXAMINER_LASTNAME . " , ud.firstname as " . ilIndividualAssessmentMembers::FIELD_CHANGER_FIRSTNAME . " , ud.lastname as " . ilIndividualAssessmentMembers::FIELD_CHANGER_LASTNAME . " ,usr.firstname as " . ilIndividualAssessmentMembers::FIELD_FIRSTNAME . " ,usr.lastname as " . ilIndividualAssessmentMembers::FIELD_LASTNAME . " ,usr.login as " . ilIndividualAssessmentMembers::FIELD_LOGIN . " ,iassme." . ilIndividualAssessmentMembers::FIELD_FILE_NAME . " ,iassme.obj_id, iassme.usr_id, iassme.examiner_id, iassme.record, iassme.internal_note, iassme.notify" . " ,iassme.notification_ts, iassme.learning_progress, iassme.finalized,iassme.place" . " ,iassme.event_time, iassme.changer_id, iassme.change_time\n" . " FROM iass_members iassme" . " JOIN usr_data usr ON iassme.usr_id = usr.usr_id" . " LEFT JOIN usr_data ex ON iassme.examiner_id = ex.usr_id" . " LEFT JOIN usr_data ud ON iassme.changer_id = ud.usr_id" . " WHERE obj_id = " . $this->db->quote($obj_id, 'integer')1
  • /components/ILIAS/IndividualAssessment/classes/Members/class.ilIndividualAssessmentMembersStorageDB.php
"DELETE FROM " . self::MEMBERS_TABLE . PHP_EOL . "WHERE obj_id = " . $this->db->quote($iass->getId( ), 'integer') . PHP_EOL . "AND usr_id = " . $this->db->quote($record[ilIndividualAssessmentMembers::FIELD_USR_ID], 'integer') . PHP_EOL1
  • /components/ILIAS/IndividualAssessment/classes/Members/class.ilIndividualAssessmentMembersStorageDB.php
"DELETE FROM iass_settings WHERE obj_id = %s"1
  • /components/ILIAS/IndividualAssessment/tests/Settings/ilIndividualAssessmentSettingsStorageDBTest.php
"DELETE FROM iass_info_settings WHERE obj_id = %s"1
  • /components/ILIAS/IndividualAssessment/tests/Settings/ilIndividualAssessmentSettingsStorageDBTest.php
"SELECT ex.firstname as " . ilIndividualAssessmentMembers::FIELD_EXAMINER_FIRSTNAME . " , ex.lastname as " . ilIndividualAssessmentMembers::FIELD_EXAMINER_LASTNAME . " , ud.firstname as " . ilIndividualAssessmentMembers::FIELD_CHANGER_FIRSTNAME . " , ud.lastname as " . ilIndividualAssessmentMembers::FIELD_CHANGER_LASTNAME . " ,usr.firstname as " . ilIndividualAssessmentMembers::FIELD_FIRSTNAME . " ,usr.lastname as " . ilIndividualAssessmentMembers::FIELD_LASTNAME . " ,usr.login as " . ilIndividualAssessmentMembers::FIELD_LOGIN . " ,iassme." . ilIndividualAssessmentMembers::FIELD_FILE_NAME . " ,iassme.obj_id, iassme.usr_id, iassme.examiner_id, iassme.record, iassme.internal_note, iassme.notify" . " ,iassme.notification_ts, iassme.learning_progress, iassme.finalized,iassme.place" . " ,iassme.event_time, iassme.changer_id, iassme.change_time\n" . " FROM iass_members iassme" . " JOIN usr_data usr ON iassme.usr_id = usr.usr_id" . " LEFT JOIN usr_data ex ON iassme.examiner_id = ex.usr_id" . " LEFT JOIN usr_data ud ON iassme.changer_id = ud.usr_id" . " WHERE obj_id = 22"1
  • /components/ILIAS/IndividualAssessment/tests/Members/ilIndividualAssessmentMembersStorageDBTest.php
"SELECT " . "iassme.obj_id," . "iassme.usr_id," . "iassme.examiner_id," . "iassme.record," . "iassme.internal_note," . "iassme.notify," . "iassme.notification_ts," . "iassme.learning_progress," . "iassme.finalized," . "iassme.place," . "iassme.event_time," . "iassme.user_view_file," . "iassme.file_name," . "iassme.changer_id," . "iassme.change_time," . "usr.login AS user_login," . "ex.login AS examiner_login" . " FROM " . ilIndividualAssessmentMembersStorageDB::MEMBERS_TABLE . " iassme\n" . " JOIN usr_data usr ON iassme.usr_id = usr.usr_id\n" . " LEFT JOIN usr_data ex ON iassme.examiner_id = ex.usr_id\n" . " WHERE obj_id = 22"1
  • /components/ILIAS/IndividualAssessment/tests/Members/ilIndividualAssessmentMembersStorageDBTest.php
"DELETE FROM iass_members WHERE obj_id = 22"1
  • /components/ILIAS/IndividualAssessment/tests/Members/ilIndividualAssessmentMembersStorageDBTest.php
"DELETE FROM iass_members" . PHP_EOL . "WHERE obj_id = 11" . PHP_EOL . "AND usr_id = 22" . PHP_EOL1
  • /components/ILIAS/IndividualAssessment/tests/Members/ilIndividualAssessmentMembersStorageDBTest.php
'SELECT MAX(export_id) exp FROM export_options ' . 'GROUP BY export_id '1
  • /components/ILIAS/Export/classes/class.ilExportOptions.php
'INSERT INTO export_options (export_id,keyword,ref_id,obj_id,value) ' . 'VALUES( ' . $ilDB->quote($exp_id, 'integer') . ', ' . $ilDB->quote(self::KEY_INIT, 'integer') . ', ' . $ilDB->quote(0, 'integer') . ', ' . $ilDB->quote(0, 'integer') . ', ' . $ilDB->quote(0, 'integer') . ' ' . ')'1
  • /components/ILIAS/Export/classes/class.ilExportOptions.php
"SELECT MAX(pos) position FROM export_options"1
  • /components/ILIAS/Export/classes/class.ilExportOptions.php
'INSERT INTO export_options (export_id,keyword,ref_id,obj_id,value,pos) ' . 'VALUES( ' . $this->db->quote($this->getExportId( ), ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($a_keyword, ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($a_ref_id, ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($a_obj_id, ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($a_value, ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($pos, ilDBConstants::T_INTEGER) . ' ' . ')'1
  • /components/ILIAS/Export/classes/class.ilExportOptions.php
"DELETE FROM export_options " . "WHERE export_id = " . $this->db->quote($this->getExportId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Export/classes/class.ilExportOptions.php
"SELECT * FROM export_options " . "WHERE export_id = " . $this->db->quote($this->getExportId( ), ilDBConstants::T_INTEGER) . ' ' . "ORDER BY pos"1
  • /components/ILIAS/Export/classes/class.ilExportOptions.php
"SELECT * FROM export_file_info " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . ' ' . "AND export_type = " . $ilDB->quote($a_type, 'text') . ' ' . "ORDER BY create_date DESC"1
  • /components/ILIAS/Export/classes/class.ilExportFileInfo.php
"DELETE FROM export_file_info WHERE obj_id = " . $ilDB->quote($a_obj_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Export/classes/class.ilExportFileInfo.php
'select * from export_file_info ' . 'where obj_id = ' . $this->db->quote($this->obj_id, 'integer') . ' ' . 'and export_type = ' . $this->db->quote($this->getExportType( ), 'text') . ' ' . 'and filename = ' . $this->db->quote($this->getFilename( ), 'text')1
  • /components/ILIAS/Export/classes/class.ilExportFileInfo.php
"INSERT INTO export_file_info (obj_id, export_type, filename, version, create_date) " . "VALUES ( " . $this->db->quote($this->getObjId( ), 'integer') . ', ' . $this->db->quote($this->getExportType( ), 'text') . ', ' . $this->db->quote($this->getFilename( ), 'text') . ', ' . $this->db->quote($this->getVersion( ), 'text') . ', ' . $this->db->quote($this->getCreationDate( )->get(IL_CAL_DATETIME, '', ilTimeZone::UTC), 'timestamp') . ' ' . ")"1
  • /components/ILIAS/Export/classes/class.ilExportFileInfo.php
'DELETE FROM export_file_info ' . 'WHERE obj_id = ' . $this->db->quote($this->getObjId( ), 'integer') . ' ' . 'AND filename = ' . $this->db->quote($this->getFilename( ), 'text')1
  • /components/ILIAS/Export/classes/class.ilExportFileInfo.php
"SELECT * FROM export_file_info " . "WHERE obj_id = " . $this->db->quote($this->getObjId( ), 'integer') . ' ' . "AND export_type = " . $this->db->quote($this->getExportType( ), 'text') . ' ' . "AND filename = " . $this->db->quote($this->getFilename( ), 'text')1
  • /components/ILIAS/Export/classes/class.ilExportFileInfo.php
"SELECT obj_id, export_type, filename, create_date FROM export_file_info WHERE migrated = 0 LIMIT 1"1
  • /components/ILIAS/Export/classes/Setup/ilExportFilesToIRSSMigration.php
"SELECT type FROM object_data WHERE obj_id = " . $this->db->quote((int) $row_export_file_info['obj_id'], ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Export/classes/Setup/ilExportFilesToIRSSMigration.php
"SELECT class_name, component, location, id FROM il_object_def where id = " . $this->db->quote($row_object_data['type'], ilDBConstants::T_TEXT)1
  • /components/ILIAS/Export/classes/Setup/ilExportFilesToIRSSMigration.php
"SELECT plugin_id FROM il_plugin"1
  • /components/ILIAS/Export/classes/Setup/ilExportFilesToIRSSMigration.php
"INSERT INTO export_files (object_id, rid, owner_id, timestamp) VALUES (" . $this->db->quote($obj_id, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($rid->serialize( ), ilDBConstants::T_TEXT) . ", " . $this->db->quote(6, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($create_date, ilDBConstants::T_DATE) . ")"1
  • /components/ILIAS/Export/classes/Setup/ilExportFilesToIRSSMigration.php
"SELECT COUNT(*) as count FROM export_file_info where migrated = 0"1
  • /components/ILIAS/Export/classes/Setup/ilExportFilesToIRSSMigration.php
"UPDATE export_file_info SET migrated = 1 WHERE" . " obj_id = " . $this->db->quote($obj_id, ilDBConstants::T_INTEGER) . " AND export_type = " . $this->db->quote($export_type, ilDBConstants::T_TEXT) . " AND filename = " . $this->db->quote($filename, ilDBConstants::T_TEXT)1
  • /components/ILIAS/Export/classes/Setup/ilExportFilesToIRSSMigration.php
"SELECT * FROM " . $this->db->quoteIdentifier(self::TABLE_NAME) . " " . $this->buildWhereClause($keys)1
  • /components/ILIAS/Export/classes/ExportHandler/Repository/Wrapper/DB/Handler.php
"INSERT INTO " . $this->db->quoteIdentifier(self::TABLE_NAME) . " VALUES" . " (" . $this->db->quote($element->getKey( )->getObjectId( )->toInt( ), ilDBConstants::T_INTEGER) . ", " . $this->db->quote($element->getKey( )->getResourceIdSerialized( ), ilDBConstants::T_TEXT) . ", " . $this->db->quote($element->getValues( )->getOwnerId( ), ilDBConstants::T_INTEGER) . ", " . $this->db->quote($element->getValues( )->getCreationDate( )->format("Y-m-d-H-i-s"), ilDBConstants::T_TIMESTAMP) . ") ON DUPLICATE KEY UPDATE" . " object_id = " . $this->db->quote($element->getKey( )->getObjectId( )->toInt( ), ilDBConstants::T_INTEGER) . ", rid = " . $this->db->quote($element->getKey( )->getResourceIdSerialized( ), ilDBConstants::T_TEXT) . ", owner_id = " . $this->db->quote($element->getValues( )->getOwnerId( ), ilDBConstants::T_INTEGER) . ", timestamp = " . $this->db->quote($element->getValues( )->getCreationDate( )->format("Y-m-d-H-i-s"), ilDBConstants::T_TIMESTAMP)1
  • /components/ILIAS/Export/classes/ExportHandler/Repository/Wrapper/DB/Handler.php
"DELETE FROM " . $this->db->quoteIdentifier(self::TABLE_NAME) . " " . $this->buildWhereClause($keys)1
  • /components/ILIAS/Export/classes/ExportHandler/Repository/Wrapper/DB/Handler.php
"SELECT * FROM " . $this->db->quoteIdentifier(self::TABLE_NAME) . " WHERE " . implode(" AND ", $conditions)1
  • /components/ILIAS/Export/classes/ExportHandler/PublicAccess/Repository/Wrapper/DB/Handler.php
"INSERT INTO " . $this->db->quoteIdentifier(self::TABLE_NAME) . " VALUES" . " (" . $this->db->quote($element->getKey( )->getObjectId( )->toInt( ), ilDBConstants::T_INTEGER) . ", " . $this->db->quote($element->getValues( )->getExportOptionId( ), ilDBConstants::T_TEXT) . ", " . $this->db->quote($element->getValues( )->getIdentification( ), ilDBConstants::T_TEXT) . ", " . $this->db->quote($element->getValues( )->getLastModified( )->format("Y-m-d-H-i-s"), ilDBConstants::T_TIMESTAMP) . ") ON DUPLICATE KEY UPDATE" . " object_id = " . $this->db->quote($element->getKey( )->getObjectId( )->toInt( ), ilDBConstants::T_INTEGER) . ", export_option_id = " . $this->db->quote($element->getValues( )->getExportOptionId( ), ilDBConstants::T_TEXT) . ", identification = " . $this->db->quote($element->getValues( )->getIdentification( ), ilDBConstants::T_TEXT) . ", timestamp = " . $this->db->quote($element->getValues( )->getLastModified( )->format("Y-m-d-H-i-s"), ilDBConstants::T_TIMESTAMP)1
  • /components/ILIAS/Export/classes/ExportHandler/PublicAccess/Repository/Wrapper/DB/Handler.php
"DELETE FROM " . $this->db->quoteIdentifier(self::TABLE_NAME) . " WHERE " . implode(" AND ", $conditions)1
  • /components/ILIAS/Export/classes/ExportHandler/PublicAccess/Repository/Wrapper/DB/Handler.php
'DELETE FROM export_files_html WHERE object_id = %s AND rid = %s'1
  • /components/ILIAS/Export/HTML/ExportFileDBRepository.php
'SELECT * FROM export_files_html WHERE object_id = %s AND rid = %s'1
  • /components/ILIAS/Export/HTML/ExportFileDBRepository.php
"SELECT * FROM export_files_html " . " WHERE object_id = %s ORDER BY timestamp DESC"1
  • /components/ILIAS/Export/HTML/ExportFileDBRepository.php
"SELECT object_id FROM export_files_html WHERE rid = %s;"1
  • /components/ILIAS/Export/HTML/class.ilExportHTMLStakeholder.php
"SELECT rule_id FROM shib_role_assignment ORDER BY rule_id"1
  • /components/ILIAS/AuthShibboleth/classes/class.ilShibbolethRoleAssignmentRules.php
"SELECT COUNT(*) num FROM shib_role_assignment "1
  • /components/ILIAS/AuthShibboleth/classes/class.ilShibbolethRoleAssignmentRules.php
"SELECT rule_id,add_on_update,remove_on_update FROM shib_role_assignment " . "WHERE add_on_update = 1 OR remove_on_update = 1"1
  • /components/ILIAS/AuthShibboleth/classes/class.ilShibbolethRoleAssignmentRules.php
"SELECT rule_id,add_on_update FROM shib_role_assignment WHERE add_on_update = 1"1
  • /components/ILIAS/AuthShibboleth/classes/class.ilShibbolethRoleAssignmentRules.php
'DELETE FROM ' . self::TABLE_NAME . ' ' . 'WHERE rule_id = ' . $this->db->quote($this->getRuleId( ), 'integer')1
  • /components/ILIAS/AuthShibboleth/classes/class.ilShibbolethRoleAssignmentRule.php
'INSERT INTO ' . self::TABLE_NAME . ' (rule_id,role_id,name,value,plugin,plugin_id,add_on_update,remove_on_update ) ' . 'VALUES( ' . $this->db->quote($next_id, 'integer') . ', ' . $this->db->quote($this->getRoleId( ), 'integer') . ', ' . $this->db->quote($this->getName( ), 'text') . ', ' . $this->db->quote($this->getValue( ), 'text') . ', ' . $this->db->quote((int) $this->isPluginActive( ), 'integer') . ', ' . $this->db->quote($this->getPluginId( ) ?? '0', 'integer') . ', ' . $this->db->quote((int) $this->isAddOnUpdateEnabled( ), 'integer') . ', ' . $this->db->quote((int) $this->isRemoveOnUpdateEnabled( ), 'integer') . ') '1
  • /components/ILIAS/AuthShibboleth/classes/class.ilShibbolethRoleAssignmentRule.php
'UPDATE ' . self::TABLE_NAME . ' ' . 'SET role_id = ' . $this->db->quote($this->getRoleId( ), 'integer') . ', ' . 'name = ' . $this->db->quote($this->getName( ), 'text') . ', ' . 'value = ' . $this->db->quote($this->getValue( ), 'text') . ', ' . 'plugin = ' . $this->db->quote((int) $this->isPluginActive( ), 'integer') . ', ' . 'plugin_id = ' . $this->db->quote($this->getPluginId( ) ?? '0', 'integer') . ', ' . 'add_on_update = ' . $this->db->quote((int) $this->isAddOnUpdateEnabled( ), 'integer') . ', ' . 'remove_on_update = ' . $this->db->quote((int) $this->isRemoveOnUpdateEnabled( ), 'integer') . ' ' . 'WHERE rule_id = ' . $this->db->quote($this->getRuleId( ), 'integer')1
  • /components/ILIAS/AuthShibboleth/classes/class.ilShibbolethRoleAssignmentRule.php
'SELECT * FROM ' . self::TABLE_NAME . ' ' . 'WHERE rule_id = ' . $this->db->quote($this->getRuleId( ), 'integer')1
  • /components/ILIAS/AuthShibboleth/classes/class.ilShibbolethRoleAssignmentRule.php
'SELECT usr_id FROM usr_data WHERE login = ' . $db->quote($login, 'text')1
  • /components/ILIAS/AuthShibboleth/classes/User/class.shibUser.php
'SELECT usr_id FROM usr_data WHERE ext_account = ' . $db->quote($ext_id, 'text')1
  • /components/ILIAS/AuthShibboleth/classes/User/class.shibUser.php
"SELECT session_id, data FROM usr_session WHERE expires > 'NOW()'"1
  • /components/ILIAS/AuthShibboleth/resources/shib_logout.php
'INSERT INTO ' . self::TABLE_NAME . ' (id, name, favicon) VALUES (%s, %s, %s)'1
  • /components/ILIAS/WOPI/classes/Discovery/AppDBRepository.php
'UPDATE ' . self::TABLE_NAME . ' SET name = %s, favicon = %s WHERE id = %s'1
  • /components/ILIAS/WOPI/classes/Discovery/AppDBRepository.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE ext = %s AND name IN(' . $implode_targets . ')'1
  • /components/ILIAS/WOPI/classes/Discovery/ActionDBRepository.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE ext = %s AND name = %s'1
  • /components/ILIAS/WOPI/classes/Discovery/ActionDBRepository.php
'SELECT ext FROM ' . self::TABLE_NAME . ' WHERE name IN (' . $this->implodeTargets(...$action_target) . ')'1
  • /components/ILIAS/WOPI/classes/Discovery/ActionDBRepository.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE app_id = %s'1
  • /components/ILIAS/WOPI/classes/Discovery/ActionDBRepository.php
'DELETE FROM ' . self::TABLE_NAME . ' WHERE ' . $this->db->in('id', $collected_ids, true, 'integer')1
  • /components/ILIAS/WOPI/classes/Discovery/ActionDBRepository.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE name = %s AND ext = %s AND target_ext = %s'1
  • /components/ILIAS/WOPI/classes/Discovery/ActionDBRepository.php
"SELECT survey_id, enddate FROM svy_svy " . " WHERE " . $db->in("survey_id", $survey_ids, false, "integer")1
  • /components/ILIAS/Survey/Settings/SettingsDBRepository.php
"SELECT survey_id, obj_fi FROM svy_svy " . " WHERE " . $db->in("survey_id", $survey_ids, false, "integer")1
  • /components/ILIAS/Survey/Settings/SettingsDBRepository.php
"SELECT startdate, enddate, anonymize, survey_id FROM svy_svy " . " WHERE " . $db->in("survey_id", $survey_ids, false, "integer")1
  • /components/ILIAS/Survey/Settings/SettingsDBRepository.php
"DELETE FROM svy_invitation WHERE " . " survey_id = %s AND user_id = %s"1
  • /components/ILIAS/Survey/Participants/class.InvitationsDBRepository.php
"DELETE FROM svy_invitation WHERE " . " survey_id = %s"1
  • /components/ILIAS/Survey/Participants/class.InvitationsDBRepository.php
"SELECT user_id FROM svy_invitation " . " WHERE survey_id = %s "1
  • /components/ILIAS/Survey/Participants/class.InvitationsDBRepository.php
"SELECT survey_id FROM svy_invitation " . " WHERE user_id = %s "1
  • /components/ILIAS/Survey/Participants/class.InvitationsDBRepository.php
"SELECT svy_question.*, svy_qtype.type_tag, object_reference.ref_id FROM " . "svy_question, svy_qtype, object_reference WHERE svy_question.questiontype_fi = svy_qtype.questiontype_id " . "AND svy_question.original_id IS NULL AND svy_question.obj_fi = object_reference.obj_id AND " . "svy_question.obj_fi > 0$str_where"1
  • /components/ILIAS/Survey/classes/class.SurveySearch.php
"DELETE FROM svy_svy WHERE survey_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT questionblock_fi FROM svy_qblk_qst WHERE survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_qblk WHERE " . $ilDB->in('questionblock_id', $questionblocks, false, 'integer')1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_qblk_qst WHERE survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_finished WHERE survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT finished_id, user_fi FROM svy_finished WHERE finished_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_finished WHERE finished_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_svy SET complete = %s, tstamp = %s WHERE survey_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"insert question, id:" . $question_id1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT survey_question_id FROM svy_svy_qst WHERE survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"INSERT INTO svy_svy_qst (survey_question_id, survey_fi, question_fi, sequence, tstamp) VALUES (%s, %s, %s, %s, %s)"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_svy_qst " . " WHERE survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND question_fi = " . $ilDB->quote($a_question_fi, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_qblk.title, svy_qblk.show_questiontext, svy_qblk.show_blocktitle," . " svy_qblk_qst.question_fi FROM svy_qblk, svy_qblk_qst, svy_svy_qst" . " WHERE svy_qblk.questionblock_id = svy_qblk_qst.questionblock_fi" . " AND svy_svy_qst.question_fi = svy_qblk_qst.question_fi" . " AND svy_qblk.questionblock_id = %s" . " ORDER BY svy_svy_qst.sequence"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_settings WHERE settings_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_settings WHERE usr_id = %s AND keyword = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT survey_question_id,question_fi,sequence" . " FROM svy_svy_qst WHERE survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_svy_qst" . " WHERE " . $ilDB->in("survey_question_id", $del_ids, "", "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"INSERT INTO svy_svy_qst" . " (survey_question_id, survey_fi, question_fi, heading, sequence, tstamp)" . " VALUES (%s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"insert svy_svy_qst, id:" . $next_id . ", fi: " . $fi . ", seq:" . $seq1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_svy_qst" . " SET sequence = " . $ilDB->quote($seq, "integer") . ", tstamp = " . $ilDB->quote(time( ), "integer") . " WHERE survey_question_id = " . $ilDB->quote($update[$fi], "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"update svy_svy_qst, id:" . $update[$fi] . ", fi: " . $fi . ", seq:" . $seq1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT type_tag FROM svy_question, svy_qtype WHERE svy_question.question_id = %s AND " . "svy_question.questiontype_fi = svy_qtype.questiontype_id"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_svy_qst" . " WHERE " . $ilDB->in("survey_question_id", $to_delete_ids, false, "integer") . " AND survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_qblk_qst " . " WHERE " . $ilDB->in("question_fi", $fis, true, "integer") . " AND survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_svy_qst " . " WHERE survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer") . " ORDER BY sequence"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_svy_qst SET " . " sequence = " . $ilDB->quote($seq++, "integer") . " WHERE survey_question_id = " . $ilDB->quote($rec["survey_question_id"], "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_question.original_id FROM svy_question, svy_svy_qst WHERE " . "svy_svy_qst.survey_fi = %s AND svy_svy_qst.question_fi = svy_question.question_id"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_qst_constraint WHERE question_fi = %s AND survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_qblk_qst WHERE questionblock_fi = %s AND survey_fi = %s AND question_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_qblk_qst " . " WHERE survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND question_fi = " . $ilDB->quote($a_question_fi, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_question.title, svy_qblk_qst.question_fi, svy_qblk_qst.survey_fi FROM " . "svy_qblk, svy_qblk_qst, svy_question WHERE svy_qblk.questionblock_id = svy_qblk_qst.questionblock_fi AND " . "svy_question.question_id = svy_qblk_qst.question_fi AND svy_qblk.questionblock_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT question_fi, sequence FROM svy_svy_qst WHERE survey_fi = %s ORDER BY sequence"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT a.question_fi FROM svy_qblk_qst a JOIN svy_svy_qst b ON (a.question_fi = b.question_fi) " . " WHERE a.questionblock_fi = %s ORDER BY b.sequence"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_qblk WHERE questionblock_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"INSERT INTO svy_qblk (questionblock_id, title, show_questiontext," . " show_blocktitle, owner_fi, tstamp, compress_view) " . "VALUES (%s, %s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"INSERT INTO svy_qblk (questionblock_id, title, show_questiontext," . " show_blocktitle, owner_fi, tstamp, compress_view) VALUES (%s, %s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_qblk SET title = %s, show_questiontext = %s," . " show_blocktitle = %s, compress_view = %s WHERE questionblock_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_qst_constraint WHERE constraint_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_qtype.type_tag, svy_qtype.plugin, svy_question.question_id, " . "svy_svy_qst.heading FROM svy_qtype, svy_question, svy_svy_qst WHERE svy_svy_qst.survey_fi = %s AND " . "svy_svy_qst.question_fi = svy_question.question_id AND svy_question.questiontype_fi = svy_qtype.questiontype_id " . "ORDER BY svy_svy_qst.sequence"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_qblk.*, svy_qblk_qst.question_fi FROM svy_qblk, svy_qblk_qst WHERE " . "svy_qblk.questionblock_id = svy_qblk_qst.questionblock_fi AND svy_qblk_qst.survey_fi = %s " . "AND " . $ilDB->in('svy_qblk_qst.question_fi', array_keys($all_questions), false, 'integer')1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_variable.*, svy_category.title FROM svy_variable, svy_category " . "WHERE svy_variable.question_fi = %s AND svy_variable.category_fi = svy_category.category_id " . "ORDER BY sequence ASC"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_svy_qst WHERE survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_question" . " SET obligatory = " . $ilDB->quote($obligatory, "integer") . " WHERE question_id = " . $ilDB->quote($question_fi, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_question.*, svy_qtype.type_tag, svy_svy_qst.heading FROM " . "svy_question, svy_qtype, svy_svy_qst WHERE svy_svy_qst.survey_fi = %s AND " . "svy_svy_qst.question_fi = svy_question.question_id AND svy_question.questiontype_fi = svy_qtype.questiontype_id " . "ORDER BY svy_svy_qst.sequence"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_qblk.*, svy_qblk_qst.question_fi FROM svy_qblk, svy_qblk_qst " . "WHERE svy_qblk.questionblock_id = svy_qblk_qst.questionblock_fi AND svy_qblk_qst.survey_fi = %s " . "AND " . $ilDB->in('svy_qblk_qst.question_fi', array_keys($all_questions), false, 'integer')1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_constraint.*, svy_relation.*, svy_qst_constraint.question_fi ref_question_fi FROM svy_qst_constraint, svy_constraint, " . "svy_relation WHERE svy_constraint.relation_fi = svy_relation.relation_id AND " . "svy_qst_constraint.constraint_fi = svy_constraint.constraint_id AND svy_constraint.constraint_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_constraint.*, svy_relation.* FROM svy_qst_constraint, svy_constraint, svy_relation " . "WHERE svy_constraint.relation_fi = svy_relation.relation_id AND " . "svy_qst_constraint.constraint_fi = svy_constraint.constraint_id AND svy_qst_constraint.question_fi = %s " . "AND svy_qst_constraint.survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_qst_constraint.question_fi as for_question, svy_constraint.*, svy_relation.* " . "FROM svy_qst_constraint, svy_constraint, svy_relation WHERE svy_constraint.relation_fi = svy_relation.relation_id " . "AND svy_qst_constraint.constraint_fi = svy_constraint.constraint_id AND svy_qst_constraint.survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_variable.*, svy_category.title FROM svy_variable LEFT JOIN " . "svy_category ON svy_variable.category_fi = svy_category.category_id WHERE svy_variable.question_fi = %s " . "ORDER BY svy_variable.sequence"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"INSERT INTO svy_constraint (constraint_id, question_fi, relation_fi, value, conjunction) VALUES " . "(%s, %s, %s, %s, %s)"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"INSERT INTO svy_qst_constraint (question_constraint_id, survey_fi, question_fi, " . "constraint_fi) VALUES (%s, %s, %s, %s)"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_constraint SET question_fi = %s, relation_fi = %s, value = %s, conjunction = %s " . "WHERE constraint_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_constraint SET conjunction = %s " . "WHERE constraint_id IN (SELECT constraint_fi FROM svy_qst_constraint WHERE svy_qst_constraint.question_fi = %s)"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_relation"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_answer WHERE question_fi = %s AND active_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_answer WHERE question_fi = %s AND active_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_finished SET state = %s, tstamp = %s" . " WHERE survey_fi = %s AND finished_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_finished SET lastpage = %s WHERE finished_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT finished_id FROM svy_finished" . " WHERE survey_fi = %s AND anonymous_id = %s AND appr_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT finished_id FROM svy_finished" . " WHERE survey_fi = %s AND user_fi = %s AND appr_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT lastpage FROM svy_finished WHERE finished_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_finished WHERE survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_finished WHERE finished_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_answer WHERE active_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_question.*, svy_qtype.type_tag, svy_qtype.plugin, object_reference.ref_id" . " FROM svy_question, svy_qtype, object_reference" . " WHERE svy_question.original_id IS NULL" . $forbidden . $existing . " AND svy_question.obj_fi = object_reference.obj_id AND svy_question.tstamp > 0" . " AND svy_question.questiontype_fi = svy_qtype.questiontype_id " . $where1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_qblk.*, svy_svy.obj_fi FROM svy_qblk , svy_qblk_qst, svy_svy WHERE " . "svy_qblk.questionblock_id = svy_qblk_qst.questionblock_fi AND svy_svy.survey_id = svy_qblk_qst.survey_fi " . "$where GROUP BY svy_qblk.questionblock_id, svy_qblk.title, svy_qblk.show_questiontext, svy_qblk.show_blocktitle, " . "svy_qblk.owner_fi, svy_qblk.tstamp, svy_svy.obj_fi"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_qblk_qst WHERE survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"INSERT INTO svy_qblk_qst (qblk_qst_id, survey_fi, questionblock_fi, question_fi) " . "VALUES (%s, %s, %s, %s)"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_svy_qst WHERE question_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT finished_id FROM svy_finished WHERE anonymous_id = %s AND survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_anonymous.*, svy_finished.state" . " FROM svy_anonymous" . " LEFT JOIN svy_finished ON (svy_anonymous.survey_key = svy_finished.anonymous_id)" . " WHERE svy_anonymous.survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND svy_anonymous.user_key IS NULL"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT svy_anonymous.*, svy_finished.state" . " FROM svy_anonymous" . " LEFT JOIN svy_finished ON (svy_anonymous.survey_key = svy_finished.anonymous_id)" . " WHERE svy_anonymous.survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT finished_id FROM svy_finished WHERE survey_fi = %s AND anonymous_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT anonymous_id FROM svy_anonymous WHERE survey_fi = %s AND survey_key = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"INSERT INTO svy_anonymous (anonymous_id, survey_key, survey_fi, externaldata, tstamp) " . "VALUES (%s, %s, %s, %s, %s)"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_anonymous SET sent = %s WHERE survey_fi = %s AND externaldata IS NOT NULL"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT survey_key code, externaldata, sent FROM svy_anonymous WHERE survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT state FROM svy_finished WHERE survey_fi = %s AND anonymous_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_anonymous WHERE survey_fi = %s AND survey_key = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT survey_key FROM svy_anonymous WHERE survey_fi = %s AND user_key = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"INSERT INTO svy_anonymous (anonymous_id, survey_key, survey_fi, user_key, tstamp) " . "VALUES (%s, %s, %s, %s, %s)"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT tstamp FROM svy_answer WHERE active_fi = %s ORDER BY tstamp DESC"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT tstamp FROM svy_finished WHERE finished_id = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT usr_id, login, lastname, firstname FROM usr_data WHERE " . $ilDB->in('usr_id', $ids, false, 'integer') . " ORDER BY login"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_times WHERE finished_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT user_id" . " FROM svy_360_appr" . " WHERE obj_id = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT has_closed" . " FROM svy_360_appr" . " WHERE obj_id = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_360_appr" . " WHERE obj_id = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT user_id" . " FROM svy_360_rater" . " WHERE obj_id = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND appr_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_360_appr" . " WHERE obj_id = " . $ilDB->quote($this->getSurveyId( ), "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT user_id" . " FROM svy_360_rater" . " WHERE obj_id = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND anonymous_id = " . $ilDB->quote($a_anonymous_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"DELETE FROM svy_360_rater" . " WHERE obj_id = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND appr_id = " . $ilDB->quote($a_appraisee_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND anonymous_id = " . $ilDB->quote($a_anonymous_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_360_rater" . " WHERE obj_id = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND appr_id = " . $ilDB->quote($a_appraisee_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT appr_id FROM svy_360_rater" . " WHERE obj_id = " . $ilDB->quote($this->getSurveyId( ), "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT anonymous_id FROM svy_anonymous" . " WHERE survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND survey_key = " . $ilDB->quote($a_code, "text")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT * FROM svy_finished" . " WHERE survey_fi =" . $ilDB->quote($this->getSurveyId( ), "integer") . " AND appr_id = " . $ilDB->quote($appr_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT sf.anonymous_id FROM svy_finished sf" . " WHERE sf.survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND sf.user_fi = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT user_fi FROM svy_finished" . " WHERE survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND anonymous_id = " . $ilDB->quote($a_code, "text")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT finished_id, user_fi FROM svy_finished" . " WHERE survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND appr_id = " . $ilDB->quote($a_appr_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT finished_id, user_fi FROM svy_finished" . " WHERE survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND appr_id = " . $ilDB->quote($a_appr_id, "integer") . " AND user_fi = " . $ilDB->quote($a_rat_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_360_rater" . " SET mail_sent = " . $ilDB->quote($a_tstamp, "integer") . " WHERE obj_id = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND appr_id = " . $ilDB->quote($a_appraisee_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND anonymous_id = " . $ilDB->quote($a_anonymous_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_360_appr" . " SET has_closed = " . $ilDB->quote(time( ), "integer") . " WHERE obj_id = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"UPDATE svy_360_appr" . " SET has_closed = " . $ilDB->quote(null, "integer") . " WHERE obj_id = " . $ilDB->quote($this->getSurveyId( ), "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT COUNT(*) numall FROM svy_finished" . " WHERE survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND state = " . $ilDB->quote(1, "integer") . " AND " . $ilDB->in("user_fi", $user_ids, "", "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT user_fi FROM svy_finished" . " WHERE survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer") . " AND state = " . $ilDB->quote(1, "text") . " AND " . $ilDB->in("user_fi", $user_ids, "", "integer")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT obj_fi FROM svy_svy" . " WHERE tutor_res_cron IS NULL" . " AND tutor_res_status = " . $ilDB->quote(1, "integer") . " AND enddate < " . $ilDB->quote(date("Ymd000000"), "text")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT obj_fi FROM svy_svy" . " WHERE tutor_res_status = " . $ilDB->quote(1, "integer") . " AND enddate < " . $ilDB->quote(date("Ymd000000"), "text")1
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
"SELECT ss.obj_fi" . " FROM svy_finished sf" . " JOIN svy_svy ss ON (ss.survey_id = sf.survey_fi)" . " WHERE " . $ilDB->in("ss.obj_fi", $obj_ids, "", "integer") . " AND sf.user_fi = " . $ilDB->quote($usr_id, "integer")1
  • /components/ILIAS/Survey/classes/class.ilSurveyLP.php
'select obj_fi from svy_invitation si ' . 'join svy_svy ss on ss.survey_id = si.survey_id ' . 'where ' . $ilDB->in('ss.obj_fi', $obj_ids, false, ilDBConstants::T_INTEGER) . 'and user_id = ' . $ilDB->quote($usr_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Survey/classes/class.ilSurveyLP.php
"SELECT finished_id FROM svy_finished WHERE user_fi = %s AND survey_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurveyAccess.php
"SELECT anonymize FROM svy_svy WHERE obj_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurveyAccess.php
"SELECT survey_id FROM svy_svy WHERE obj_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurveyAccess.php
"SELECT * FROM svy_finished, svy_anonymous WHERE svy_finished.survey_fi = %s " . "AND svy_finished.survey_fi = svy_anonymous.survey_fi AND svy_anonymous.user_key = %s " . "AND svy_anonymous.survey_key = svy_finished.anonymous_id"1
  • /components/ILIAS/Survey/classes/class.ilObjSurveyAccess.php
"SELECT * FROM svy_finished WHERE survey_fi = %s AND user_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurveyAccess.php
"SELECT mode FROM svy_svy" . " WHERE obj_fi = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurveyAccess.php
"SELECT mode FROM svy_svy" . " WHERE obj_fi = %s AND mode = %s"1
  • /components/ILIAS/Survey/classes/class.ilObjSurveyAccess.php
"DELETE FROM svy_anonymous WHERE " . " survey_fi = %s"1
  • /components/ILIAS/Survey/Code/class.CodeDBRepo.php
"DELETE FROM svy_anonymous WHERE " . " survey_fi = %s AND survey_key = %s"1
  • /components/ILIAS/Survey/Code/class.CodeDBRepo.php
"SELECT anonymous_id FROM svy_anonymous " . " WHERE survey_fi = %s AND survey_key = %s "1
  • /components/ILIAS/Survey/Code/class.CodeDBRepo.php
"SELECT survey_key FROM svy_anonymous " . " WHERE survey_fi = %s "1
  • /components/ILIAS/Survey/Code/class.CodeDBRepo.php
"SELECT * FROM svy_anonymous " . " WHERE survey_fi = %s "1
  • /components/ILIAS/Survey/Code/class.CodeDBRepo.php
"SELECT * FROM svy_anonymous " . " WHERE survey_fi = %s AND survey_key = %s"1
  • /components/ILIAS/Survey/Code/class.CodeDBRepo.php
"SELECT survey_key FROM svy_anonymous " . " WHERE survey_fi = %s AND user_key = %s "1
  • /components/ILIAS/Survey/Code/class.CodeDBRepo.php
"SELECT survey_key FROM svy_anonymous " . " WHERE survey_fi = %s AND anonymous_id = %s "1
  • /components/ILIAS/Survey/Code/class.CodeDBRepo.php
"SELECT survey_fi, appr_id FROM svy_finished " . " WHERE user_fi = %s AND state = %s"1
  • /components/ILIAS/Survey/Execution/class.RunDBRepository.php
"SELECT * FROM svy_finished" . " WHERE survey_fi = %s AND anonymous_id = %s AND appr_id = %s"1
  • /components/ILIAS/Survey/Execution/class.RunDBRepository.php
"SELECT * FROM svy_finished" . " WHERE survey_fi = %s AND user_fi = %s AND appr_id = %s"1
  • /components/ILIAS/Survey/Execution/class.RunDBRepository.php
"SELECT * FROM svy_finished" . " WHERE finished_id = %s "1
  • /components/ILIAS/Survey/Execution/class.RunDBRepository.php
"SELECT * FROM svy_finished" . " WHERE survey_fi = " . $db->quote($survey_id, "integer")1
  • /components/ILIAS/Survey/Execution/class.RunDBRepository.php
"SELECT * FROM svy_finished" . " WHERE finished_id = " . $db->quote($run_id, "integer")1
  • /components/ILIAS/Survey/Execution/class.RunDBRepository.php
"INSERT INTO svy_finished (finished_id, survey_fi, user_fi, anonymous_id, state, tstamp, appr_id) " . "VALUES (%s, %s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/Survey/Execution/class.RunDBRepository.php
"INSERT INTO svy_times (id, finished_fi, entered_page, left_page, first_question) VALUES (%s, %s, %s, %s,%s)"1
  • /components/ILIAS/Survey/Execution/class.RunDBRepository.php
"UPDATE svy_times SET left_page = %s WHERE finished_fi = %s AND entered_page = %s"1
  • /components/ILIAS/Survey/Execution/class.RunDBRepository.php
"SELECT * FROM svy_quest_skill " . " WHERE survey_id = " . $ilDB->quote($this->survey->getId( ), "integer")1
  • /components/ILIAS/Survey/Skills/class.ilSurveySkill.php
"SELECT * FROM svy_quest_skill " . " WHERE q_id = " . $ilDB->quote($a_question_id, "integer")1
  • /components/ILIAS/Survey/Skills/class.ilSurveySkill.php
"DELETE FROM svy_quest_skill WHERE " . " q_id = " . $ilDB->quote($a_question_id, "integer")1
  • /components/ILIAS/Survey/Skills/class.ilSurveySkill.php
"delete skill assignment, obj id " . $a_obj_id . ", obj type: " . ilObject::_lookupType($a_obj_id)1
  • /components/ILIAS/Survey/Skills/class.ilSurveySkill.php
"SELECT * FROM svy_quest_skill " . " WHERE base_skill_id = " . $ilDB->quote($a_skill_id, "integer") . " AND tref_id = " . $ilDB->quote($a_tref_id, "integer") . " AND survey_id = " . $ilDB->quote($this->survey->getId( ), "integer")1
  • /components/ILIAS/Survey/Skills/class.ilSurveySkill.php
"DELETE FROM svy_quest_skill " . " WHERE base_skill_id = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/Survey/Skills/class.SurveySkillDBRepository.php
"DELETE FROM svy_skill_threshold " . " WHERE base_skill_id = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/Survey/Skills/class.SurveySkillDBRepository.php
"DELETE FROM svy_quest_skill " . " WHERE tref_id = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/Survey/Skills/class.SurveySkillDBRepository.php
"DELETE FROM svy_skill_threshold " . " WHERE tref_id = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/Survey/Skills/class.SurveySkillDBRepository.php
"SELECT * FROM svy_skill_threshold " . " WHERE survey_id = " . $ilDB->quote($this->survey->getId( ), "integer")1
  • /components/ILIAS/Survey/Skills/class.ilSurveySkillThresholds.php
"SELECT * FROM svy_skill_threshold " . " WHERE survey_id = %s "1
  • /components/ILIAS/Survey/Skills/class.ilSurveySkillThresholds.php
"SELECT * " . " FROM svy_quest_skill WHERE " . $ilDB->in("survey_id", $a_ids, false, "integer")1
  • /components/ILIAS/Survey/Export/class.ilSurveyDataSet.php
"SELECT * " . " FROM svy_skill_threshold WHERE " . $ilDB->in("survey_id", $a_ids, false, "integer")1
  • /components/ILIAS/Survey/Export/class.ilSurveyDataSet.php
"insert svy_svy_qst, id: " . $next_id . ", qfi: " . $survey_question_id1
  • /components/ILIAS/Survey/Sequence/SequenceManager.php
"SELECT count(*) cnt FROM svy_svy_qst " . " WHERE survey_fi = %s "1
  • /components/ILIAS/Survey/Sequence/SequenceDBRepository.php
"INSERT INTO svy_svy_qst (survey_question_id, survey_fi," . "question_fi, sequence, tstamp) VALUES (%s, %s, %s, %s, %s)"1
  • /components/ILIAS/Survey/Sequence/SequenceDBRepository.php
"SELECT obj_id, appr_id FROM svy_360_rater " . " WHERE user_id = %s "1
  • /components/ILIAS/Survey/Survey360/AppraiseeDBRepository.php
"SELECT obj_id, user_id FROM svy_360_appr " . " WHERE " . $db->in("obj_id", $survey_ids, false, "integer") . "AND has_closed = %s"1
  • /components/ILIAS/Survey/Survey360/AppraiseeDBRepository.php
"SELECT DISTINCT obj_id FROM svy_360_appr " . "WHERE user_id = %s " . "AND has_closed = %s"1
  • /components/ILIAS/Survey/Survey360/AppraiseeDBRepository.php
"DELETE FROM il_bt_bucket WHERE user_id = %s AND (state = %s OR state = %s) AND last_heartbeat < %s AND last_heartbeat > 0"1
  • /components/ILIAS/BackgroundTasks/src/Implementation/Persistence/BasicPersistence.php
"DELETE FROM il_bt_bucket WHERE state = %s AND last_heartbeat < %s AND last_heartbeat > 0"1
  • /components/ILIAS/BackgroundTasks/src/Implementation/Persistence/BasicPersistence.php
"DELETE FROM il_bt_bucket WHERE state != %s AND last_heartbeat < %s AND last_heartbeat > 0"1
  • /components/ILIAS/BackgroundTasks/src/Implementation/Persistence/BasicPersistence.php
"DELETE il_bt_task FROM il_bt_task LEFT JOIN il_bt_bucket ON il_bt_bucket.id = il_bt_task.bucket_id WHERE il_bt_bucket.id IS NULL;"1
  • /components/ILIAS/BackgroundTasks/src/Implementation/Persistence/BasicPersistence.php
"DELETE il_bt_value_to_task FROM il_bt_value_to_task LEFT JOIN il_bt_bucket ON il_bt_bucket.id = il_bt_value_to_task.bucket_id WHERE il_bt_bucket.id IS NULL;"1
  • /components/ILIAS/BackgroundTasks/src/Implementation/Persistence/BasicPersistence.php
"DELETE il_bt_value_to_task FROM il_bt_value_to_task LEFT JOIN il_bt_task ON il_bt_task.id = il_bt_value_to_task.task_id WHERE il_bt_task.id IS NULL;"1
  • /components/ILIAS/BackgroundTasks/src/Implementation/Persistence/BasicPersistence.php
"DELETE il_bt_value FROM il_bt_value LEFT JOIN il_bt_value_to_task ON il_bt_value_to_task.value_id = il_bt_value.id WHERE il_bt_value_to_task.id IS NULL;"1
  • /components/ILIAS/BackgroundTasks/src/Implementation/Persistence/BasicPersistence.php
"SELECT act_est_reading_time FROM content_object " . " WHERE id = %s "1
  • /components/ILIAS/LearningModule/ReadingTime/class.ReadingTimeDBRepo.php
"SELECT id, act_est_reading_time, est_reading_time FROM content_object " . " WHERE " . $db->in("id", $lm_ids, false, "integer")1
  • /components/ILIAS/LearningModule/ReadingTime/class.ReadingTimeDBRepo.php
"SELECT * FROM lm_tree WHERE child = " . $ilDB->quote($a_st_id, "integer") . " AND lm_id = " . $ilDB->quote($a_lm_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilStructureObject.php
"SELECT * FROM lm_tree WHERE child = " . $ilDB->quote($tree_node["parent"], "integer") . " AND lm_id = " . $ilDB->quote($a_lm_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilStructureObject.php
"SELECT lm_data.obj_id" . " FROM lm_data" . " JOIN lm_tree ON (lm_tree.child = lm_data.obj_id)" . " JOIN page_object ON (page_object.page_id = lm_data.obj_id AND page_object.parent_type = " . $ilDB->quote("lm", "text") . ")" . " WHERE lm_tree.lm_id = " . $ilDB->quote($this->tree_id, "integer") . " AND lm_data.type = " . $ilDB->quote("pg", "text") . " AND page_object.active = " . $ilDB->quote(1, "integer") . " ORDER BY lm_tree.rgt DESC"1
  • /components/ILIAS/LearningModule/classes/class.ilLMTree.php
"SELECT count(pq.question_id) cnt "1
  • /components/ILIAS/LearningModule/classes/class.ilLMPageObject.php
"SELECT pq.page_id, pq.question_id "1
  • /components/ILIAS/LearningModule/classes/class.ilLMPageObject.php
"SELECT * FROM lo_access WHERE " . "usr_id = " . $ilDB->quote($a_user_id, "integer") . " AND " . "lm_id = " . $ilDB->quote($a_ref_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObjectAccess.php
"SELECT obj_id, lm_id FROM lo_access WHERE " . "usr_id = " . $ilDB->quote($ilUser->getId( ), "integer") . " AND " . $ilDB->in("lm_id", $ref_ids, false, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObjectAccess.php
"SELECT obj_id FROM lm_read_event" . " WHERE obj_id = " . $ilDB->quote($a_page_id, "integer") . " AND usr_id = " . $ilDB->quote($this->user_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMTracker.php
"UPDATE lm_read_event SET" . " read_count = read_count + 1 " . " , last_access = " . $ilDB->quote($now, "integer") . " WHERE obj_id = " . $ilDB->quote($a_page_id, "integer") . " AND usr_id = " . $ilDB->quote($this->user_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMTracker.php
"SELECT * FROM lo_access WHERE " . "usr_id = " . $ilDB->quote($this->user_id, "integer") . " AND " . "lm_id = " . $ilDB->quote($this->lm_ref_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMTracker.php
"SELECT obj_id FROM lm_read_event" . " WHERE " . $ilDB->in("obj_id", $parent_st_ids, "", "integer") . " AND usr_id = " . $ilDB->quote($this->user_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMTracker.php
"UPDATE lm_read_event SET" . " read_count = read_count + " . $ilDB->quote($read_diff, "integer") . " , spent_seconds = spent_seconds + " . $ilDB->quote($time_diff, "integer") . " , last_access = " . $ilDB->quote($now, "integer") . " WHERE " . $ilDB->in("obj_id", $parent_st_ids, "", "integer") . " AND usr_id = " . $ilDB->quote($this->user_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMTracker.php
"SELECT * FROM lm_read_event " . " WHERE " . $ilDB->in("obj_id", $this->lm_obj_ids, false, "integer") . " AND usr_id = " . $ilDB->quote($this->user_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMTracker.php
"INSERT INTO lm_menu (id, lm_id,link_type,title,target,link_ref_id, active) " . "VALUES " . "(" . $ilDB->quote($id, "integer") . "," . $ilDB->quote($this->getObjId( ), "integer") . "," . $ilDB->quote($this->getLinkType( ), "text") . "," . $ilDB->quote($this->getTitle( ), "text") . "," . $ilDB->quote($this->getTarget( ), "text") . "," . $ilDB->quote($this->getLinkRefId( ), "integer") . "," . $ilDB->quote($this->getActive( ), "text") . ")"1
  • /components/ILIAS/LearningModule/classes/class.ilLMMenuEditor.php
"SELECT * FROM lm_menu " . "WHERE lm_id = " . $ilDB->quote($this->lm_id, "integer") . $and1
  • /components/ILIAS/LearningModule/classes/class.ilLMMenuEditor.php
"DELETE FROM lm_menu WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMMenuEditor.php
"UPDATE lm_menu SET " . " link_type = " . $ilDB->quote($this->getLinkType( ), "text") . "," . " title = " . $ilDB->quote($this->getTitle( ), "text") . "," . " target = " . $ilDB->quote($this->getTarget( ), "text") . "," . " link_ref_id = " . $ilDB->quote($this->getLinkRefId( ), "integer") . " WHERE id = " . $ilDB->quote($this->getEntryId( ), "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMMenuEditor.php
"SELECT * FROM lm_menu WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMMenuEditor.php
"UPDATE lm_menu SET " . "active = CASE " . "WHEN " . $ilDB->in("id", $a_entries, false, "integer") . " " . "THEN " . $ilDB->quote("y", "text") . " " . "ELSE " . $ilDB->quote("n", "text") . " " . "END " . "WHERE lm_id = " . $ilDB->quote($this->lm_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMMenuEditor.php
"SELECT * FROM lm_menu " . " WHERE lm_id = %s "1
  • /components/ILIAS/LearningModule/classes/class.ilLMMenuEditor.php
"DELETE FROM lm_menu WHERE " . " id = %s"1
  • /components/ILIAS/LearningModule/classes/class.ilLMMenuEditor.php
"SELECT * FROM lm_data_transl " . " WHERE id = " . $ilDB->quote($this->getId( ), "integer") . " AND lang = " . $ilDB->quote($this->getLang( ), "text")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObjTranslation.php
"INSERT INTO lm_data_transl " . "(id, lang, title, short_title, create_date, last_update) VALUES (" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($this->getLang( ), "text") . "," . $ilDB->quote($this->getTitle( ), "text") . "," . $ilDB->quote($this->getShortTitle( ), "text") . "," . $ilDB->now( ) . "," . $ilDB->now( ) . ")"1
  • /components/ILIAS/LearningModule/classes/class.ilLMObjTranslation.php
"UPDATE lm_data_transl SET " . " title = " . $ilDB->quote($this->getTitle( ), "text") . "," . " short_title = " . $ilDB->quote($this->getShortTitle( ), "text") . "," . " last_update = " . $ilDB->now( ) . " WHERE id = " . $ilDB->quote($this->getId( ), "integer") . " AND lang = " . $ilDB->quote($this->getLang( ), "text")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObjTranslation.php
"SELECT * FROM lm_data_transl " . " WHERE id = " . $ilDB->quote($a_id, "integer") . " AND lang = " . $ilDB->quote($a_lang, "text")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObjTranslation.php
"SELECT * FROM lm_data_transl " . " WHERE id = " . $ilDB->quote($a_source_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObjTranslation.php
"SELECT * FROM lm_data WHERE obj_id = " . $ilDB->quote($this->id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT * FROM lm_data " . " WHERE lm_id = " . $ilDB->quote($a_lm_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT " . $a_field . " FROM lm_data WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT type FROM lm_data WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer") . $and1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"UPDATE lm_data SET " . " title = " . $ilDB->quote($a_title, "text") . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"UPDATE lm_data " . "SET " . "import_id = " . $ilDB->quote($a_import_id, "text") . "," . "last_update = " . $ilDB->now( ) . " " . "WHERE obj_id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"INSERT INTO lm_data (obj_id, title, type, layout, lm_id, import_id, short_title, create_date) " . "VALUES (" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($this->getTitle( ), "text") . "," . $ilDB->quote($this->getType( ), "text") . ", " . $ilDB->quote($this->getLayout( ), "text") . ", " . $ilDB->quote($this->getLMId( ), "integer") . "," . $ilDB->quote($this->getImportId( ), "text") . "," . $ilDB->quote($this->getShortTitle( ), "text") . ", " . $ilDB->now( ) . ")"1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"UPDATE lm_data SET " . " lm_id = " . $ilDB->quote($this->getLMId( ), "integer") . " ,title = " . $ilDB->quote($this->getTitle( ), "text") . " ,short_title = " . $ilDB->quote($this->getShortTitle( ), "text") . " ,layout = " . $ilDB->quote($this->getLayout( ), "text") . " WHERE obj_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"DELETE FROM lm_data WHERE obj_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT obj_id FROM lm_data WHERE import_id = " . $ilDB->quote($a_import_id, "text") . " " . " ORDER BY create_date DESC"1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT * FROM lm_data WHERE import_id = " . $ilDB->quote($a_import_id, "text") . " " . $where . " ORDER BY create_date DESC"1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT * FROM lm_data " . "WHERE lm_id= " . $ilDB->quote($lm_id, "integer") . " " . $type_str . " " . "ORDER BY title"1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT * FROM lm_data " . "WHERE lm_id= " . $ilDB->quote($a_cobj->getId( ), "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT lm_id FROM lm_data WHERE obj_id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"UPDATE lm_data SET " . " layout = " . $ilDB->quote($a_layout, "text") . " WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"UPDATE lm_data SET " . " layout = " . $ilDB->quote($a_layout, "text") . " WHERE obj_id = " . $ilDB->quote($c["child"], "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT layout FROM lm_data WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT obj_id FROM lm_data " . " WHERE lm_id = " . $ilDB->quote($a_lm_id, "integer") . $and1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT t.child, d.obj_id, d.title, d.short_title FROM lm_data d LEFT JOIN lm_tree t ON (d.obj_id = t.child) WHERE d.lm_id = " . $db->quote($a_lm_id, "integer") . " ORDER BY t.lft, d.title"1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT t.child, d.obj_id, tr.title, tr.short_title, d.title default_title, d.short_title default_short_title FROM lm_data d " . " LEFT JOIN lm_tree t ON (d.obj_id = t.child) " . " LEFT JOIN lm_data_transl tr ON (tr.id = d.obj_id AND tr.lang=" . $db->quote($a_lang, "text") . ") WHERE d.lm_id = " . $db->quote($a_lm_id, "integer") . " ORDER BY t.lft, d.title"1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"UPDATE lm_data SET " . " short_title = " . $db->quote($a_short_title, "text") . " WHERE obj_id = " . $db->quote($a_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT id, title, description," . " default_layout, page_header, toc_active, lm_menu_active, toc_mode, print_view_active, numbering," . " hist_user_comments, public_access_mode, header_page, footer_page, layout_per_page, rating, " . " hide_head_foot_print, disable_def_feedback, rating_pages, store_tries, restrict_forw_nav, progr_icons, stylesheet style_id" . " FROM content_object JOIN object_data ON (content_object.id = object_data.obj_id)" . " WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLearningModuleDataSet.php
"SELECT id, title, description," . " default_layout, page_header, toc_active, lm_menu_active, toc_mode, print_view_active, numbering," . " hist_user_comments, public_access_mode, no_glo_appendix, header_page, footer_page, layout_per_page, rating, " . " hide_head_foot_print, disable_def_feedback, rating_pages, store_tries, restrict_forw_nav, progr_icons, stylesheet style_id" . " FROM content_object JOIN object_data ON (content_object.id = object_data.obj_id)" . " WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLearningModuleDataSet.php
"SELECT id, title, description," . " default_layout, page_header, toc_active, lm_menu_active, toc_mode, print_view_active, numbering," . " hist_user_comments, no_glo_appendix, header_page, footer_page, layout_per_page, rating, " . " hide_head_foot_print, disable_def_feedback, rating_pages, store_tries, restrict_forw_nav, progr_icons, stylesheet style_id" . " FROM content_object JOIN object_data ON (content_object.id = object_data.obj_id)" . " WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLearningModuleDataSet.php
"SELECT lm_tree.lm_id, child, parent, depth, type, title, short_title, public_access, active, layout, import_id" . " FROM lm_tree JOIN lm_data ON (lm_tree.child = lm_data.obj_id)" . " WHERE " . $ilDB->in("lm_tree.lm_id", $a_ids, false, "integer") . " ORDER BY lft"1
  • /components/ILIAS/LearningModule/classes/class.ilLearningModuleDataSet.php
"SELECT lm_id, type, title, short_title, public_access, active, layout, import_id, obj_id child FROM lm_data " . "WHERE " . $ilDB->in("lm_id", $a_ids, false, "integer") . " AND " . $ilDB->in("obj_id", $obj_ids, true, "integer") . " AND type = " . $ilDB->quote("pg", "text")1
  • /components/ILIAS/LearningModule/classes/class.ilLearningModuleDataSet.php
"SELECT lm_tree.lm_id, child, parent, depth, type, title, short_title, active, layout, import_id" . " FROM lm_tree JOIN lm_data ON (lm_tree.child = lm_data.obj_id)" . " WHERE " . $ilDB->in("lm_tree.lm_id", $a_ids, false, "integer") . " ORDER BY lft"1
  • /components/ILIAS/LearningModule/classes/class.ilLearningModuleDataSet.php
"SELECT lm_id, link_type, title, target, link_ref_id, active" . " FROM lm_menu " . " WHERE " . $ilDB->in("lm_id", $a_ids, false, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLearningModuleDataSet.php
"SELECT id, lang, title, short_title" . " FROM lm_data_transl " . " WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilLearningModuleDataSet.php
"SELECT * FROM lm_glossaries " . " WHERE lm_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"INSERT INTO lm_glossaries " . "(lm_id, glo_id) VALUES (" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($glo_id, "integer") . ")"1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"DELETE FROM content_object WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"DELETE FROM lm_menu WHERE lm_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"UPDATE content_object SET " . " header_page = " . $ilDB->quote($a_page_id, "integer") . " WHERE id = " . $ilDB->quote($a_lm_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"UPDATE content_object SET " . " footer_page = " . $ilDB->quote($a_page_id, "integer") . " WHERE id = " . $ilDB->quote($a_lm_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT stylesheet FROM content_object, style_data " . " WHERE content_object.stylesheet = style_data.id " . " AND style_data.standard = " . $ilDB->quote(0, "integer") . " AND content_object.stylesheet > " . $ilDB->quote(0, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"UPDATE content_object SET " . " stylesheet = " . $ilDB->quote($a_to_style, "integer") . " WHERE stylesheet = " . $ilDB->quote($style_rec["stylesheet"], "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"UPDATE content_object SET " . " stylesheet = " . $ilDB->quote($a_to_style, "integer") . " WHERE stylesheet = " . $ilDB->quote($a_from_style, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT " . $a_field . " FROM content_object " . " WHERE id = " . $ilDB->quote($a_obj_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT stylesheet FROM content_object " . " WHERE id = " . $ilDB->quote($a_cont_obj_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT id FROM content_object " . " WHERE stylesheet = " . $ilDB->quote($a_style_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT disable_def_feedback FROM content_object " . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT store_tries FROM content_object " . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT count(*) as cnt FROM content_object " . " WHERE stylesheet = " . $ilDB->quote($a_style_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT count(*) as cnt FROM content_object, style_data " . " WHERE stylesheet = style_data.id " . " AND standard = " . $ilDB->quote(0, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT count(*) as cnt FROM content_object " . " WHERE stylesheet = " . $ilDB->quote(0, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"UPDATE content_object SET " . " stylesheet = " . $ilDB->quote(0, "integer") . " WHERE stylesheet = " . $ilDB->quote($a_style_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT * FROM content_object WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"UPDATE content_object SET " . " default_layout = " . $ilDB->quote($this->getLayout( ), "text") . ", " . " page_header = " . $ilDB->quote($this->getPageHeader( ), "text") . "," . " toc_mode = " . $ilDB->quote($this->getTOCMode( ), "text") . "," . " toc_active = " . $ilDB->quote(ilUtil::tf2yn($this->isActiveTOC( )), "text") . "," . " numbering = " . $ilDB->quote(ilUtil::tf2yn($this->isActiveNumbering( )), "text") . "," . " print_view_active = " . $ilDB->quote(ilUtil::tf2yn($this->isActivePrintView( )), "text") . "," . " no_glo_appendix = " . $ilDB->quote(ilUtil::tf2yn($this->isActivePreventGlossaryAppendix( )), "text") . "," . " hide_head_foot_print = " . $ilDB->quote($this->getHideHeaderFooterPrint( ), "integer") . "," . " clean_frames = " . $ilDB->quote(ilUtil::tf2yn($this->cleanFrames( )), "text") . "," . " header_page = " . $ilDB->quote($this->getHeaderPage( ), "integer") . "," . " footer_page = " . $ilDB->quote($this->getFooterPage( ), "integer") . "," . " lm_menu_active = " . $ilDB->quote(ilUtil::tf2yn($this->isActiveLMMenu( )), "text") . ", " . " layout_per_page = " . $ilDB->quote($this->getLayoutPerPage( ), "integer") . ", " . " rating = " . $ilDB->quote($this->hasRating( ), "integer") . ", " . " rating_pages = " . $ilDB->quote($this->hasRatingPages( ), "integer") . ", " . " disable_def_feedback = " . $ilDB->quote($this->getDisableDefaultFeedback( ), "integer") . ", " . " progr_icons = " . $ilDB->quote($this->getProgressIcons( ), "integer") . ", " . " store_tries = " . $ilDB->quote($this->getStoreTries( ), "integer") . ", " . " restrict_forw_nav = " . $ilDB->quote($this->getRestrictForwardNavigation( ), "integer") . ", " . " for_translation = " . $ilDB->quote((int) $this->getForTranslation( ), "integer") . " " . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT DISTINCT l1.lm_id" . " FROM lm_tree l1" . " JOIN lm_tree l2 ON ( l1.child = l2.parent" . " AND l1.lm_id = l2.lm_id )" . " JOIN lm_data ON ( l1.child = lm_data.obj_id )" . " WHERE (l2.lft < l1.lft" . " OR l2.rgt > l1.rgt OR l2.lft > l1.rgt OR l2.rgt < l1.lft)" . " AND l1.lm_id = " . $ilDB->quote($this->getId( ), "integer") . " ORDER BY lm_data.create_date DESC"1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"UPDATE lm_tree SET " . " child = " . $ilDB->quote($pg_copy->getId( ), "integer") . " WHERE child = " . $ilDB->quote($cobj->getId( ), "integer") . " AND lm_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"UPDATE lm_tree SET " . " child = " . $ilDB->quote($st_copy->getId( ), "integer") . " WHERE child = " . $ilDB->quote($cobj->getId( ), "integer") . " AND lm_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"UPDATE lm_tree SET " . " parent = " . $ilDB->quote($st_copy->getId( ), "integer") . " WHERE parent = " . $ilDB->quote($cobj->getId( ), "integer") . " AND lm_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT l1.child, l1.lft l1lft, l1.rgt l1rgt, l2.parent, l2.lft l2lft, l2.rgt l2rgt" . " FROM lm_tree l1" . " JOIN lm_tree l2 ON ( l1.child = l2.parent" . " AND l1.lm_id = l2.lm_id )" . " JOIN lm_data ON ( l1.child = lm_data.obj_id )" . " WHERE (l2.lft < l1.lft" . " OR l2.rgt > l1.rgt OR l2.lft > l1.rgt OR l2.rgt < l1.lft)" . " AND l1.lm_id = " . $ilDB->quote($this->getId( ), "integer") . " ORDER BY lm_data.create_date DESC"1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT * FROM lm_tree " . " WHERE child = %s "1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT * FROM lm_glossaries " . " WHERE lm_id = " . $ilDB->quote($a_lm_id, "integer")1
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php
"SELECT {$select} FROM {$from} {$where}"1
  • /components/ILIAS/Accessibility/classes/class.ilAccessibilityTableDatabaseDataProvider.php
"SELECT COUNT(*) cnt FROM ({$query}) subquery"1
  • /components/ILIAS/Accessibility/classes/class.ilAccessibilityTableDatabaseDataProvider.php
'SELECT * FROM sysc_tasks ' . 'WHERE id = ' . $this->db->quote($this->getId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/SystemCheck/classes/class.ilSCTask.php
'INSERT INTO sysc_tasks (id,grp_id,status,identifier) ' . 'VALUES ( ' . $this->db->quote($this->getId( ), ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($this->getGroupId( ), ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($this->getStatus( ), ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($this->getIdentifier( ), ilDBConstants::T_TEXT) . ' ' . ')'1
  • /components/ILIAS/SystemCheck/classes/class.ilSCTask.php
'UPDATE sysc_tasks SET ' . 'last_update = ' . $this->db->quote($this->getLastUpdate( )->get(IL_CAL_DATETIME, '', ilTimeZone::UTC), ilDBConstants::T_TIMESTAMP) . ', ' . 'status = ' . $this->db->quote($this->getStatus( ), ilDBConstants::T_INTEGER) . ', ' . 'identifier = ' . $this->db->quote($this->getIdentifier( ), ilDBConstants::T_TEXT) . ' ' . 'WHERE id = ' . $this->db->quote($this->getId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/SystemCheck/classes/class.ilSCTask.php
'SELECT child,tree FROM tree t JOIN object_reference r ON child = r.ref_id ' . 'JOIN object_data o on r.obj_id = o.obj_id ' . 'WHERE tree < ' . $this->db->quote(0, ilDBConstants::T_INTEGER) . ' ' . 'AND child = -tree '1
  • /components/ILIAS/SystemCheck/classes/class.ilSystemCheckTrash.php
'SELECT child,tree FROM tree t JOIN object_reference r ON child = r.ref_id ' . 'JOIN object_data o on r.obj_id = o.obj_id '1
  • /components/ILIAS/SystemCheck/classes/class.ilSystemCheckTrash.php
'select identifier from sysc_tasks ' . 'where id = ' . $db->quote($a_task_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/SystemCheck/classes/class.ilSCTasks.php
'SELECT grp_id FROM sysc_tasks ' . 'WHERE id = ' . $ilDB->quote($a_task_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/SystemCheck/classes/class.ilSCTasks.php
'SELECT MAX(last_update) last_update FROM sysc_tasks ' . 'WHERE status = ' . $ilDB->quote(ilSCTask::STATUS_FAILED, ilDBConstants::T_INTEGER) . ' ' . 'AND grp_id = ' . $ilDB->quote($a_grp_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/SystemCheck/classes/class.ilSCTasks.php
'SELECT id, grp_id FROM sysc_tasks ' . 'ORDER BY id '1
  • /components/ILIAS/SystemCheck/classes/class.ilSCTasks.php
'SELECT id FROM sysc_groups ' . 'WHERE component = ' . $this->db->quote($a_component_id, ilDBConstants::T_TEXT)1
  • /components/ILIAS/SystemCheck/classes/class.ilSCGroups.php
'SELECT id FROM sysc_groups ' . 'ORDER BY id '1
  • /components/ILIAS/SystemCheck/classes/class.ilSCGroups.php
'SELECT component FROM sysc_groups ' . 'WHERE id = ' . $ilDB->quote($a_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/SystemCheck/classes/class.ilSCGroup.php
'INSERT INTO sysc_groups (id,component,status) ' . 'VALUES ( ' . $this->db->quote($this->getId( ), ilDBConstants::T_INTEGER) . ', ' . $this->db->quote($this->getComponentId( ), ilDBConstants::T_TEXT) . ', ' . $this->db->quote($this->getStatus( ), ilDBConstants::T_INTEGER) . ' ' . ')'1
  • /components/ILIAS/SystemCheck/classes/class.ilSCGroup.php
"SELECT id, style_id, tag, class, parameter, value, type, mq_id, custom" . PHP_EOL . "FROM style_parameter" . PHP_EOL . "WHERE style_id = " . $db->quote($row["obj_id"], "integer") . PHP_EOL . "AND type = " . $db->quote($type, "text") . PHP_EOL . "AND class = " . $db->quote($orig_class, "text") . PHP_EOL . "AND tag = " . $db->quote($tag, "text") . PHP_EOL1
  • /components/ILIAS/Migration/DBUpdate_3136/classes/class.ilDBUpdate3136.php
"DELETE FROM rbac_ta" . PHP_EOL . "WHERE typ_id = " . $ilDB->quote($type_id, "integer") . PHP_EOL . "AND ops_id = " . $ilDB->quote($ops_id, "integer") . PHP_EOL1
  • /components/ILIAS/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php
"DELETE FROM rbac_templates" . PHP_EOL . "WHERE type = " . $ilDB->quote($type, "text") . PHP_EOL . "ops_id = " . $ilDB->quote($ops_id, "integer") . PHP_EOL1
  • /components/ILIAS/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php
"SELECT rpa.rol_id, rpa.ops_id, rpa.ref_id" . PHP_EOL . "FROM rbac_pa rpa" . PHP_EOL . "JOIN object_reference ref ON (ref.ref_id = rpa.ref_id)" . PHP_EOL . "JOIN object_data od ON (od.obj_id = ref.obj_id AND od.type = " . $db->quote($obj_type, "text") . ")" . PHP_EOL . "WHERE (" . $db->like("ops_id", "text", "%i:" . $source_op_id . "%") . PHP_EOL . "OR " . $db->like("ops_id", "text", "%:\"" . $source_op_id . "\";%") . ")" . PHP_EOL1
  • /components/ILIAS/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php
"SELECT rol_id, parent, ops_id" . PHP_EOL . "FROM rbac_templates" . PHP_EOL . "WHERE type = " . $db->quote($obj_type, "text") . PHP_EOL . "AND (ops_id = " . $db->quote($source_op_id, "integer") . PHP_EOL . "OR ops_id = " . $db->quote($target_op_id, "integer") . ")" . PHP_EOL1
  • /components/ILIAS/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php
"SELECT data FROM usr_session WHERE session_id = " . $ilDB->quote($a_session_id, "text")1
  • /components/ILIAS/Authentication/classes/class.ilSession.php
'SELECT expires FROM usr_session WHERE session_id = ' . $ilDB->quote($a_session_id, 'text')1
  • /components/ILIAS/Authentication/classes/class.ilSession.php
'INSERT INTO usr_session (' . $insert_fields . ') ' . 'VALUES (' . $insert_values . ') ' . 'ON DUPLICATE KEY UPDATE ' . $update_values1
  • /components/ILIAS/Authentication/classes/class.ilSession.php
"SELECT 1 FROM usr_session WHERE session_id = " . $ilDB->quote($a_session_id, "text")1
  • /components/ILIAS/Authentication/classes/class.ilSession.php
"DELETE FROM usr_session WHERE session_id = " . $ilDB->quote($a_session_id, "text")1
  • /components/ILIAS/Authentication/classes/class.ilSession.php
"DELETE FROM usr_session WHERE " . $ilDB->in("session_id", $a_session_id, false, "text")1
  • /components/ILIAS/Authentication/classes/class.ilSession.php
"DELETE FROM usr_session WHERE user_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Authentication/classes/class.ilSession.php
'SELECT session_id, expires FROM usr_session WHERE expires < ' . $ilDB->quote(time( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Authentication/classes/class.ilSession.php
"SELECT * FROM usr_session WHERE " . "session_id = " . $ilDB->quote($new_session, "text")1
  • /components/ILIAS/Authentication/classes/class.ilSession.php
"SELECT * FROM usr_session " . "WHERE session_id = " . $ilDB->quote($a_session_id, "text")1
  • /components/ILIAS/Authentication/classes/class.ilSession.php
"SELECT count(session_id) AS num_sessions FROM usr_session " . "WHERE expires > %s " . "AND " . $ilDB->in('type', $a_types, false, 'integer')1
  • /components/ILIAS/Authentication/classes/class.ilSessionControl.php
"SELECT session_id, expires FROM usr_session " . "WHERE session_id = %s"1
  • /components/ILIAS/Authentication/classes/class.ilSessionControl.php
"SELECT login FROM usr_data WHERE login = " . $ilDB->quote($c_login)1
  • /components/ILIAS/Authentication/classes/class.ilAuthUtils.php
"SELECT value FROM usr_sess_istorage " . " WHERE session_id = " . $ilDB->quote($this->session_id, "text") . " AND component_id = " . $ilDB->quote($this->component_id, "text") . " AND vkey = " . $ilDB->quote($a_key, "text")1
  • /components/ILIAS/Authentication/classes/class.ilSessionIStorage.php
"DELETE FROM usr_sess_istorage WHERE session_id = " . $DIC->database( )->quote($a_session_id, "text")1
  • /components/ILIAS/Authentication/classes/class.ilSessionIStorage.php
"DELETE FROM usr_sess_istorage WHERE " . $DIC->database( )->in("session_id", $a_session_id, false, "text")1
  • /components/ILIAS/Authentication/classes/class.ilSessionIStorage.php
'SELECT usess.expires, usess.user_id, usess.data ' . 'FROM usr_session usess ' . 'INNER JOIN object_data od ON od.obj_id = usess.user_id ' . "WHERE SHA2($concat, 256) = %s"1
  • /components/ILIAS/Authentication/classes/class.ilSessionReminderCheck.php
"UPDATE usr_session_stats_raw" . " SET end_time = " . $ilDB->quote($end_time, "integer")1
  • /components/ILIAS/Authentication/classes/class.ilSessionStatistics.php
"UPDATE usr_session_stats_raw" . " SET end_time = " . $ilDB->quote(time( ), "integer")1
  • /components/ILIAS/Authentication/classes/class.ilSessionStatistics.php
"UPDATE usr_session_stats_raw" . " SET end_time = " . $ilDB->quote($ts, "integer")1
  • /components/ILIAS/Authentication/classes/class.ilSessionStatistics.php
"SELECT MAX(slot_end) previous_slot_end" . " FROM usr_session_stats"1
  • /components/ILIAS/Authentication/classes/class.ilSessionStatistics.php
"SELECT COUNT(*) counter FROM usr_session_stats_raw" . " WHERE (end_time IS NULL OR end_time >= " . $ilDB->quote($a_time, "integer") . ")" . " AND start_time <= " . $ilDB->quote($a_time, "integer") . " AND " . $ilDB->in("type", ilSessionControl::$session_types_controlled, false, "integer")1
  • /components/ILIAS/Authentication/classes/class.ilSessionStatistics.php
"SELECT start_time,end_time,end_context FROM usr_session_stats_raw" . " WHERE start_time <= " . $ilDB->quote($a_end, "integer") . " AND (end_time IS NULL OR end_time >= " . $ilDB->quote($a_begin, "integer") . ")" . " AND " . $ilDB->in("type", ilSessionControl::$session_types_controlled, false, "integer") . " ORDER BY start_time"1
  • /components/ILIAS/Authentication/classes/class.ilSessionStatistics.php
"DELETE FROM usr_session_stats_raw" . " WHERE start_time <= " . $ilDB->quote($cut, "integer")1
  • /components/ILIAS/Authentication/classes/class.ilSessionStatistics.php
"SELECT SUM(opened) opened, SUM(closed_manual) closed_manual," . " SUM(closed_expire) closed_expire," . " SUM(closed_login) closed_login, SUM(closed_misc) closed_misc" . " FROM usr_session_stats" . " WHERE slot_end > " . $ilDB->quote($a_from, "integer") . " AND slot_begin < " . $ilDB->quote($a_to, "integer")1
  • /components/ILIAS/Authentication/classes/class.ilSessionStatistics.php
"SELECT slot_begin, slot_end, active_min, active_max, active_avg" . " FROM usr_session_stats" . " WHERE slot_end > " . $ilDB->quote($a_from, "integer") . " AND slot_begin < " . $ilDB->quote($a_to, "integer") . " ORDER BY slot_begin"1
  • /components/ILIAS/Authentication/classes/class.ilSessionStatistics.php
"SELECT max(slot_end) latest FROM usr_session_stats"1
  • /components/ILIAS/Authentication/classes/class.ilSessionStatistics.php
"UPDATE usr_data SET passwd_policy_reset = %s WHERE (auth_mode = %s $defaultAuthModeCondition)"1
  • /components/ILIAS/Authentication/classes/Password/class.LocalUserPasswordManager.php
'SELECT value FROM settings WHERE module = ' . $this->db->quote('common', ilDBConstants::T_TEXT) . ' AND keyword = ' . $this->db->quote('auth_mode', ilDBConstants::T_TEXT)1
  • /components/ILIAS/Authentication/classes/Setup/AbandonCASAuthModeUpdateObjective.php
'UPDATE ' . self::TABLE_NAME . ' SET auth_mode = %s WHERE auth_mode = %s'1
  • /components/ILIAS/Authentication/classes/Setup/AbandonCASAuthModeUpdateObjective.php
'DELETE FROM settings WHERE module = ' . $this->db->quote('common', ilDBConstants::T_TEXT) . ' AND ' . $this->db->in('keyword', $settings, false, ilDBConstants::T_TEXT)1
  • /components/ILIAS/Authentication/classes/Setup/AbandonCASAuthModeUpdateObjective.php
'SELECT * FROM auth_ext_attr_mapping WHERE auth_mode = %s AND auth_src_id = %s'1
  • /components/ILIAS/Authentication/classes/External/UserAttributeMapping/class.ilExternalAuthUserAttributeMapping.php
'DELETE FROM auth_ext_attr_mapping WHERE auth_mode = %s AND auth_src_id = %s'1
  • /components/ILIAS/Authentication/classes/External/UserAttributeMapping/class.ilExternalAuthUserAttributeMapping.php
'SELECT data FROM usr_session WHERE session_id = 123456'1
  • /components/ILIAS/Authentication/tests/ilSessionTest.php
'SELECT data FROM usr_session WHERE session_id = e10adc3949ba59abbe56e057f20f883e'1
  • /components/ILIAS/Authentication/tests/ilSessionTest.php
'SELECT session_id, expires FROM usr_session WHERE expires < 123456'1
  • /components/ILIAS/Authentication/tests/ilSessionTest.php
'SELECT 1 FROM usr_session WHERE session_id = '1
  • /components/ILIAS/Authentication/tests/ilSessionTest.php
'SELECT 1 FROM usr_session WHERE session_id = 17'1
  • /components/ILIAS/Authentication/tests/ilSessionTest.php
'DELETE FROM usr_sess_istorage WHERE session_id = 123456'1
  • /components/ILIAS/Authentication/tests/ilSessionTest.php
'DELETE FROM usr_session WHERE session_id = e10adc3949ba59abbe56e057f20f883e'1
  • /components/ILIAS/Authentication/tests/ilSessionTest.php
'DELETE FROM usr_session WHERE user_id = e10adc3949ba59abbe56e057f20f883e'1
  • /components/ILIAS/Authentication/tests/ilSessionTest.php
"SELECT startfile, rid FROM file_based_lm WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/HTMLLearningModule/classes/class.ilObjFileBasedLMAccess.php
"SELECT id, startfile FROM file_based_lm WHERE " . $ilDB->in("id", $obj_ids, false, "integer")1
  • /components/ILIAS/HTMLLearningModule/classes/class.ilObjFileBasedLMAccess.php
"SELECT id, title, description, " . " startfile start_file" . " FROM file_based_lm JOIN object_data ON (file_based_lm.id = object_data.obj_id) " . "WHERE " . $ilDB->in("id", $a_ids, false, "integer")1
  • /components/ILIAS/HTMLLearningModule/classes/class.ilHTMLLearningModuleDataSet.php
'SELECT ref_id FROM file_based_lm JOIN object_reference ON file_based_lm.id = object_reference.obj_id WHERE rid = %s'1
  • /components/ILIAS/HTMLLearningModule/classes/class.ilHTLMStakeholder.php
'SELECT ref_id FROM file_based_lm WHERE rid = %s'1
  • /components/ILIAS/HTMLLearningModule/classes/class.ilHTLMStakeholder.php
"SELECT * FROM file_based_lm WHERE id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/HTMLLearningModule/classes/class.ilObjFileBasedLM.php
"DELETE FROM file_based_lm WHERE id = %s"1
  • /components/ILIAS/HTMLLearningModule/classes/class.ilObjFileBasedLM.php
"SELECT id FROM file_based_lm WHERE rid IS NULL OR rid = '' LIMIT 1;"1
  • /components/ILIAS/HTMLLearningModule/classes/Setup/Migrations/class.ilHTLMMigration.php
"SELECT COUNT(id) AS amount FROM file_based_lm WHERE rid IS NULL OR rid = ''"1
  • /components/ILIAS/HTMLLearningModule/classes/Setup/Migrations/class.ilHTLMMigration.php
"DELETE FROM il_meta_description " . "WHERE meta_description_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDDescription.php
"SELECT * FROM il_meta_description " . "WHERE meta_description_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDDescription.php
"SELECT meta_description_id FROM il_meta_description " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, ilDBConstants::T_INTEGER) . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, ilDBConstants::T_INTEGER) . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, ilDBConstants::T_INTEGER) . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, ilDBConstants::T_INTEGER) . " " . "ORDER BY meta_description_id"1
  • /components/ILIAS/MetaData/classes/class.ilMDDescription.php
"DELETE FROM il_meta_tar " . "WHERE meta_tar_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDTypicalAgeRange.php
"SELECT * FROM il_meta_tar " . "WHERE meta_tar_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDTypicalAgeRange.php
"SELECT meta_tar_id FROM il_meta_tar " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, 'integer') . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, 'text')1
  • /components/ILIAS/MetaData/classes/class.ilMDTypicalAgeRange.php
"DELETE FROM il_meta_taxon " . "WHERE meta_taxon_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDTaxon.php
"SELECT * FROM il_meta_taxon " . "WHERE meta_taxon_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDTaxon.php
"SELECT meta_taxon_id FROM il_meta_taxon " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, 'integer') . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, 'text')1
  • /components/ILIAS/MetaData/classes/class.ilMDTaxon.php
"DELETE FROM il_meta_identifier " . "WHERE meta_identifier_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDIdentifier.php
"SELECT * FROM il_meta_identifier " . "WHERE meta_identifier_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDIdentifier.php
"SELECT meta_identifier_id FROM il_meta_identifier " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, 'integer') . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, 'text')1
  • /components/ILIAS/MetaData/classes/class.ilMDIdentifier.php
"SELECT meta_identifier_id, catalog, entry FROM il_meta_identifier " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND obj_type = " . $ilDB->quote($a_obj_type, 'text')1
  • /components/ILIAS/MetaData/classes/class.ilMDIdentifier.php
"SELECT meta_identifier_id, catalog, entry, obj_id FROM il_meta_identifier " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDIdentifier.php
"SELECT meta_identifier_id, obj_id FROM il_meta_identifier " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " AND obj_type = " . $ilDB->quote($a_obj_type, 'text') . " AND catalog = " . $ilDB->quote($a_catalog, 'text') . " AND entry = " . $ilDB->quote($a_entry, 'text')1
  • /components/ILIAS/MetaData/classes/class.ilMDIdentifier.php
"SELECT * FROM il_meta_identifier " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " AND obj_type = " . $ilDB->quote($a_obj_type, 'text') . " AND catalog = " . $ilDB->quote($a_catalog, 'text') . " AND entry = " . $ilDB->quote($a_entry, 'text')1
  • /components/ILIAS/MetaData/classes/class.ilMDIdentifier.php
"DELETE FROM il_meta_requirement " . "WHERE meta_requirement_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDRequirement.php
"SELECT * FROM il_meta_requirement " . "WHERE meta_requirement_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDRequirement.php
"SELECT meta_requirement_id FROM il_meta_requirement " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, 'integer') . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, 'text') . " " . "AND or_composite_id = " . $ilDB->quote($a_or_composite_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDRequirement.php
"DELETE FROM il_meta_or_composite WHERE parent_type = 'meta_requirement' AND parent_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDRequirement.php
"SELECT * FROM il_meta_or_composite WHERE meta_or_composite_id = " . $this->db->quote($this->getOrIdOS( ), 'integer') . " OR meta_or_composite_id = " . $this->db->quote($this->getOrIdBrowser( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDRequirement.php
"SELECT meta_or_composite_id, type FROM il_meta_or_composite WHERE parent_id = " . $this->db->quote($parent_id, 'integer') . " ORDER BY meta_or_composite_id"1
  • /components/ILIAS/MetaData/classes/class.ilMDRequirement.php
"SELECT MAX(or_composite_id) orc FROM il_meta_requirement " . "WHERE rbac_id = " . $this->db->quote($this->getRBACId( ), 'integer') . " " . "AND obj_id = " . $this->db->quote($this->getObjId( ), 'integer') . " "1
  • /components/ILIAS/MetaData/classes/class.ilMDOrComposite.php
"SELECT DISTINCT(or_composite_id) or_composite_id FROM il_meta_requirement " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, 'integer') . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, 'text') . " " . "AND or_composite_id > 0 "1
  • /components/ILIAS/MetaData/classes/class.ilMDOrComposite.php
"DELETE FROM il_meta_keyword " . "WHERE meta_keyword_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDKeyword.php
"SELECT * FROM il_meta_keyword " . "WHERE meta_keyword_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDKeyword.php
"SELECT meta_keyword_id FROM il_meta_keyword " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, 'integer') . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, 'text') . " " . "ORDER BY meta_keyword_id "1
  • /components/ILIAS/MetaData/classes/class.ilMDKeyword.php
"SELECT keyword,keyword_language " . "FROM il_meta_keyword " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND obj_type = " . $ilDB->quote($a_type, 'text') . " "1
  • /components/ILIAS/MetaData/classes/class.ilMDKeyword.php
"SELECT obj_id FROM il_meta_keyword " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . ' ' . 'AND obj_type = ' . $ilDB->quote($a_type, 'text') . ' ' . $qs1
  • /components/ILIAS/MetaData/classes/class.ilMDKeyword.php
"SELECT obj_id FROM il_meta_keyword " . 'WHERE obj_type = ' . $ilDB->quote($a_type, 'text') . ' ' . $qs1
  • /components/ILIAS/MetaData/classes/class.ilMDKeyword.php
"SELECT DISTINCT keyword FROM il_meta_keyword " . 'WHERE obj_type = ' . $ilDB->quote($a_type, 'text') . ' ' . 'AND ' . $ilDB->like('keyword', 'text', '%' . trim($a_query) . '%') . ' '1
  • /components/ILIAS/MetaData/classes/class.ilMDKeyword.php
"SELECT * FROM il_meta_keyword " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . ' ' . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . ' '1
  • /components/ILIAS/MetaData/classes/class.ilMDKeyword.php
"DELETE FROM il_meta_technical " . "WHERE meta_technical_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDTechnical.php
"SELECT * FROM il_meta_technical " . "WHERE meta_technical_id = " . $this->db->quote($this->getMetaId( ), 'integer') . " "1
  • /components/ILIAS/MetaData/classes/class.ilMDTechnical.php
"SELECT meta_technical_id FROM il_meta_technical " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDTechnical.php
"DELETE FROM il_meta_contribute " . "WHERE meta_contribute_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDContribute.php
"SELECT * FROM il_meta_contribute " . "WHERE meta_contribute_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDContribute.php
"SELECT meta_contribute_id FROM il_meta_contribute " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, 'integer') . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, 'text')1
  • /components/ILIAS/MetaData/classes/class.ilMDContribute.php
"SELECT entity,ent.parent_type,role FROM il_meta_entity ent " . "JOIN il_meta_contribute con ON ent.parent_id = con.meta_contribute_id " . "WHERE ent.rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND ent.obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/MetaData/classes/class.ilMDContribute.php
"DELETE FROM il_meta_location " . "WHERE meta_location_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDLocation.php
"SELECT * FROM il_meta_location " . "WHERE meta_location_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDLocation.php
"SELECT meta_location_id FROM il_meta_location " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, 'integer') . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, 'text')1
  • /components/ILIAS/MetaData/classes/class.ilMDLocation.php
"SELECT language FROM il_meta_language " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND obj_type = " . $ilDB->quote($a_obj_type, 'text') . " " . "AND parent_type = 'meta_general' " . "ORDER BY meta_language_id "1
  • /components/ILIAS/MetaData/classes/class.ilMDLanguage.php
"DELETE FROM il_meta_language " . "WHERE meta_language_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDLanguage.php
"SELECT * FROM il_meta_language " . "WHERE meta_language_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDLanguage.php
"SELECT meta_language_id FROM il_meta_language " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, 'integer') . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, 'text')1
  • /components/ILIAS/MetaData/classes/class.ilMDLanguage.php
"Insert General " . print_r($fields, true)1
  • /components/ILIAS/MetaData/classes/class.ilMDGeneral.php
"DELETE FROM il_meta_general " . "WHERE meta_general_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDGeneral.php
"SELECT * FROM il_meta_general " . "WHERE meta_general_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDGeneral.php
"SELECT meta_general_id FROM il_meta_general " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDGeneral.php
"DELETE FROM il_meta_coverage WHERE parent_type = 'meta_general' AND parent_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDGeneral.php
"SELECT * FROM il_meta_coverage WHERE meta_coverage_id = " . $this->db->quote($this->getCoverageId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDGeneral.php
"SELECT meta_coverage_id FROM il_meta_coverage WHERE parent_type = 'meta_general' AND parent_id = " . $this->db->quote($parent_id, 'integer') . " ORDER BY meta_coverage_id"1
  • /components/ILIAS/MetaData/classes/class.ilMDGeneral.php
"DELETE FROM il_meta_format " . "WHERE meta_format_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDFormat.php
"SELECT * FROM il_meta_format " . "WHERE meta_format_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDFormat.php
"SELECT meta_format_id FROM il_meta_format " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDFormat.php
"DELETE FROM il_meta_meta_data " . "WHERE meta_meta_data_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDMetaMetadata.php
"SELECT * FROM il_meta_meta_data " . "WHERE meta_meta_data_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDMetaMetadata.php
"SELECT meta_meta_data_id FROM il_meta_meta_data " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDMetaMetadata.php
"DELETE FROM il_meta_meta_schema WHERE parent_type = 'meta_meta_data' AND parent_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDMetaMetadata.php
"SELECT * FROM il_meta_meta_schema WHERE meta_meta_schema_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDMetaMetadata.php
"SELECT meta_meta_schema_id FROM il_meta_meta_schema WHERE parent_type = 'meta_meta_data' AND parent_id = " . $this->db->quote($parent_id, 'integer') . " ORDER BY meta_meta_schema_id"1
  • /components/ILIAS/MetaData/classes/class.ilMDMetaMetadata.php
"DELETE FROM il_meta_entity " . "WHERE meta_entity_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDEntity.php
"SELECT * FROM il_meta_entity " . "WHERE meta_entity_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDEntity.php
"SELECT meta_entity_id FROM il_meta_entity " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, 'integer') . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, 'text') . " " . "ORDER BY meta_entity_id "1
  • /components/ILIAS/MetaData/classes/class.ilMDEntity.php
"SELECT format AS forma from il_meta_format GROUP BY format"1
  • /components/ILIAS/MetaData/classes/class.ilMDUtilSelect.php
"DELETE FROM il_meta_relation " . "WHERE meta_relation_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDRelation.php
"SELECT * FROM il_meta_relation " . "WHERE meta_relation_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDRelation.php
"SELECT meta_relation_id FROM il_meta_relation " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDRelation.php
"DELETE FROM il_meta_classification " . "WHERE meta_classification_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDClassification.php
"SELECT * FROM il_meta_classification " . "WHERE meta_classification_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDClassification.php
"SELECT meta_classification_id FROM il_meta_classification " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDClassification.php
"DELETE FROM il_meta_educational " . "WHERE meta_educational_id = " . $this->db->quote($this->getMetaId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"SELECT * FROM il_meta_educational " . "WHERE meta_educational_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"SELECT meta_educational_id FROM il_meta_educational " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"SELECT typical_learning_time FROM il_meta_educational " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"SELECT * FROM il_meta_lr_type WHERE meta_lr_type_id = " . $this->db->quote($this->getLearningResourceTypeId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"SELECT * FROM il_meta_end_usr_role WHERE meta_end_usr_role_id = " . $this->db->quote($this->getIntendedEndUserRoleId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"SELECT * FROM il_meta_context WHERE meta_context_id = " . $this->db->quote($this->getContextId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"DELETE FROM il_meta_lr_type WHERE parent_type = 'meta_educational' AND parent_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"DELETE FROM il_meta_end_usr_role WHERE parent_type = 'meta_educational' AND parent_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"DELETE FROM il_meta_context WHERE parent_type = 'meta_educational' AND parent_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"SELECT meta_lr_type_id FROM il_meta_lr_type WHERE parent_type = 'meta_educational' AND parent_id = " . $this->db->quote($parent_id, 'integer') . " ORDER BY meta_lr_type_id"1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"SELECT meta_end_usr_role_id FROM il_meta_end_usr_role WHERE parent_type = 'meta_educational' AND parent_id = " . $this->db->quote($parent_id, 'integer') . " ORDER BY meta_end_usr_role_id"1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"SELECT meta_context_id FROM il_meta_context WHERE parent_type = 'meta_educational' AND parent_id = " . $this->db->quote($parent_id, 'integer') . " ORDER BY meta_context_id"1
  • /components/ILIAS/MetaData/classes/class.ilMDEducational.php
"DELETE FROM il_meta_taxon_path " . "WHERE meta_taxon_path_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDTaxonPath.php
"SELECT * FROM il_meta_taxon_path " . "WHERE meta_taxon_path_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDTaxonPath.php
"SELECT meta_taxon_path_id FROM il_meta_taxon_path " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, 'integer') . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, 'text')1
  • /components/ILIAS/MetaData/classes/class.ilMDTaxonPath.php
"DELETE FROM il_meta_annotation " . "WHERE meta_annotation_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDAnnotation.php
"SELECT * FROM il_meta_annotation " . "WHERE meta_annotation_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDAnnotation.php
"SELECT meta_annotation_id FROM il_meta_annotation " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDAnnotation.php
'SELECT rbac_id FROM il_meta_rights ' . 'WHERE ' . $db->in('obj_type', $a_types, false, 'text') . ' ' . 'AND ' . $db->in('description', $a_copyright, false, 'text')1
  • /components/ILIAS/MetaData/classes/class.ilMDRights.php
"DELETE FROM il_meta_rights " . "WHERE meta_rights_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDRights.php
"SELECT * FROM il_meta_rights " . "WHERE meta_rights_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDRights.php
"SELECT description FROM il_meta_rights " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/MetaData/classes/class.ilMDRights.php
"SELECT meta_rights_id FROM il_meta_rights " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDRights.php
"DELETE FROM il_meta_lifecycle " . "WHERE meta_lifecycle_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDLifecycle.php
"SELECT * FROM il_meta_lifecycle " . "WHERE meta_lifecycle_id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDLifecycle.php
"SELECT meta_lifecycle_id FROM il_meta_lifecycle " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDLifecycle.php
"DELETE FROM " . $table . " " . "WHERE rbac_id = " . $this->db->quote($this->getRBACId( ), ilDBConstants::T_INTEGER) . " " . "AND obj_id = " . $this->db->quote($this->getObjId( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/MetaData/classes/class.ilMD.php
"DELETE FROM il_meta_identifier_ " . "WHERE meta_identifier__id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDIdentifier_.php
"SELECT * FROM il_meta_identifier_ " . "WHERE meta_identifier__id = " . $this->db->quote($this->getMetaId( ), 'integer')1
  • /components/ILIAS/MetaData/classes/class.ilMDIdentifier_.php
"SELECT meta_identifier__id FROM il_meta_identifier_ " . "WHERE rbac_id = " . $ilDB->quote($a_rbac_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND parent_id = " . $ilDB->quote($a_parent_id, 'integer') . " " . "AND parent_type = " . $ilDB->quote($a_parent_type, 'text')1
  • /components/ILIAS/MetaData/classes/class.ilMDIdentifier_.php
'SELECT value FROM il_md_vocab_contr_vals JOIN il_md_vocab_contr ON id = vocab_id WHERE slot = ' . $this->db->quoteAsString($slot->value) . ' AND ' . $this->db->in('value', ...$values)1
  • /components/ILIAS/MetaData/classes/Vocabularies/Controlled/Repository.php
'SELECT id, slot, source, active, custom_input FROM il_md_vocab_contr WHERE id = ' . $this->db->quoteAsInteger($vocab_id)1
  • /components/ILIAS/MetaData/classes/Vocabularies/Controlled/Repository.php
'SELECT COUNT(*) AS count FROM il_md_vocab_contr WHERE active = 1 AND slot = ' . $this->db->quoteAsString($slot->value)1
  • /components/ILIAS/MetaData/classes/Vocabularies/Controlled/Repository.php
'SELECT value, label FROM il_md_vocab_contr_vals JOIN il_md_vocab_contr ON id = vocab_id WHERE slot = ' . $this->db->quoteAsString($slot->value) . ' AND ' . $active_where . $this->db->in('value', ...$values)1
  • /components/ILIAS/MetaData/classes/Vocabularies/Controlled/Repository.php
'DELETE FROM il_md_vocab_contr_vals WHERE vocab_id = ' . $this->db->quoteAsString($vocab_id)1
  • /components/ILIAS/MetaData/classes/Vocabularies/Controlled/Repository.php
'DELETE FROM il_md_vocab_contr WHERE id = ' . $this->db->quoteAsString($vocab_id)1
  • /components/ILIAS/MetaData/classes/Vocabularies/Controlled/Repository.php
'SELECT id, slot, source, active, custom_input FROM il_md_vocab_contr WHERE ' . $this->db->in('slot', ...$slot_values) . $where_active1
  • /components/ILIAS/MetaData/classes/Vocabularies/Controlled/Repository.php
'SELECT value FROM il_md_vocab_contr_vals WHERE vocab_id = ' . $this->db->quoteAsInteger($vocab_id) . " ORDER BY COALESCE(NULLIF(label,''), value) ASC"1
  • /components/ILIAS/MetaData/classes/Vocabularies/Controlled/Repository.php
'DELETE FROM il_md_vocab_inactive WHERE slot = ' . $this->db->quote($slot->value, \ilDBConstants::T_TEXT)1
  • /components/ILIAS/MetaData/classes/Vocabularies/Standard/DatabaseGateway.php
'SELECT COUNT(*) AS count FROM il_md_vocab_inactive WHERE slot = ' . $this->db->quote($slot->value, \ilDBConstants::T_TEXT)1
  • /components/ILIAS/MetaData/classes/Vocabularies/Standard/DatabaseGateway.php
"SELECT count(meta_rights_id) used FROM il_meta_rights " . "WHERE description = " . $this->db->quote('il_copyright_entry__' . IL_INST_ID . '__' . $entry_id, 'text')1
  • /components/ILIAS/MetaData/classes/Settings/Copyright/class.ilMDCopyrightTableGUI.php
"SELECT entry_id FROM il_md_cpr_selections ORDER BY is_default DESC, position ASC"1
  • /components/ILIAS/MetaData/classes/Settings/Copyright/class.ilMDCopyrightSelectionEntry.php
"SELECT title FROM il_md_cpr_selections " . "WHERE entry_id = " . $ilDB->quote($entry_id, ilDBConstants::T_INTEGER) . " "1
  • /components/ILIAS/MetaData/classes/Settings/Copyright/class.ilMDCopyrightSelectionEntry.php
"SELECT is_default FROM il_md_cpr_selections " . "WHERE entry_id = " . $this->db->quote($this->entry_id, 'integer')1
  • /components/ILIAS/MetaData/classes/Settings/Copyright/class.ilMDCopyrightSelectionEntry.php
"SELECT entry_id FROM il_md_cpr_selections " . "WHERE is_default = " . $db->quote(1, 'integer')1
  • /components/ILIAS/MetaData/classes/Settings/Copyright/class.ilMDCopyrightSelectionEntry.php
"SELECT count(entry_id) total FROM il_md_cpr_selections"1
  • /components/ILIAS/MetaData/classes/Settings/Copyright/class.ilMDCopyrightSelectionEntry.php
"SELECT count(meta_rights_id) used FROM il_meta_rights " . "WHERE description = " . $this->db->quote('il_copyright_entry__' . IL_INST_ID . '__' . $this->getEntryId( ), 'text')1
  • /components/ILIAS/MetaData/classes/Settings/Copyright/class.ilMDCopyrightSelectionEntry.php
"SELECT DISTINCT obj_type FROM il_meta_rights " . "WHERE description = " . $this->db->quote('il_copyright_entry__' . IL_INST_ID . '__' . $this->copyright_id, 'text') . " AND rbac_id = obj_id"1
  • /components/ILIAS/MetaData/classes/Settings/Copyright/Usage/class.ilMDCopyrightUsageTableGUI.php
"SELECT rbac_id, obj_id, obj_type FROM il_meta_rights " . "WHERE description = " . $this->db->quote('il_copyright_entry__' . IL_INST_ID . '__' . $this->copyright_id, 'text') . ' AND rbac_id != ' . $this->db->quote(0, 'integer') . " GROUP BY rbac_id"1
  • /components/ILIAS/MetaData/classes/Settings/Copyright/Usage/class.ilMDCopyrightUsageTableGUI.php
"SELECT count(rbac_id) total FROM il_meta_rights " . "WHERE rbac_id = " . $this->db->quote($a_rbac_id, ilDBConstants::T_INTEGER) . " AND rbac_id != obj_id"1
  • /components/ILIAS/MetaData/classes/Settings/Copyright/Usage/class.ilMDCopyrightUsageTableGUI.php
'INSERT INTO ' . $this->db->quoteIdentifier($table_name) . ' (' . implode(', ', $fields) . ') VALUES (' . implode(', ', $values) . ')'1
  • /components/ILIAS/MetaData/classes/Repository/Utilities/Queries/DatabaseQuerier.php
'SELECT ' . implode(', ', $selected_fields) . ' FROM ' . $this->db->quoteIdentifier($this->table($table)) . ' WHERE ' . implode(' AND ', $where) . ' ' . $order1
  • /components/ILIAS/MetaData/classes/Repository/Utilities/Queries/DatabaseQuerier.php
'UPDATE ' . $this->db->quoteIdentifier($this->table($table)) . ' SET ' . implode(', ', $updated_fields) . ' WHERE ' . $this->db->quoteIdentifier($id_field) . ' = ' . $this->db->quote($id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/MetaData/classes/Repository/Utilities/Queries/DatabaseQuerier.php
'DELETE FROM ' . $this->db->quoteIdentifier($table_name) . ' WHERE ' . $this->db->quoteIdentifier($id_field) . ' = ' . $this->db->quote($id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/MetaData/classes/Repository/Utilities/Queries/DatabaseQuerier.php
"DELETE FROM " . $this->db->quoteIdentifier($table) . " " . "WHERE rbac_id = " . $this->db->quote($rbac_id, \ilDBConstants::T_INTEGER) . " " . "AND obj_id = " . $this->db->quote($obj_id, \ilDBConstants::T_INTEGER) . " " . "AND obj_type = " . $this->db->quote($obj_type, \ilDBConstants::T_TEXT)1
  • /components/ILIAS/MetaData/classes/Repository/Utilities/Queries/DatabaseQuerier.php
'SELECT ' . $this->quoteIdentifier($base_table) . '.rbac_id, ' . $this->quoteIdentifier($base_table) . '.obj_id, ' . $this->quoteIdentifier($base_table) . '.obj_type FROM ' . $from_expression1
  • /components/ILIAS/MetaData/classes/Repository/Utilities/Queries/Paths/DatabasePathsParser.php
'SELECT blocked FROM il_meta_oer_stat WHERE obj_id = ' . $this->quoteInteger($obj_id)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ResourceStatus/DatabaseRepository.php
'INSERT INTO il_meta_oer_stat (obj_id, href_id, blocked) VALUES (' . $this->quoteInteger($obj_id) . ', ' . $this->quoteInteger(0) . ', ' . $this->quoteInteger((int) $blocked) . ') ' . 'ON DUPLICATE KEY UPDATE blocked = ' . $this->quoteInteger((int) $blocked)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ResourceStatus/DatabaseRepository.php
'INSERT INTO il_meta_oer_stat (obj_id, href_id, blocked) VALUES (' . $this->quoteInteger($obj_id) . ', ' . $this->quoteInteger($harvested_ref_id) . ', ' . $this->quoteInteger(0) . ') ' . 'ON DUPLICATE KEY UPDATE href_id = ' . $this->quoteInteger($harvested_ref_id)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ResourceStatus/DatabaseRepository.php
'UPDATE il_meta_oer_stat SET href_id = 0 WHERE obj_id = ' . $this->quoteInteger($obj_id)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ResourceStatus/DatabaseRepository.php
'SELECT obj_id FROM il_meta_oer_stat WHERE blocked = 1 AND ' . $this->inWithIntegers('obj_id', ...$obj_ids)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ResourceStatus/DatabaseRepository.php
'DELETE FROM il_meta_oer_stat WHERE obj_id = ' . $this->quoteInteger($obj_id)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ResourceStatus/DatabaseRepository.php
'SELECT * FROM il_meta_oer_exposed' . $this->getDatesWhereCondition($from, $until) . ' ORDER BY obj_id' . $this->getLimitAndOffset($limit, $offset)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ExposedRecords/DatabaseRepository.php
'SELECT obj_id, identifier, datestamp FROM il_meta_oer_exposed' . $this->getDatesWhereCondition($from, $until) . ' ORDER BY obj_id' . $this->getLimitAndOffset($limit, $offset)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ExposedRecords/DatabaseRepository.php
'SELECT COUNT(*) AS num FROM il_meta_oer_exposed' . $this->getDatesWhereCondition($from, $until)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ExposedRecords/DatabaseRepository.php
'SELECT * FROM il_meta_oer_exposed WHERE identifier = ' . $this->quoteString($identifier)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ExposedRecords/DatabaseRepository.php
'SELECT COUNT(*) AS num FROM il_meta_oer_exposed WHERE identifier = ' . $this->quoteString($identifier)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ExposedRecords/DatabaseRepository.php
'SELECT COUNT(*) AS num FROM il_meta_oer_exposed WHERE obj_id = ' . $this->quoteInteger($obj_id)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ExposedRecords/DatabaseRepository.php
'INSERT INTO il_meta_oer_exposed (obj_id, identifier, datestamp, metadata) VALUES (' . $this->quoteInteger($obj_id) . ', ' . $this->quoteString($identifier) . ', ' . $this->quoteInteger($this->getCurrentDatestamp( )) . ', ' . $this->quoteClob($metadata->saveXML( )) . ')'1
  • /components/ILIAS/MetaData/classes/OERHarvester/ExposedRecords/DatabaseRepository.php
'UPDATE il_meta_oer_exposed SET ' . 'metadata = ' . $this->quoteClob($metadata->saveXML( )) . ', ' . 'datestamp = ' . $this->quoteInteger($this->getCurrentDatestamp( )) . ' ' . 'WHERE obj_id = ' . $this->quoteInteger($obj_id)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ExposedRecords/DatabaseRepository.php
'DELETE FROM il_meta_oer_exposed WHERE obj_id = ' . $this->quoteInteger($obj_id)1
  • /components/ILIAS/MetaData/classes/OERHarvester/ExposedRecords/DatabaseRepository.php
'SELECT rbac_id, obj_id FROM (' . implode(' UNION ', $selects) . ') AS t ORDER BY t.rbac_id, t.obj_id ASC LIMIT 1'1
  • /components/ILIAS/MetaData/classes/Setup/DeleteLOMForObjectTypeMigration.php
'DELETE FROM ' . $this->db->quoteIdentifier($table) . ' WHERE obj_type = ' . $this->quotedObjectType( ) . ' AND rbac_id = ' . $this->db->quote($rbac_id, \ilDBConstants::T_INTEGER) . ' AND obj_id = ' . $this->db->quote($obj_id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/MetaData/classes/Setup/DeleteLOMForObjectTypeMigration.php
'SELECT COUNT(*) AS count FROM (' . implode(' UNION ', $selects) . ') AS t'1
  • /components/ILIAS/MetaData/classes/Setup/DeleteLOMForObjectTypeMigration.php
"SELECT meta_general_id, rbac_id, obj_id, obj_type, coverage, coverage_language FROM il_meta_general WHERE CHAR_LENGTH(coverage) > 0 OR CHAR_LENGTH(coverage_language) > 0 ORDER BY meta_general_id"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
'Insert coverage from meta_general_id ' . $coverage['meta_general_id']1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"INSERT INTO il_meta_coverage (meta_coverage_id, rbac_id, obj_id, obj_type, parent_type, parent_id, coverage, coverage_language) VALUES (" . $this->db->quote($next_id, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($coverage['rbac_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($coverage['obj_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($coverage['obj_type'], ilDBConstants::T_TEXT) . ", " . $this->db->quote('meta_general', ilDBConstants::T_TEXT) . ", " . $this->db->quote($coverage['meta_general_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($coverage['coverage'], ilDBConstants::T_TEXT) . ", " . $this->db->quote($coverage['coverage_language'], ilDBConstants::T_TEXT) . ")"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"UPDATE il_meta_general SET coverage = '', coverage_language = '' WHERE meta_general_id = " . $this->db->quote($coverage['meta_general_id'], ilDBConstants::T_INTEGER)1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"SELECT COUNT(*) AS count FROM il_meta_general WHERE CHAR_LENGTH(coverage) > 0 OR CHAR_LENGTH(coverage_language) > 0"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"SELECT meta_meta_data_id, rbac_id, obj_id, obj_type, meta_data_scheme FROM il_meta_meta_data WHERE CHAR_LENGTH(meta_data_scheme) > 0 ORDER BY meta_meta_data_id"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
'Insert schema from meta_meta_data_id ' . $schema['meta_meta_data_id']1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"INSERT INTO il_meta_meta_schema (meta_meta_schema_id, rbac_id, obj_id, obj_type, parent_type, parent_id, meta_data_schema) VALUES (" . $this->db->quote($next_id, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($schema['rbac_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($schema['obj_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($schema['obj_type'], ilDBConstants::T_TEXT) . ", " . $this->db->quote('meta_meta_data', ilDBConstants::T_TEXT) . ", " . $this->db->quote($schema['meta_meta_data_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote('LOMv1.0', ilDBConstants::T_TEXT) . ")"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"UPDATE il_meta_meta_data SET meta_data_scheme = '' WHERE meta_meta_data_id = " . $this->db->quote($schema['meta_meta_data_id'], ilDBConstants::T_INTEGER)1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"SELECT COUNT(*) AS count FROM il_meta_meta_data WHERE CHAR_LENGTH(meta_data_scheme) > 0"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"SELECT meta_requirement_id, rbac_id, obj_id, obj_type, operating_system_name, os_min_version, os_max_version, browser_name, browser_minimum_version, browser_maximum_version FROM il_meta_requirement WHERE CHAR_LENGTH(operating_system_name) > 0 OR CHAR_LENGTH(os_min_version) > 0 OR CHAR_LENGTH(os_max_version) > 0 OR CHAR_LENGTH(browser_name) > 0 OR CHAR_LENGTH(browser_minimum_version) > 0 OR CHAR_LENGTH(browser_maximum_version) > 0 ORDER BY meta_requirement_id"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
'Insert orComposite (type os) from meta_requirement_id ' . $or['meta_requirement_id']1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"INSERT INTO il_meta_or_composite (meta_or_composite_id, rbac_id, obj_id, obj_type, parent_type, parent_id, type, name, min_version, max_version) VALUES (" . $this->db->quote($next_id, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($or['rbac_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($or['obj_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($or['obj_type'], ilDBConstants::T_TEXT) . ", " . $this->db->quote('meta_requirement', ilDBConstants::T_TEXT) . ", " . $this->db->quote($or['meta_requirement_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote('operating system', ilDBConstants::T_TEXT) . ", " . $this->db->quote($or['operating_system_name'], ilDBConstants::T_TEXT) . ", " . $this->db->quote($or['os_min_version'], ilDBConstants::T_TEXT) . ", " . $this->db->quote($or['os_max_version'], ilDBConstants::T_TEXT) . ")"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"UPDATE il_meta_requirement SET operating_system_name = '', os_min_version = '', os_max_version = '' WHERE meta_requirement_id = " . $this->db->quote($or['meta_requirement_id'], ilDBConstants::T_INTEGER)1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
'Insert orComposite (type browser) from meta_requirement_id ' . $or['meta_requirement_id']1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"INSERT INTO il_meta_or_composite (meta_or_composite_id, rbac_id, obj_id, obj_type, parent_type, parent_id, type, name, min_version, max_version) VALUES (" . $this->db->quote($next_id, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($or['rbac_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($or['obj_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($or['obj_type'], ilDBConstants::T_TEXT) . ", " . $this->db->quote('meta_requirement', ilDBConstants::T_TEXT) . ", " . $this->db->quote($or['meta_requirement_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote('browser', ilDBConstants::T_TEXT) . ", " . $this->db->quote($name, ilDBConstants::T_TEXT) . ", " . $this->db->quote($or['browser_minimum_version'], ilDBConstants::T_TEXT) . ", " . $this->db->quote($or['browser_maximum_version'], ilDBConstants::T_TEXT) . ")"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"UPDATE il_meta_requirement SET browser_name = '', browser_minimum_version = '', browser_maximum_version = '' WHERE meta_requirement_id = " . $this->db->quote($or['meta_requirement_id'], ilDBConstants::T_INTEGER)1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"SELECT COUNT(*) AS count FROM il_meta_requirement WHERE CHAR_LENGTH(operating_system_name) > 0 OR CHAR_LENGTH(os_min_version) > 0 OR CHAR_LENGTH(os_max_version) > 0 OR CHAR_LENGTH(browser_name) > 0 OR CHAR_LENGTH(browser_minimum_version) > 0 OR CHAR_LENGTH(browser_maximum_version) > 0"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"SELECT meta_educational_id, rbac_id, obj_id, obj_type, learning_resource_type, intended_end_user_role, context FROM il_meta_educational WHERE CHAR_LENGTH(learning_resource_type) > 0 OR CHAR_LENGTH(intended_end_user_role) > 0 OR CHAR_LENGTH(context) > 0 ORDER BY meta_educational_id"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
'Insert learningResourceType from meta_educational_id ' . $educational['meta_educational_id']1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"INSERT INTO il_meta_lr_type (meta_lr_type_id, rbac_id, obj_id, obj_type, parent_type, parent_id, learning_resource_type) VALUES (" . $this->db->quote($next_id, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($educational['rbac_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($educational['obj_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($educational['obj_type'], ilDBConstants::T_TEXT) . ", " . $this->db->quote('meta_educational', ilDBConstants::T_TEXT) . ", " . $this->db->quote($educational['meta_educational_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($type, ilDBConstants::T_TEXT) . ")"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"UPDATE il_meta_educational SET learning_resource_type = '' WHERE meta_educational_id = " . $this->db->quote($educational['meta_educational_id'], ilDBConstants::T_INTEGER)1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
'Insert intendedEndUserRole from meta_educational_id ' . $educational['meta_educational_id']1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"INSERT INTO il_meta_end_usr_role (meta_end_usr_role_id, rbac_id, obj_id, obj_type, parent_type, parent_id, intended_end_user_role) VALUES (" . $this->db->quote($next_id, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($educational['rbac_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($educational['obj_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($educational['obj_type'], ilDBConstants::T_TEXT) . ", " . $this->db->quote('meta_educational', ilDBConstants::T_TEXT) . ", " . $this->db->quote($educational['meta_educational_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($role, ilDBConstants::T_TEXT) . ")"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"UPDATE il_meta_educational SET intended_end_user_role = '' WHERE meta_educational_id = " . $this->db->quote($educational['meta_educational_id'], ilDBConstants::T_INTEGER)1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
'Insert context from meta_educational_id ' . $educational['meta_educational_id']1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"INSERT INTO il_meta_context (meta_context_id, rbac_id, obj_id, obj_type, parent_type, parent_id, context) VALUES (" . $this->db->quote($next_id, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($educational['rbac_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($educational['obj_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($educational['obj_type'], ilDBConstants::T_TEXT) . ", " . $this->db->quote('meta_educational', ilDBConstants::T_TEXT) . ", " . $this->db->quote($educational['meta_educational_id'], ilDBConstants::T_INTEGER) . ", " . $this->db->quote($context, ilDBConstants::T_TEXT) . ")"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"UPDATE il_meta_educational SET context = '' WHERE meta_educational_id = " . $this->db->quote($educational['meta_educational_id'], ilDBConstants::T_INTEGER)1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
"SELECT COUNT(*) AS count FROM il_meta_educational WHERE CHAR_LENGTH(learning_resource_type) > 0 OR CHAR_LENGTH(intended_end_user_role) > 0 OR CHAR_LENGTH(context) > 0"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDLOMConformanceMigration.php
'SELECT entry_id FROM il_md_cpr_selections WHERE title = ' . $this->db->quote($title, ilDBConstants::T_TEXT) . ' AND full_name = ' . $this->db->quote($full_name, ilDBConstants::T_TEXT) . ' AND image_link = ' . $this->db->quote($old_image_link, ilDBConstants::T_TEXT)1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDCopyrightUpdateSteps.php
'SELECT entry_id FROM il_md_cpr_selections WHERE title = ' . $this->db->quote($title, ilDBConstants::T_TEXT) . ' AND full_name = ' . $this->db->quote($old_full_name, ilDBConstants::T_TEXT) . " AND COALESCE(link, '') = '' AND COALESCE(description, '') = ''"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDCopyrightUpdateSteps.php
'SELECT entry_id FROM il_md_cpr_selections WHERE title = ' . $this->db->quote($title, ilDBConstants::T_TEXT) . ' AND full_name = ' . $this->db->quote($old_full_name, ilDBConstants::T_TEXT) . ' AND link = ' . $this->db->quote($link, ilDBConstants::T_TEXT) . " AND COALESCE(description, '') = ''"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDCopyrightUpdateSteps.php
'SELECT entry_id FROM il_md_cpr_selections WHERE title = ' . $this->db->quote($old_title, ilDBConstants::T_TEXT) . ' AND link = ' . $this->db->quote($link, ilDBConstants::T_TEXT)1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDCopyrightUpdateSteps.php
'SELECT entry_id FROM il_md_cpr_selections WHERE title = ' . $this->db->quote($title, ilDBConstants::T_TEXT) . ' AND copyright = ' . $this->db->quote($old_copyright, ilDBConstants::T_TEXT) . " AND COALESCE(description, '') = ''"1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDCopyrightUpdateSteps.php
"SELECT count(*) AS count FROM object_data LEFT JOIN il_meta_general ON il_meta_general.rbac_id = object_data.obj_id AND il_meta_general.obj_type = object_data.type WHERE object_data.type = " . $this->quotedObjectType( ) . " " . "AND il_meta_general.rbac_id IS NULL AND NOT COALESCE(object_data.title, '') = ''"1
  • /components/ILIAS/MetaData/classes/Setup/InitLOMForObjectTypeMigration.php
'UPDATE ' . $this->db->quoteIdentifier($table) . ' SET ' . $this->db->quoteIdentifier($src_column) . ' = ' . $this->db->quote(VocabFactory::STANDARD_SOURCE, ilDBConstants::T_TEXT) . ' WHERE ' . $this->db->in($value_column, $standard_values, false, ilDBConstants::T_TEXT)1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDControlledVocabsUpdateSteps.php
'SELECT entry_id, title, copyright FROM il_md_cpr_selections WHERE migrated = 0 LIMIT 1'1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDCopyrightMigration.php
'SELECT COUNT(*) AS count FROM il_md_cpr_selections WHERE migrated = 0'1
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDCopyrightMigration.php
'SELECT * FROM il_md_cpr_selections WHERE entry_id = ' . $this->db_wrapper->quoteInteger($id)1
  • /components/ILIAS/MetaData/classes/Copyright/DatabaseRepository.php
'DELETE FROM il_md_cpr_selections WHERE entry_id = ' . $this->db_wrapper->quoteInteger($id)1
  • /components/ILIAS/MetaData/classes/Copyright/DatabaseRepository.php
'SELECT * FROM cp_suspend WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT ~identifier:base~.rbac_id, ~identifier:base~.obj_id, ~identifier:base~.obj_type ' . 'FROM il_meta_general AS base LEFT JOIN (~identifier:table_name~ AS ~identifier:p1t1~) ' . 'ON ~identifier:base~.rbac_id = ~identifier:p1t1~.rbac_id AND ' . '~identifier:base~.obj_id = ~identifier:p1t1~.obj_id AND ' . '~identifier:base~.obj_type = ~identifier:p1t1~.obj_type'1
  • /components/ILIAS/MetaData/tests/Repository/Utilities/Queries/Paths/DatabasePathsParserTest.php
'SELECT ~identifier:p1t1~.rbac_id, ~identifier:p1t1~.obj_id, ~identifier:p1t1~.obj_type ' . 'FROM ~identifier:table1_name~ AS ~identifier:p1t1~ JOIN ' . '~identifier:table2_name~ AS ~identifier:p1t2~ JOIN ' . '~identifier:table2_name~ AS ~identifier:p1t3~ ON ' . '~identifier:p1t1~.rbac_id = ~identifier:p1t2~.rbac_id AND ' . '~identifier:p1t1~.obj_id = ~identifier:p1t2~.obj_id AND ' . '~identifier:p1t1~.obj_type = ~identifier:p1t2~.obj_type AND ' . 'p1t1.~identifier:table1_id~ = ~identifier:p1t2~.parent_id AND ' . '~text:table1~ = ~identifier:p1t2~.parent_type AND ' . '~identifier:p1t1~.rbac_id = ~identifier:p1t3~.rbac_id AND ' . '~identifier:p1t1~.obj_id = ~identifier:p1t3~.obj_id AND ' . '~identifier:p1t1~.obj_type = ~identifier:p1t3~.obj_type AND ' . 'p1t1.~identifier:table1_id~ = ~identifier:p1t3~.parent_id AND ' . '~text:table1~ = ~identifier:p1t3~.parent_type'1
  • /components/ILIAS/MetaData/tests/Repository/Utilities/Queries/Paths/DatabasePathsParserTest.php
'SELECT ~identifier:p1t1~.rbac_id, ~identifier:p1t1~.obj_id, ~identifier:p1t1~.obj_type ' . 'FROM ~identifier:table1_name~ AS ~identifier:p1t1~ JOIN ' . '~identifier:table2_name~ AS ~identifier:p1t2~ ON ' . '~identifier:p1t1~.~identifier:table1_id~ IN (~int:13~) AND ' . '~identifier:p1t1~.rbac_id = ~identifier:p1t2~.rbac_id AND ' . '~identifier:p1t1~.obj_id = ~identifier:p1t2~.obj_id AND ' . '~identifier:p1t1~.obj_type = ~identifier:p1t2~.obj_type AND ' . 'p1t1.~identifier:table1_id~ = ~identifier:p1t2~.parent_id AND ' . '~text:table1~ = ~identifier:p1t2~.parent_type'1
  • /components/ILIAS/MetaData/tests/Repository/Utilities/Queries/Paths/DatabasePathsParserTest.php
'SELECT ~identifier:p1t1~.rbac_id, ~identifier:p1t1~.obj_id, ~identifier:p1t1~.obj_type ' . 'FROM ~identifier:table1_name~ AS ~identifier:p1t1~ JOIN ' . '~identifier:table2_name~ AS ~identifier:p1t2~ ON ' . "COALESCE(~identifier:p1t1~.~identifier:filter_data~, '') IN (~text:some data~) AND " . '~identifier:p1t1~.rbac_id = ~identifier:p1t2~.rbac_id AND ' . '~identifier:p1t1~.obj_id = ~identifier:p1t2~.obj_id AND ' . '~identifier:p1t1~.obj_type = ~identifier:p1t2~.obj_type AND ' . 'p1t1.~identifier:table1_id~ = ~identifier:p1t2~.parent_id AND ' . '~text:table1~ = ~identifier:p1t2~.parent_type'1
  • /components/ILIAS/MetaData/tests/Repository/Utilities/Queries/Paths/DatabasePathsParserTest.php
'SELECT ~identifier:p1t1~.rbac_id, ~identifier:p1t1~.obj_id, ~identifier:p1t1~.obj_type ' . 'FROM ~identifier:table1_name~ AS ~identifier:p1t1~ JOIN ' . '~identifier:table2_name~ AS ~identifier:p1t2~ ON ' . "COALESCE(~identifier:p1t1~.~identifier:filter_data~, '') " . 'IN (~text:some data~, ~text:some other data~, ~text:more~) AND ' . '~identifier:p1t1~.rbac_id = ~identifier:p1t2~.rbac_id AND ' . '~identifier:p1t1~.obj_id = ~identifier:p1t2~.obj_id AND ' . '~identifier:p1t1~.obj_type = ~identifier:p1t2~.obj_type AND ' . 'p1t1.~identifier:table1_id~ = ~identifier:p1t2~.parent_id AND ' . '~text:table1~ = ~identifier:p1t2~.parent_type'1
  • /components/ILIAS/MetaData/tests/Repository/Utilities/Queries/Paths/DatabasePathsParserTest.php
'SELECT ~identifier:p1t1~.rbac_id, ~identifier:p1t1~.obj_id, ~identifier:p1t1~.obj_type ' . 'FROM ~identifier:table_name~ AS ~identifier:p1t1~ WHERE ' . "COALESCE(~identifier:p1t1~.~identifier:filter_data~, '') IN (~text:some data~)"1
  • /components/ILIAS/MetaData/tests/Repository/Utilities/Queries/Paths/DatabasePathsParserTest.php
'SELECT ~identifier:base~.rbac_id, ~identifier:base~.obj_id, ~identifier:base~.obj_type ' . 'FROM il_meta_general AS base LEFT JOIN (' . '~identifier:table_name~ AS ~identifier:p1t1~) ON ' . '~identifier:base~.rbac_id = ~identifier:p1t1~.rbac_id AND ' . '~identifier:base~.obj_id = ~identifier:p1t1~.obj_id AND ' . '~identifier:base~.obj_type = ~identifier:p1t1~.obj_type AND ' . "COALESCE(~identifier:p1t1~.~identifier:filter_data~, '') IN (~text:some data~) LEFT JOIN " . '(~identifier:table1_name~ AS ~identifier:p2t1~) ON ' . '~identifier:base~.rbac_id = ~identifier:p2t1~.rbac_id AND ' . '~identifier:base~.obj_id = ~identifier:p2t1~.obj_id AND ' . '~identifier:base~.obj_type = ~identifier:p2t1~.obj_type'1
  • /components/ILIAS/MetaData/tests/Repository/Utilities/Queries/Paths/DatabasePathsParserTest.php
'DELETE FROM' . ' il_meta_oer_stat WHERE obj_id = ~int:32~'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ResourceStatus/RepositoryTest.php
'SELECT * FROM il_meta_oer_exposed ORDER BY obj_id'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT *' . ' FROM il_meta_oer_exposed WHERE datestamp >= ~int:1723994~ ORDER BY obj_id'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT *' . ' FROM il_meta_oer_exposed WHERE datestamp <= ~int:1763994~ ORDER BY obj_id'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT *' . ' FROM il_meta_oer_exposed WHERE datestamp >= ~int:1723994~ AND datestamp <= ~int:1763994~ ORDER BY obj_id'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT *' . ' FROM il_meta_oer_exposed ORDER BY obj_id LIMIT ~int:5~'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT *' . ' FROM il_meta_oer_exposed ORDER BY obj_id LIMIT ~int:' . PHP_INT_MAX . '~ OFFSET ~int:5~'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT *' . ' FROM il_meta_oer_exposed ORDER BY obj_id LIMIT ~int:5~ OFFSET ~int:10~'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT obj_id, identifier, datestamp FROM il_meta_oer_exposed ORDER BY obj_id'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT obj_id, identifier, datestamp' . ' FROM il_meta_oer_exposed WHERE datestamp >= ~int:1723994~ ORDER BY obj_id'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT obj_id, identifier, datestamp' . ' FROM il_meta_oer_exposed WHERE datestamp <= ~int:1763994~ ORDER BY obj_id'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT obj_id, identifier, datestamp' . ' FROM il_meta_oer_exposed WHERE datestamp >= ~int:1723994~ AND datestamp <= ~int:1763994~ ORDER BY obj_id'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT obj_id, identifier, datestamp' . ' FROM il_meta_oer_exposed ORDER BY obj_id LIMIT ~int:5~'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT obj_id, identifier, datestamp' . ' FROM il_meta_oer_exposed ORDER BY obj_id LIMIT ~int:' . PHP_INT_MAX . '~ OFFSET ~int:5~'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT obj_id, identifier, datestamp' . ' FROM il_meta_oer_exposed ORDER BY obj_id LIMIT ~int:5~ OFFSET ~int:10~'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT COUNT(*) AS num FROM il_meta_oer_exposed'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'INSERT INTO il_meta_oer_exposed (obj_id, identifier, datestamp, metadata) VALUES (' . '~int:32~, ~string:id32~, ~int:17646362~, ~clob:' . $xml->saveXML( ) . '~)'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'UPDATE il_meta_oer_exposed SET metadata = ~clob:' . $xml->saveXML( ) . '~, ' . 'datestamp = ~int:17646362~ WHERE obj_id = ~int:32~'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'DELETE ' . 'FROM il_meta_oer_exposed WHERE obj_id = ~int:32~'1
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT * ' . 'FROM il_md_cpr_selections WHERE entry_id = ~67~'1
  • /components/ILIAS/MetaData/tests/Copyright/DatabaseRepositoryTest.php
'DELETE ' . 'FROM il_md_cpr_selections WHERE entry_id = ~5~'1
  • /components/ILIAS/MetaData/tests/Copyright/DatabaseRepositoryTest.php
'SELECT * FROM log_components ' . 'WHERE component_id = ' . $this->db->quote($this->getComponentId( ), 'text')1
  • /components/ILIAS/Logging/classes/class.ilLogComponentLevel.php
'SELECT * FROM log_components ' . 'WHERE component_id = ' . $ilDB->quote($a_component_id, 'text')1
  • /components/ILIAS/Logging/classes/class.ilLogComponentLevels.php
'INSERT INTO log_components (component_id) ' . 'VALUES (' . $ilDB->quote($a_component_id, 'text') . ')'1
  • /components/ILIAS/Logging/classes/class.ilLogComponentLevels.php
'SELECT * FROM log_components '1
  • /components/ILIAS/Logging/classes/class.ilLogComponentLevels.php
'DELETE from log_components ' . 'WHERE component_id = ' . $this->db->quote('lchk', ilDBConstants::T_TEXT)1
  • /components/ILIAS/Logging/classes/Setup/class.ilLoggingUpdateSteps8.php
'Update of Services/Logging'1
  • /components/ILIAS/Logging/classes/Setup/class.ilLoggingSetupAgent.php
'SELECT * FROM booking_settings WHERE booking_pool_id = %s'1
  • /components/ILIAS/BookingManager/Settings/SettingsDBRepository.php
'DELETE FROM booking_settings WHERE booking_pool_id = %s'1
  • /components/ILIAS/BookingManager/Settings/SettingsDBRepository.php
'SELECT participant_id FROM booking_member' . ' WHERE user_id = ' . $this->db->quote($this->participant_id, 'integer') . ' AND booking_pool_id = ' . $this->db->quote($this->booking_pool_id, 'integer')1
  • /components/ILIAS/BookingManager/Participants/class.ilBookingParticipant.php
'INSERT INTO booking_member' . ' (participant_id, user_id, booking_pool_id, assigner_user_id)' . ' VALUES (' . $this->db->quote($next_id, 'integer') . ',' . $this->db->quote($this->participant_id, 'integer') . ',' . $this->db->quote($this->booking_pool_id, 'integer') . ',' . $this->db->quote($assigner_id, 'integer') . ')'1
  • /components/ILIAS/BookingManager/Participants/class.ilBookingParticipant.php
'SELECT bm.user_id, bm.booking_pool_id, br.object_id, bo.title, br.status' . ' FROM booking_member bm' . ' LEFT JOIN booking_reservation br ON (bm.user_id = br.user_id)' . ' LEFT JOIN booking_object bo ON (br.object_id = bo.booking_object_id AND bo.pool_id = ' . $ilDB->quote($a_booking_pool, 'integer') . ')'1
  • /components/ILIAS/BookingManager/Participants/class.ilBookingParticipant.php
'SELECT * FROM booking_member WHERE booking_pool_id = ' . $ilDB->quote($a_booking_pool_id, 'integer')1
  • /components/ILIAS/BookingManager/Participants/class.ilBookingParticipant.php
"SELECT ud.usr_id,ud.lastname,ud.firstname,ud.login" . " FROM usr_data ud " . " RIGHT JOIN booking_member m ON (ud.usr_id = m.user_id)" . " WHERE ud.usr_id <> " . $ilDB->quote(ANONYMOUS_USER_ID, "integer") . " AND m.booking_pool_id = " . $ilDB->quote($a_pool_id, "integer") . " ORDER BY ud.lastname,ud.firstname"1
  • /components/ILIAS/BookingManager/Participants/class.ilBookingParticipant.php
"DELETE FROM booking_member WHERE " . " user_id = %s"1
  • /components/ILIAS/BookingManager/Participants/class.ParticipantsRepository.php
"SELECT * FROM booking_preferences " . " WHERE book_pool_id = %s "1
  • /components/ILIAS/BookingManager/Preferences/class.ilBookingPreferencesDBRepository.php
"SELECT * FROM booking_preferences " . " WHERE book_pool_id = %s " . " AND user_id = %s "1
  • /components/ILIAS/BookingManager/Preferences/class.ilBookingPreferencesDBRepository.php
"DELETE FROM booking_preferences WHERE " . " book_pool_id = %s"1
  • /components/ILIAS/BookingManager/Preferences/class.ilBookingPreferencesDBRepository.php
"DELETE FROM booking_preferences WHERE " . " book_pool_id = %s" . " AND user_id = %s"1
  • /components/ILIAS/BookingManager/Preferences/class.ilBookingPreferencesDBRepository.php
"SELECT booking_pool_id FROM booking_settings " . " WHERE schedule_type = %s " . " AND pref_deadline < %s " . " AND pref_booking_hash = %s "1
  • /components/ILIAS/BookingManager/Preferences/class.ilBookingPrefBasedBookGatewayRepository.php
'SELECT title,raster,rent_min,rent_max,auto_break,' . 'deadline,av_from,av_to' . ' FROM booking_schedule' . ' WHERE booking_schedule_id = ' . $ilDB->quote($this->id, 'integer')1
  • /components/ILIAS/BookingManager/Schedule/class.ilBookingSchedule.php
'SELECT day_id,slot_id,times' . ' FROM booking_schedule_slot' . ' WHERE booking_schedule_id = ' . $ilDB->quote($this->id, 'integer')1
  • /components/ILIAS/BookingManager/Schedule/class.ilBookingSchedule.php
'INSERT INTO booking_schedule' . ' (booking_schedule_id,title,pool_id,raster,rent_min,rent_max,auto_break,' . 'deadline,av_from,av_to)' . ' VALUES (' . $ilDB->quote($this->id, 'integer') . ',' . $ilDB->quote($this->getTitle( ), 'text') . ',' . $ilDB->quote($this->getPoolId( ), 'integer') . ',' . $ilDB->quote($this->getRaster( ), 'integer') . ',' . $ilDB->quote($this->getMinRental( ), 'integer') . ',' . $ilDB->quote($this->getMaxRental( ), 'integer') . ',' . $ilDB->quote($this->getAutoBreak( ), 'integer') . ',' . $ilDB->quote($this->getDeadline( ), 'integer') . ',' . $ilDB->quote($av_from, 'integer') . ',' . $ilDB->quote($av_to, 'integer') . ')'1
  • /components/ILIAS/BookingManager/Schedule/class.ilBookingSchedule.php
'UPDATE booking_schedule' . ' SET title = ' . $ilDB->quote($this->getTitle( ), 'text') . ', pool_id = ' . $ilDB->quote($this->getPoolId( ), 'integer') . ', raster = ' . $ilDB->quote($this->getRaster( ), 'integer') . ', rent_min = ' . $ilDB->quote($this->getMinRental( ), 'integer') . ', rent_max = ' . $ilDB->quote($this->getMaxRental( ), 'integer') . ', auto_break = ' . $ilDB->quote($this->getAutoBreak( ), 'integer') . ', deadline = ' . $ilDB->quote($this->getDeadline( ), 'integer') . ', av_from = ' . $ilDB->quote($av_from, 'integer') . ', av_to = ' . $ilDB->quote($av_to, 'integer') . ' WHERE booking_schedule_id = ' . $ilDB->quote($this->id, 'integer')1
  • /components/ILIAS/BookingManager/Schedule/class.ilBookingSchedule.php
'DELETE FROM booking_schedule_slot' . ' WHERE booking_schedule_id = ' . $ilDB->quote($this->id, 'integer')1
  • /components/ILIAS/BookingManager/Schedule/class.ilBookingSchedule.php
"SELECT booking_schedule_id" . " FROM booking_schedule" . " WHERE pool_id = " . $ilDB->quote($a_pool_id, 'integer')1
  • /components/ILIAS/BookingManager/Schedule/class.ilBookingSchedule.php
'SELECT s.booking_schedule_id,s.title,' . 'MAX(o.schedule_id) AS object_has_schedule' . ' FROM booking_schedule s' . ' LEFT JOIN booking_object o ON (s.booking_schedule_id = o.schedule_id)' . ' WHERE s.pool_id = ' . $ilDB->quote($a_pool_id, 'integer') . ' GROUP BY s.booking_schedule_id,s.title' . ' ORDER BY s.title'1
  • /components/ILIAS/BookingManager/Schedule/class.ilBookingSchedule.php
'DELETE FROM booking_schedule' . ' WHERE booking_schedule_id = ' . $ilDB->quote($this->id, 'integer')1
  • /components/ILIAS/BookingManager/Schedule/class.ilBookingSchedule.php
'SELECT s.booking_schedule_id,s.title,' . 'MAX(o.schedule_id) AS object_has_schedule' . ' FROM booking_schedule s' . ' LEFT JOIN booking_object o ON (s.booking_schedule_id = o.schedule_id)' . ' WHERE s.pool_id = ' . $db->quote($pool_id, 'integer') . ' GROUP BY s.booking_schedule_id,s.title' . ' ORDER BY s.title'1
  • /components/ILIAS/BookingManager/Schedule/class.SchedulesDBRepository.php
"SELECT booking_pool_id, pool_offline FROM booking_settings WHERE " . $ilDB->in("booking_pool_id", $a_ids, false, "integer")1
  • /components/ILIAS/BookingManager/classes/class.ilObjBookingPoolAccess.php
'SELECT * FROM booking_settings' . ' WHERE booking_pool_id = ' . $ilDB->quote($this->getId( ), 'integer')1
  • /components/ILIAS/BookingManager/classes/class.ilObjBookingPool.php
"SELECT * FROM booking_settings " . " WHERE reminder_status = %s " . " AND reminder_day > %s "1
  • /components/ILIAS/BookingManager/classes/class.ilObjBookingPool.php
'DELETE FROM booking_settings' . ' WHERE booking_pool_id = ' . $ilDB->quote($id, 'integer')1
  • /components/ILIAS/BookingManager/classes/class.ilObjBookingPool.php
'DELETE FROM booking_schedule' . ' WHERE pool_id = ' . $ilDB->quote($id, 'integer')1
  • /components/ILIAS/BookingManager/classes/class.ilObjBookingPool.php
'SELECT booking_object_id FROM booking_object' . ' WHERE pool_id = ' . $ilDB->quote($id, 'integer')1
  • /components/ILIAS/BookingManager/classes/class.ilObjBookingPool.php
'DELETE FROM booking_reservation' . ' WHERE ' . $ilDB->in('object_id', $objects, '', 'integer')1
  • /components/ILIAS/BookingManager/classes/class.ilObjBookingPool.php
'DELETE FROM booking_object' . ' WHERE pool_id = ' . $ilDB->quote($id, 'integer')1
  • /components/ILIAS/BookingManager/classes/class.ilObjBookingPool.php
"SELECT booking_object_id, pool_id, owner FROM booking_object JOIN object_data ON pool_id = obj_id WHERE obj_info_rid IS NULL LIMIT 1;"1
  • /components/ILIAS/BookingManager/classes/Setup/class.ilBookingManagerObjectInfoMigration.php
"SELECT count(booking_object_id) amount FROM booking_object JOIN object_data ON pool_id = obj_id WHERE obj_info_rid IS NULL"1
  • /components/ILIAS/BookingManager/classes/Setup/class.ilBookingManagerObjectInfoMigration.php
"SELECT * FROM booking_object " . " WHERE schedule_id = %s "1
  • /components/ILIAS/BookingManager/classes/Setup/class.ilBookingManager8HotfixDBUpdateSteps.php
"SELECT * FROM booking_schedule " . " WHERE pool_id = %s ORDER BY booking_schedule_id ASC LIMIT 1"1
  • /components/ILIAS/BookingManager/classes/Setup/class.ilBookingManager8HotfixDBUpdateSteps.php
"SELECT booking_object_id, pool_id, owner FROM booking_object JOIN object_data ON pool_id = obj_id WHERE book_info_rid IS NULL LIMIT 1;"1
  • /components/ILIAS/BookingManager/classes/Setup/class.ilBookingManagerBookingInfoMigration.php
"SELECT count(booking_object_id) amount FROM booking_object JOIN object_data ON pool_id = obj_id WHERE book_info_rid IS NULL"1
  • /components/ILIAS/BookingManager/classes/Setup/class.ilBookingManagerBookingInfoMigration.php
"SELECT count(user_id) total" . " FROM booking_reservation" . " WHERE " . $ilDB->in('object_id', $booking_pool_objects, false, 'integer') . " AND user_id = " . $a_user_id . " AND (status IS NULL OR status <> " . self::STATUS_CANCELLED . ')'1
  • /components/ILIAS/BookingManager/Reservations/class.ilBookingReservation.php
'SELECT DISTINCT bm.user_id user_id' . ' FROM booking_member bm' . ' WHERE bm.booking_pool_id = ' . $ilDB->quote($pool_id, 'integer') . ' AND bm.user_id NOT IN (' . 'SELECT user_id' . ' FROM booking_reservation' . ' WHERE object_id = ' . $ilDB->quote($a_object_id, 'integer') . ' AND (status IS NULL OR status <> ' . self::STATUS_CANCELLED . '))'1
  • /components/ILIAS/BookingManager/Reservations/class.ilBookingReservation.php
'SELECT COUNT(*) cnt' . ' FROM booking_reservation r' . ' JOIN booking_object o ON (o.booking_object_id = r.object_id)' . ' WHERE (status IS NULL OR status <> ' . $ilDB->quote(self::STATUS_CANCELLED, 'integer') . ')' . ' AND r.object_id = ' . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/BookingManager/Reservations/class.ilBookingReservation.php
'SELECT user_id, status, date_from, date_to' . ' FROM booking_reservation' . ' WHERE ((date_from <= ' . $now . ' AND date_to >= ' . $now . ')' . ' OR date_from > ' . $now . ')' . ' AND (status <> ' . $ilDB->quote(self::STATUS_CANCELLED, 'integer') . ' OR STATUS IS NULL) AND object_id = ' . $ilDB->quote($a_object_id, 'integer') . ' ORDER BY date_from'1
  • /components/ILIAS/BookingManager/Reservations/class.ilBookingReservation.php
'SELECT booking_reservation_id FROM booking_reservation' . ' WHERE user_id = ' . $ilDB->quote($a_user_id, 'integer') . ' AND object_id = ' . $ilDB->quote($a_object_id, 'integer') . ' AND (status <> ' . $ilDB->quote(self::STATUS_CANCELLED, 'integer') . ' OR STATUS IS NULL)'1
  • /components/ILIAS/BookingManager/Reservations/class.ilBookingReservation.php
'SELECT r.*,o.title' . ' FROM booking_reservation r' . ' JOIN booking_object o ON (o.booking_object_id = r.object_id)'1
  • /components/ILIAS/BookingManager/Reservations/class.ilBookingReservation.php
'SELECT COUNT(*) AS counter' . ' FROM booking_reservation r' . ' JOIN booking_object o ON (o.booking_object_id = r.object_id)'1
  • /components/ILIAS/BookingManager/Reservations/class.ilBookingReservation.php
"SELECT ud.usr_id,ud.lastname,ud.firstname,ud.login" . " FROM usr_data ud " . " LEFT JOIN booking_reservation r ON (r.user_id = ud.usr_id)" . " WHERE ud.usr_id <> " . $ilDB->quote(ANONYMOUS_USER_ID, "integer") . " AND " . $ilDB->in("r.object_id", $a_object_ids, "", "integer") . " ORDER BY ud.lastname,ud.firstname"1
  • /components/ILIAS/BookingManager/Reservations/class.ilBookingReservation.php
'UPDATE booking_reservation' . ' SET status = ' . $ilDB->quote($a_status, 'integer') . ' WHERE ' . $ilDB->in('booking_reservation_id', $a_ids, '', 'integer')1
  • /components/ILIAS/BookingManager/Reservations/class.ilBookingReservation.php
"SELECT ce.cal_id FROM cal_entries ce" . " JOIN cal_cat_assignments cca ON ce.cal_id = cca.cal_id" . " JOIN cal_categories cc ON cca.cat_id = cc.cat_id" . " JOIN booking_reservation br ON ce.context_id = br.booking_reservation_id" . " WHERE cc.obj_id = " . $ilDB->quote($this->getUserId( ), 'integer') . " AND br.user_id = " . $ilDB->quote($this->getUserId( ), 'integer') . " AND cc.type = " . $ilDB->quote(ilCalendarCategory::TYPE_BOOK, 'integer') . " AND ce.context_id = " . $ilDB->quote($this->getId( ), 'integer')1
  • /components/ILIAS/BookingManager/Reservations/class.ilBookingReservation.php
"SELECT booking_reservation_id" . " FROM booking_reservation" . " WHERE object_id = " . $ilDB->quote($a_obj_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer") . " AND date_from = " . $ilDB->quote($a_from, "integer") . " AND date_to = " . $ilDB->quote($a_to, "integer") . " AND (status IS NULL" . " OR status <> " . $ilDB->quote(self::STATUS_CANCELLED, "integer") . ")"1
  • /components/ILIAS/BookingManager/Reservations/class.ilBookingReservation.php
'SELECT *' . ' FROM booking_reservation' . ' WHERE booking_reservation_id = ' . $ilDB->quote($id, 'integer')1
  • /components/ILIAS/BookingManager/Reservations/class.ReservationDBRepository.php
'INSERT INTO booking_reservation' . ' (booking_reservation_id,user_id,assigner_id,object_id,context_obj_id,date_from,date_to,status,group_id,message)' . ' VALUES (' . $ilDB->quote($id, 'integer') . ',' . $ilDB->quote($user_id, 'integer') . ',' . $ilDB->quote($assigner_id, 'integer') . ',' . $ilDB->quote($object_id, 'integer') . ',' . $ilDB->quote($context_obj_id, 'integer') . ',' . $ilDB->quote($from, 'integer') . ',' . $ilDB->quote($to, 'integer') . ',' . $ilDB->quote($status, 'integer') . ',' . $ilDB->quote($group_id, 'integer') . ',' . $ilDB->quote($message, 'text') . ')'1
  • /components/ILIAS/BookingManager/Reservations/class.ReservationDBRepository.php
'UPDATE booking_reservation' . ' SET object_id = ' . $ilDB->quote($object_id, 'text') . ', user_id = ' . $ilDB->quote($user_id, 'integer') . ', assigner_id = ' . $ilDB->quote($assigner_id, 'integer') . ', date_from = ' . $ilDB->quote($from, 'integer') . ', date_to = ' . $ilDB->quote($to, 'integer') . ', status = ' . $ilDB->quote($status, 'integer') . ', group_id = ' . $ilDB->quote($group_id, 'integer') . ', context_obj_id = ' . $ilDB->quote($context_obj_id, 'integer') . ', message = ' . $ilDB->quote($message, 'text') . ' WHERE booking_reservation_id = ' . $ilDB->quote($id, 'integer')1
  • /components/ILIAS/BookingManager/Reservations/class.ReservationDBRepository.php
'DELETE FROM booking_reservation' . ' WHERE booking_reservation_id = ' . $ilDB->quote($id, 'integer')1
  • /components/ILIAS/BookingManager/Reservations/class.ReservationDBRepository.php
'SELECT count(*) cnt, object_id' . ' FROM booking_reservation' . ' WHERE ' . $ilDB->in('object_id', $ids, '', 'integer') . $date . ' AND (status IS NULL OR status <> ' . $ilDB->quote(\ilBookingReservation::STATUS_CANCELLED, 'integer') . ')' . ' AND date_from <= ' . $to . ' AND date_to >= ' . $from . ' GROUP BY object_id'1
  • /components/ILIAS/BookingManager/Reservations/class.ReservationDBRepository.php
'SELECT r.*, o.title, o.pool_id, o.post_text, o.post_file' . ' FROM booking_reservation r' . ' JOIN booking_object o ON (o.booking_object_id = r.object_id)'1
  • /components/ILIAS/BookingManager/Reservations/class.ReservationDBRepository.php
"SELECT booking_reservation_id FROM booking_reservation " . " WHERE object_id = %s "1
  • /components/ILIAS/BookingManager/Reservations/class.ReservationDBRepository.php
"SELECT pool_id FROM booking_object WHERE booking_object.book_info_rid = %s;"1
  • /components/ILIAS/BookingManager/Objects/class.ilBookBookingInfoStakeholder.php
"SELECT pool_id FROM booking_object WHERE booking_object.obj_info_rid = %s;"1
  • /components/ILIAS/BookingManager/Objects/class.ilBookObjectInfoStakeholder.php
"SELECT * FROM booking_object " . " WHERE pool_id = %s ORDER BY title ASC, booking_object_id ASC"1
  • /components/ILIAS/BookingManager/Objects/class.ObjectsDBRepository.php
"SELECT obj_info_rid FROM booking_object " . " WHERE booking_object_id = %s "1
  • /components/ILIAS/BookingManager/Objects/class.ObjectsDBRepository.php
"SELECT book_info_rid FROM booking_object " . " WHERE booking_object_id = %s "1
  • /components/ILIAS/BookingManager/Objects/class.ObjectsDBRepository.php
'SELECT *' . ' FROM booking_object' . ' WHERE booking_object_id = ' . $ilDB->quote($this->id, 'integer')1
  • /components/ILIAS/BookingManager/Objects/class.ilBookingObject.php
'SELECT *' . ' FROM booking_object' . ' WHERE pool_id = ' . $ilDB->quote($a_pool_id, 'integer')1
  • /components/ILIAS/BookingManager/Objects/class.ilBookingObject.php
'SELECT count(*) as count' . ' FROM booking_object' . ' WHERE pool_id = ' . $ilDB->quote($a_pool_id, 'integer')1
  • /components/ILIAS/BookingManager/Objects/class.ilBookingObject.php
"SELECT booking_object_id" . " FROM booking_object" . " WHERE pool_id = " . $ilDB->quote($a_pool_id, 'integer')1
  • /components/ILIAS/BookingManager/Objects/class.ilBookingObject.php
'DELETE FROM booking_object' . ' WHERE booking_object_id = ' . $ilDB->quote($this->id, 'integer')1
  • /components/ILIAS/BookingManager/Objects/class.ilBookingObject.php
"SELECT booking_object_id,nr_items" . " FROM booking_object" . " WHERE " . $ilDB->in("booking_object_id", $a_obj_ids, "", "integer")1
  • /components/ILIAS/BookingManager/Objects/class.ilBookingObject.php
"SELECT pool_id FROM booking_object " . " WHERE booking_object_id = %s "1
  • /components/ILIAS/BookingManager/Objects/class.ilBookingObject.php
"SELECT title FROM booking_object " . " WHERE booking_object_id = %s "1
  • /components/ILIAS/BookingManager/Objects/class.ilBookingObject.php
"SELECT * FROM book_sel_object " . " WHERE user_id = %s " . " AND pool_id = %s "1
  • /components/ILIAS/BookingManager/BookingProcess/class.SelectedObjectsDBRepository.php
"DELETE FROM book_sel_object WHERE " . " user_id = %s" . " AND pool_id = %s"1
  • /components/ILIAS/BookingManager/BookingProcess/class.SelectedObjectsDBRepository.php
"DELETE FROM " . self::TABLE_NAME . " WHERE " . " obj_id = %s"1
  • /components/ILIAS/BookingManager/BookingService/class.ilObjUseBookDBRepository.php
"SELECT * FROM " . self::TABLE_NAME . " " . " WHERE obj_id = %s "1
  • /components/ILIAS/BookingManager/BookingService/class.ilObjUseBookDBRepository.php
"DELETE FROM " . self::TABLE_NAME . " WHERE " . " book_ref_id = %s"1
  • /components/ILIAS/BookingManager/BookingService/class.ilObjUseBookDBRepository.php
'SELECT usr_id, module, channel FROM ' . ilNotificationSetupHelper::$tbl_userconfig . ' WHERE module = %s AND ' . $this->db->in('usr_id', $this->userids, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Notifications/classes/ilNotificationUserIterator.php
"SELECT object_reference.obj_id, object_reference.ref_id FROM object_data INNER JOIN object_reference ON object_reference.obj_id = object_data.obj_id WHERE type = %s"1
  • /components/ILIAS/Notifications/classes/class.ilObjNotificationAdmin.php
'SELECT identifier, lang_key, value FROM lng_data WHERE (' . implode(') OR (', $where) . ')'1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'DELETE FROM ' . ilNotificationSetupHelper::$tbl_userconfig . ' WHERE usr_id = %s AND ' . $ilDB->in('module', array_keys($types), false, ilDBConstants::T_TEXT) . ' AND ' . $ilDB->in('channel', array_keys($channels), false, ilDBConstants::T_TEXT)1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'DELETE FROM ' . ilNotificationSetupHelper::$tbl_userconfig . ' WHERE usr_id = %s'1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'SELECT module, channel FROM ' . ilNotificationSetupHelper::$tbl_userconfig . ' WHERE usr_id = %s'1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'INSERT INTO ' . ilNotificationSetupHelper::$tbl_notification_queue . ' (notification_id, usr_id, valid_until, visible_for) ' . ' (SELECT %s, usr_id, %s, %s FROM ' . ilNotificationSetupHelper::$tbl_userlistener . ' WHERE disabled = 0 AND module = %s AND sender_id = %s)'1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'DELETE FROM ' . ilNotificationSetupHelper::$tbl_notification_data . ' WHERE notification_id = %s'1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'SELECT usr_id FROM ' . ilNotificationSetupHelper::$tbl_userlistener . ' WHERE disabled = 0 AND module = %s AND sender_id = %s'1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'UPDATE ' . ilNotificationSetupHelper::$tbl_userlistener . ' SET disabled = 1 WHERE module = %s AND sender_id = %s'1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'UPDATE ' . ilNotificationSetupHelper::$tbl_userlistener . ' SET disabled = 0 WHERE module = %s AND sender_id = %s'1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'SELECT channel_name, title, description, class, include, config_type FROM ' . ilNotificationSetupHelper::$tbl_notification_channels1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'SELECT type_name, title, description, notification_group, config_type FROM ' . ilNotificationSetupHelper::$tbl_notification_types1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'UPDATE ' . ilNotificationSetupHelper::$tbl_notification_types . ' SET config_type = %s WHERE type_name = %s'1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'UPDATE ' . ilNotificationSetupHelper::$tbl_notification_channels . ' SET config_type = %s WHERE channel_name = %s'1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'SELECT usr_id, value FROM usr_pref WHERE ' . $ilDB->in('usr_id', $usr_ids, false, ilDBConstants::T_INTEGER) . ' AND keyword = ' . $ilDB->quote('use_custom_notification_setting', ilDBConstants::T_TEXT) . ' AND value = ' . $ilDB->quote('1', ilDBConstants::T_TEXT)1
  • /components/ILIAS/Notifications/classes/ilNotificationDatabaseHandler.php
'SELECT count(*) AS count FROM ' . ilNotificationSetupHelper::$tbl_notification_osd_handler . ' WHERE notification_osd_id = %s'1
  • /components/ILIAS/Notifications/classes/Repository/ilNotificationOSDRepository.php
'SELECT * FROM ' . ilNotificationSetupHelper::$tbl_notification_osd_handler . ' WHERE usr_id = %s AND (valid_until = 0 OR valid_until > %s) AND time_added > %s'1
  • /components/ILIAS/Notifications/classes/Repository/ilNotificationOSDRepository.php
'DELETE FROM ' . ilNotificationSetupHelper::$tbl_notification_osd_handler . ' WHERE notification_osd_id = %s'1
  • /components/ILIAS/Notifications/classes/Repository/ilNotificationOSDRepository.php
'DELETE FROM ' . ilNotificationSetupHelper::$tbl_notification_osd_handler . ' WHERE usr_id = %s AND type = %s'1
  • /components/ILIAS/Notifications/classes/Repository/ilNotificationOSDRepository.php
'DELETE FROM ' . ilNotificationSetupHelper::$tbl_notification_osd_handler . ' WHERE type = %s AND identification = %s'1
  • /components/ILIAS/Notifications/classes/Repository/ilNotificationOSDRepository.php
'DELETE FROM ' . ilNotificationSetupHelper::$tbl_notification_osd_handler . ' WHERE type = %s AND usr_id = %s AND time_added < %s'1
  • /components/ILIAS/Notifications/classes/Repository/ilNotificationOSDRepository.php
'UPDATE settings SET keyword = %s WHERE module = %s AND keyword = %s'1
  • /components/ILIAS/Notifications/classes/Setup/ilNotificationUpdateSteps.php
'UPDATE settings SET module = %s, keyword = %s WHERE module = %s AND keyword = %s'1
  • /components/ILIAS/Notifications/classes/Setup/ilNotificationUpdateSteps.php
'DELETE FROM notification_usercfg WHERE module = %s'1
  • /components/ILIAS/Notifications/classes/Setup/ilNotificationUpdateSteps.php
"UPDATE settings SET value = CONCAT(value , '000') WHERE keyword = %s"1
  • /components/ILIAS/Notifications/classes/Setup/ilNotificationUpdateSteps.php
'SELECT count(*) AS count'1
  • /components/ILIAS/Notifications/tests/notifications/ilNotificationOSDTest.php
"DELETE FROM lti_ext_consumer_otype WHERE consumer_id = " . $this->db->quote($a_consumer_id, "integer")1
  • /components/ILIAS/LTIProvider/classes/class.ilObjLTIAdministration.php
"INSERT INTO lti_ext_consumer_otype (consumer_id, object_type) VALUES (%s, %s)"1
  • /components/ILIAS/LTIProvider/classes/class.ilObjLTIAdministration.php
"SELECT object_type FROM lti_ext_consumer_otype WHERE consumer_id = " . $ilDB->quote($a_consumer_id, "integer")1
  • /components/ILIAS/LTIProvider/classes/class.ilObjLTIAdministration.php
'select id from lti_ext_consumer join lti_ext_consumer_otype on id = consumer_id ' . 'WHERE active = ' . $db->quote(1, 'integer') . ' ' . 'AND object_type = ' . $db->quote($a_type, 'text')1
  • /components/ILIAS/LTIProvider/classes/class.ilObjLTIAdministration.php
'select distinct(id) id from lti_ext_consumer join lti_ext_consumer_otype on id = consumer_id ' . 'WHERE active = ' . $db->quote(1, 'integer') . ' ' . 'AND object_type = ' . $db->quote($a_type, 'text')1
  • /components/ILIAS/LTIProvider/classes/class.ilObjLTIAdministration.php
' SELECT object_reference.ref_id FROM object_reference, tree, object_data WHERE tree.parent = %s AND object_data.type = %s AND object_reference.ref_id = tree.child AND object_reference.obj_id = object_data.obj_id'1
  • /components/ILIAS/LTIProvider/classes/class.ilObjLTIAdministration.php
'select ref_id, title from lti2_consumer join lti_ext_consumer ' . 'on id = ext_consumer_id where enabled = ' . $db->quote(1, 'integer')1
  • /components/ILIAS/LTIProvider/classes/class.ilObjLTIAdministration.php
'SELECT consumer_pk, name, consumer_key, secret, ' . 'platform_id, client_id, deployment_id, public_key, ' . 'lti_version, signature_method, consumer_name, consumer_version, consumer_guid, ' . 'profile, tool_proxy, settings, protected, enabled, ' . 'enable_from, enable_until, last_access, created, updated, ext_consumer_id, ref_id ' . 'FROM lti2_consumer WHERE '1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT * from lti_ext_consumer where id = ' . $ilDB->quote($platform->getExtConsumerId( ), 'integer')1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT consumer_pk from lti2_consumer ' . 'WHERE ext_consumer_id = ' . $db->quote($platform->getExtConsumerId( ), 'integer') . ' ' . 'AND ref_id = ' . $db->quote($platform->getRefId( ), 'integer')1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'INSERT INTO lti_ext_consumer (title, description, prefix, user_language, role, id, active) ' . 'VALUES (%s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'update lti_ext_consumer set ' . 'title = ' . $ilDB->quote($platform->getTitle( ), 'text') . ', ' . 'description = ' . $ilDB->quote($platform->getDescription( ), 'text') . ', ' . 'prefix = ' . $ilDB->quote($platform->getPrefix( ), 'text') . ', ' . 'user_language = ' . $ilDB->quote($platform->getLanguage( ), 'text') . ', ' . 'role = ' . $ilDB->quote($platform->getRole( ), 'integer') . ', ' . 'active = ' . $ilDB->quote((int) $platform->getActive( ), 'integer') . ' ' . 'where id = ' . $ilDB->quote($platform->getExtConsumerId( ), 'integer')1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'INSERT INTO lti2_consumer (consumer_key, name, ' . 'secret, lti_version, consumer_name, consumer_version, consumer_guid, profile, tool_proxy, settings, protected, enabled, ' . 'enable_from, enable_until, last_access, created, updated, consumer_pk, ext_consumer_id, ref_id, platform_id, client_id, deployment_id, public_key) ' . 'VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'UPDATE lti2_consumer SET ' . 'consumer_key = %s, name = %s, ' . 'secret= %s, lti_version = %s, consumer_name = %s, consumer_version = %s, consumer_guid = %s, ' . 'profile = %s, tool_proxy = %s, settings = %s, protected = %s, enabled = %s, ' . 'enable_from = %s, enable_until = %s, last_access = %s, updated = %s, ' . 'platform_id = %s, client_id = %s, deployment_id = %s, public_key = %s ' . 'WHERE consumer_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE FROM lti_ext_consumer WHERE id = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE FROM lti_ext_consumer_otype WHERE consumer_id = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE FROM lti2_consumer WHERE ext_consumer_id = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"DELETE FROM {$this->dbTableNamePrefix}" . DataConnector::NONCE_TABLE_NAME . ' WHERE consumer_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE sk ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_SHARE_KEY_TABLE_NAME . ' sk ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ON sk.resource_link_pk = rl.resource_link_pk ' . 'WHERE rl.consumer_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE sk ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_SHARE_KEY_TABLE_NAME . ' sk ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ON sk.resource_link_pk = rl.resource_link_pk ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ON rl.context_pk = c.context_pk ' . 'WHERE c.consumer_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE u ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::USER_RESULT_TABLE_NAME . ' u ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ON u.resource_link_pk = rl.resource_link_pk ' . 'WHERE rl.consumer_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE u ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::USER_RESULT_TABLE_NAME . ' u ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ON u.resource_link_pk = rl.resource_link_pk ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ON rl.context_pk = c.context_pk ' . 'WHERE c.consumer_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"UPDATE {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' prl ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ON prl.primary_resource_link_pk = rl.resource_link_pk ' . 'SET prl.primary_resource_link_pk = NULL, prl.share_approved = NULL ' . 'WHERE rl.consumer_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"UPDATE {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' prl ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ON prl.primary_resource_link_pk = rl.resource_link_pk ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ON rl.context_pk = c.context_pk ' . 'SET prl.primary_resource_link_pk = NULL, prl.share_approved = NULL ' . 'WHERE c.consumer_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE rl ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ' . 'WHERE rl.consumer_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE rl ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ON rl.context_pk = c.context_pk ' . 'WHERE c.consumer_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE c ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ' . 'WHERE c.consumer_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE c ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::PLATFORM_TABLE_NAME . ' c ' . 'WHERE c.consumer_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT * from lti_ext_consumer '1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT consumer_pk, name, consumer_key256, consumer_key, secret, lti_version, ' . 'consumer_name, consumer_version, consumer_guid, ' . 'profile, tool_proxy, settings, protected, enabled, ' . 'enable_from, enable_until, last_access, created, updated, ' . 'title, description, prefix, user_language, role, local_role_always_member, default_skin ' . 'FROM lti2_consumer, lti_ext_consumer ' . 'WHERE lti_ext_consumer.id = consumer_pk'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT context_pk, consumer_pk, lti_context_id, settings, created, updated ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' ' . 'WHERE (context_pk = %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT context_pk, consumer_pk, lti_context_id, settings, created, updated ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' ' . 'WHERE (consumer_pk = %s) AND (lti_context_id = %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"INSERT INTO {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' (context_pk, consumer_pk, lti_context_id, settings, created, updated) ' . 'VALUES (%s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"UPDATE {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' SET ' . 'lti_context_id = %s, settings = %s, ' . 'updated = %s' . 'WHERE (consumer_pk = %s) AND (context_pk = %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE sk ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_SHARE_KEY_TABLE_NAME . ' sk ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ON sk.resource_link_pk = rl.resource_link_pk ' . 'WHERE rl.context_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE u ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::USER_RESULT_TABLE_NAME . ' u ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ON u.resource_link_pk = rl.resource_link_pk ' . 'WHERE rl.context_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"UPDATE {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' prl ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ON prl.primary_resource_link_pk = rl.resource_link_pk ' . 'SET prl.primary_resource_link_pk = null, prl.share_approved = null ' . 'WHERE rl.context_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE rl ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ' . 'WHERE rl.context_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE c ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ' . 'WHERE c.context_pk = %s'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT resource_link_pk, context_pk, consumer_pk, lti_resource_link_id, settings, primary_resource_link_pk, share_approved, created, updated ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' ' . 'WHERE (resource_link_pk = %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT resource_link_pk, context_pk, consumer_pk, lti_resource_link_id, settings, primary_resource_link_pk, share_approved, created, updated ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' r ' . 'WHERE (r.lti_resource_link_id = %s) AND ((r.context_pk = %s) OR (r.consumer_pk IN (' . 'SELECT c.consumer_pk ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ' . 'WHERE (c.context_pk = %s))))'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT r.resource_link_pk, r.context_pk, r.consumer_pk, r.lti_resource_link_id, r.settings, r.primary_resource_link_pk, r.share_approved, r.created, r.updated ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' r LEFT OUTER JOIN ' . $this->dbTableNamePrefix . DataConnector::CONTEXT_TABLE_NAME . ' c ON r.context_pk = c.context_pk ' . ' WHERE ((r.consumer_pk = %s) OR (c.consumer_pk = %s)) AND (lti_resource_link_id = %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"INSERT INTO {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' (resource_link_pk, consumer_pk, context_pk, ' . 'lti_resource_link_id, settings, primary_resource_link_pk, share_approved, created, updated) ' . 'VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"UPDATE {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' SET ' . 'consumer_pk = %s, lti_resource_link_id = %s, settings = %s, ' . 'primary_resource_link_pk = %s, share_approved = %s, updated = %s ' . 'WHERE (context_pk = %s) AND (resource_link_pk = %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"UPDATE {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' SET ' . 'context_pk = %s, lti_resource_link_id = %s, settings = %s, ' . 'primary_resource_link_pk = %s, share_approved = %s, updated = %s ' . 'WHERE (consumer_pk = %s) AND (resource_link_pk = %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'Update resource link with query: ' . $query1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"DELETE FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_SHARE_KEY_TABLE_NAME . ' ' . 'WHERE (resource_link_pk = %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"DELETE FROM {$this->dbTableNamePrefix}" . DataConnector::USER_RESULT_TABLE_NAME . ' ' . 'WHERE (resource_link_pk = %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"UPDATE {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' ' . 'SET primary_resource_link_pk = NULL ' . 'WHERE (primary_resource_link_pk = %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"DELETE FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' ' . 'WHERE (resource_link_pk = %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"DELETE FROM {$this->dbTableNamePrefix}" . DataConnector::NONCE_TABLE_NAME . " WHERE expires <= %s"1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"SELECT value AS T FROM {$this->dbTableNamePrefix}" . DataConnector::NONCE_TABLE_NAME . ' WHERE (consumer_pk = %s) AND (value = %s)'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"INSERT INTO {$this->dbTableNamePrefix}" . DataConnector::NONCE_TABLE_NAME . " (consumer_pk, value, expires) VALUES (%s, %s, %s)"1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"DELETE FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_SHARE_KEY_TABLE_NAME . " WHERE expires <= '%s'"1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT resource_link_pk, auto_approve, expires ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_SHARE_KEY_TABLE_NAME . ' ' . "WHERE share_key_id = %s"1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"INSERT INTO {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_SHARE_KEY_TABLE_NAME . ' ' . '(share_key_id, resource_link_pk, auto_approve, expires) ' . "VALUES (%s, %s, %s, %s)"1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
"DELETE FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_SHARE_KEY_TABLE_NAME . " WHERE share_key_id = %s"1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT user_pk, resource_link_pk, lti_user_id, lti_result_sourcedid, created, updated ' . 'FROM ' . $this->dbTableNamePrefix . DataConnector::USER_RESULT_TABLE_NAME . ' ' . 'WHERE user_pk = ' . $ilDB->quote($id, 'integer')1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT user_pk, resource_link_pk, lti_user_id, lti_result_sourcedid, created, updated ' . 'FROM ' . $this->dbTableNamePrefix . DataConnector::USER_RESULT_TABLE_NAME . ' ' . 'WHERE resource_link_pk = ' . $ilDB->quote($rid, 'integer') . ' ' . 'AND lti_user_id = ' . $ilDB->quote($uid, 'text')1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'INSERT INTO ' . $this->dbTableNamePrefix . DataConnector::USER_RESULT_TABLE_NAME . ' ' . '(user_pk,resource_link_pk,lti_user_id, lti_result_sourcedid, created, updated) ' . 'VALUES( ' . $ilDB->quote($userresult->getRecordId( ), 'integer') . ', ' . $ilDB->quote($rid, 'integer') . ', ' . $ilDB->quote($uid, 'text') . ', ' . $ilDB->quote($userresult->ltiResultSourcedId, 'text') . ', ' . $ilDB->quote($now, 'text') . ', ' . $ilDB->quote($now, 'text') . ')'1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'UPDATE ' . $this->dbTableNamePrefix . DataConnector::USER_RESULT_TABLE_NAME . ' ' . 'SET lti_result_sourcedid = ' . $ilDB->quote($userresult->ltiResultSourcedId, 'text') . ', ' . 'updated = ' . $ilDB->quote($now, 'text') . ' ' . 'WHERE user_pk = ' . $ilDB->quote($userresult->getRecordId( ), 'integer')1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'DELETE from ' . $this->dbTableNamePrefix . DataConnector::USER_RESULT_TABLE_NAME . ' ' . 'WHERE user_pk = ' . $ilDB->quote($user->getRecordId( ), 'integer')1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'select rl.resource_link_pk ' . 'from lti2_user_result ur join lti2_resource_link rl on rl.resource_link_pk = ur.resource_link_pk ' . 'join lti2_consumer c on rl.consumer_pk = c.consumer_pk ' . 'join lti_ext_consumer ec on c.ext_consumer_id = ec.id ' . 'where c.enabled = ' . $db->quote(1, 'integer') . ' ' . 'and ref_id = ' . $db->quote($a_ref_id, 'integer') . ' ' . 'and ur.lti_user_id = ' . $db->quote($a_lti_user, 'text') . ' ' . 'and ec.id = ' . $db->quote($a_ext_consumer, 'integer')1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'select lti_user_id, rl.resource_link_pk, ec.id, ref_id ' . 'from lti2_resource_link rl join lti2_user_result ur on rl.resource_link_pk = ur.resource_link_pk ' . 'join lti2_consumer c on rl.consumer_pk = c.consumer_pk ' . 'join lti_ext_consumer ec on ext_consumer_id = ec.id ' . 'where c.enabled = ' . $db->quote(1, 'integer') . ' ' . 'and rl.updated > ' . $db->quote($since->get(IL_CAL_DATETIME), 'timestamp')1
  • /components/ILIAS/LTIProvider/classes/class.ilLTIDataConnector.php
'SELECT consumer_pk from lti2_consumer where enabled = ' . $ilDB->quote(1, 'integer')1
  • /components/ILIAS/LTIProvider/classes/InternalProvider/class.ilAuthProviderLTI.php
'SELECT distinct(consumer_pk) consumer_pk from lti2_consumer'1
  • /components/ILIAS/LTIProvider/classes/InternalProvider/class.ilAuthProviderLTI.php
'SELECT consumer_pk from lti2_consumer where consumer_key = ' . $ilDB->quote($a_oauth_consumer_key, 'text')1
  • /components/ILIAS/LTIProvider/classes/InternalProvider/class.ilAuthProviderLTI.php
'SELECT prefix from lti_ext_consumer where id = ' . $ilDB->quote($a_lti_id, 'integer')1
  • /components/ILIAS/LTIProvider/classes/InternalProvider/class.ilAuthProviderLTI.php
'SELECT role from lti_ext_consumer where id = ' . $ilDB->quote($a_lti_id, 'integer')1
  • /components/ILIAS/LTIProvider/classes/InternalProvider/class.ilAuthProviderLTI.php
'Update of lti user with uid: ' . $user_obj->getId( ) . ' and login: ' . $user_obj->getLogin( )1
  • /components/ILIAS/LTIProvider/classes/InternalProvider/class.ilAuthProviderLTI.php
'DELETE FROM lti_int_provider_obj ' . 'WHERE ref_id = ' . $this->db->quote($this->ref_id, 'integer') . ' ' . 'AND ext_consumer_id = ' . $this->db->quote($this->getConsumerId( ), 'integer')1
  • /components/ILIAS/LTIProvider/classes/InternalProvider/class.ilLTIProviderObjectSetting.php
'INSERT INTO lti_int_provider_obj ' . '(ref_id,ext_consumer_id,admin,tutor,member) VALUES( ' . $this->db->quote($this->ref_id, 'integer') . ', ' . $this->db->quote($this->getConsumerId( ), 'integer') . ', ' . $this->db->quote($this->getAdminRole( ), 'integer') . ', ' . $this->db->quote($this->getTutorRole( ), 'integer') . ', ' . $this->db->quote($this->getMemberRole( ), 'integer') . ' )'1
  • /components/ILIAS/LTIProvider/classes/InternalProvider/class.ilLTIProviderObjectSetting.php
'SELECT * FROM lti_int_provider_obj ' . 'WHERE ref_id = ' . $this->db->quote($this->ref_id, 'integer') . ' ' . 'AND ext_consumer_id = ' . $this->db->quote($this->getConsumerId( ), 'integer')1
  • /components/ILIAS/LTIProvider/classes/InternalProvider/class.ilLTIProviderObjectSetting.php
"SELECT * FROM qpl_a_mc WHERE question_fi = %s ORDER BY aorder ASC"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMultipleChoice.php
"SELECT answer_id, aorder FROM qpl_a_mc WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMultipleChoice.php
"DELETE FROM qpl_a_mc WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMultipleChoice.php
"INSERT INTO qpl_a_mc (answer_id, question_fi, answertext, points, points_unchecked, aorder, imagefile, tstamp) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMultipleChoice.php
"SELECT value1+1 as value1 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s AND step = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMultipleChoice.php
"SELECT value1+1 as value1 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMultipleChoice.php
'DELETE FROM qpl_a_imagemap WHERE question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.assImagemapQuestion.php
'INSERT INTO qpl_a_imagemap (answer_id, question_fi, answertext, points, aorder, coords, area, points_unchecked) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/TestQuestionPool/classes/class.assImagemapQuestion.php
'INSERT INTO ' . $this->getAdditionalTableName( ) . ' (question_fi, image_file, is_multiple_choice) VALUES (%s, %s, %s)'1
  • /components/ILIAS/TestQuestionPool/classes/class.assImagemapQuestion.php
'SELECT * FROM qpl_a_imagemap WHERE question_fi = %s ORDER BY aorder ASC'1
  • /components/ILIAS/TestQuestionPool/classes/class.assImagemapQuestion.php
'SELECT value1+1 as value1 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s AND step = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.assImagemapQuestion.php
'SELECT value1+1 as value1 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s AND step IS NULL'1
  • /components/ILIAS/TestQuestionPool/classes/class.assImagemapQuestion.php
" SELECT qpl_questions.question_id FROM qpl_questions INNER JOIN object_data ON object_data.obj_id = qpl_questions.obj_fi AND $INtypes WHERE qpl_questions.owner = %s AND qpl_questions.tstamp = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssIncompleteQuestionPurger.php
"SELECT * FROM qpl_a_textsubset WHERE question_fi = %s ORDER BY aorder ASC"1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextSubset.php
"INSERT INTO " . $this->getAdditionalTableName( ) . " (question_fi, textgap_rating, correctanswers) VALUES (%s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextSubset.php
"DELETE FROM qpl_a_textsubset WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextSubset.php
"INSERT INTO qpl_a_textsubset (answer_id, question_fi, answertext, points, aorder, tstamp) VALUES (%s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextSubset.php
"SELECT value1 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s AND step = %s ORDER BY solution_id"1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextSubset.php
"SELECT value1 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s ORDER BY solution_id"1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextSubset.php
"DELETE FROM tst_solutions WHERE active_fi = ? AND question_fi = ? AND pass = ?"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionUserSolutionAdopter.php
" SELECT pass, points, value1, value2 FROM tst_solutions WHERE active_fi = ? AND question_fi = ? AND pass < ? ORDER BY pass DESC "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionUserSolutionAdopter.php
" INSERT INTO tst_solutions ( solution_id, active_fi, question_fi, pass, tstamp, points, value1, value2 ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ? ) "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionUserSolutionAdopter.php
"DELETE FROM tst_test_result WHERE active_fi = ? AND question_fi = ? AND pass = ?"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionUserSolutionAdopter.php
" SELECT points, manual, answered FROM tst_test_result WHERE active_fi = ? AND question_fi = ? AND pass = ? "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionUserSolutionAdopter.php
" INSERT INTO tst_test_result ( test_result_id, active_fi, question_fi, pass, tstamp, points, manual, answered ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ? ) "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionUserSolutionAdopter.php
"SELECT * FROM {$this->getAnswerTableName( )} WHERE question_fi = %s ORDER BY position ASC"1
  • /components/ILIAS/TestQuestionPool/classes/class.assKprimChoice.php
'SELECT factor FROM il_qpl_qst_fq_unit WHERE unit_id = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestionUnit.php
" SELECT * FROM qpl_qst_skl_sol_expr WHERE question_fi = %s AND skill_base_fi = %s AND skill_tref_fi = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionSolutionComparisonExpressionList.php
" DELETE FROM qpl_qst_skl_sol_expr WHERE question_fi = %s AND skill_base_fi = %s AND skill_tref_fi = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionSolutionComparisonExpressionList.php
"SELECT * FROM tst_test_result WHERE active_fi = %s AND question_fi = %s AND pass = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
" DELETE FROM tst_test_result WHERE active_fi = %s AND question_fi = %s AND pass = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
" SELECT * FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s AND step = %s AND authorized = %s ORDER BY solution_id"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
" SELECT * FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s AND authorized = %s ORDER BY solution_id "1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"DELETE FROM qpl_questions WHERE question_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"DELETE FROM tst_test_question WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT question_id FROM qpl_questions WHERE original_id = %s OR question_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT * FROM tst_test_result WHERE " . $this->db->in('question_fi', $found_id, false, 'integer')1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
'SELECT external_id FROM qpl_questions WHERE question_id = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"UPDATE qpl_questions SET tstamp = %s, original_id = %s WHERE question_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"UPDATE qpl_questions SET tstamp = %s, original_id = NULL WHERE question_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT internal_link, suggested_solution_id FROM qpl_sol_sug WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"UPDATE qpl_sol_sug SET internal_link = %s WHERE suggested_solution_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT internal_link FROM qpl_sol_sug WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT points FROM tst_test_result WHERE active_fi = %s AND question_fi = %s AND pass = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"UPDATE tst_test_result SET points = %s, manual = %s, tstamp = %s WHERE active_fi = %s AND question_fi = %s AND pass = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT question_type_id FROM qpl_qst_type WHERE type_tag = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT question_id FROM qpl_questions WHERE original_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT tst_tests.obj_fi FROM tst_tests, tst_test_question WHERE tst_test_question.question_fi = %s AND tst_test_question.test_fi = tst_tests.test_id"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT tst_tests.obj_fi FROM tst_tests, tst_test_rnd_qst, tst_active WHERE tst_test_rnd_qst.active_fi = tst_active.active_id AND tst_test_rnd_qst.question_fi = %s AND tst_tests.test_id = tst_active.test_fi"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT question_fi FROM tst_test_question WHERE question_fi = %s AND test_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
" SELECT qpl_questions.*, {$this->getAdditionalTableName( )}.* FROM qpl_questions LEFT JOIN {$this->getAdditionalTableName( )} ON {$this->getAdditionalTableName( )}.question_fi = qpl_questions.question_id WHERE qpl_questions.question_id = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
" SELECT * FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s AND step = %s AND authorized = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
" SELECT * FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s AND authorized = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"DELETE FROM tst_solutions WHERE solution_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT * FROM tst_solutions WHERE solution_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
' DELETE FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s AND step = %s AND authorized = %s '1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
" DELETE FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s AND authorized = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
" DELETE FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s AND authorized = %s AND $valuesCondition "1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT MAX(step) max_step FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
" SELECT authorized, COUNT(*) cnt FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"DELETE FROM tst_solutions WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
" DELETE FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
" DELETE FROM tst_test_result WHERE active_fi = %s AND question_fi = %s AND pass = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"UPDATE qpl_questions SET tstamp = %s WHERE question_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
" SELECT obj_fi, question_fi, skill_base_fi, skill_tref_fi, skill_points, eval_mode FROM qpl_qst_skl_assigns WHERE {$this->getWhereConditions( )} "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionSkillAssignmentList.php
" SELECT tst_solutions.solution_id, tst_solutions.pass, tst_solutions.active_fi, tst_solutions.question_fi, tst_solutions.value1, tst_solutions.value2, tst_solutions.tstamp FROM tst_solutions, tst_active, qpl_questions WHERE tst_solutions.active_fi = tst_active.active_id AND tst_solutions.question_fi = qpl_questions.question_id AND tst_solutions.question_fi = %s AND tst_active.test_fi = %s ORDER BY tst_solutions.active_fi, tst_solutions.tstamp "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssFileUploadUploadsExporter.php
"SELECT * FROM qpl_num_range WHERE question_fi = %s ORDER BY aorder ASC"1
  • /components/ILIAS/TestQuestionPool/classes/class.assNumeric.php
"INSERT INTO " . $this->getAdditionalTableName( ) . " (question_fi, maxnumofchars) VALUES (%s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assNumeric.php
"DELETE FROM qpl_num_range WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assNumeric.php
"INSERT INTO qpl_num_range (range_id, question_fi, lowerlimit, upperlimit, points, aorder, tstamp) VALUES (%s, %s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assNumeric.php
"SELECT * FROM qpl_a_sc WHERE question_fi = %s ORDER BY aorder ASC"1
  • /components/ILIAS/TestQuestionPool/classes/class.assSingleChoice.php
"INSERT INTO " . $this->getAdditionalTableName( ) . " (question_fi, shuffle, allow_images, thumb_size) VALUES (%s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assSingleChoice.php
"SELECT answer_id, aorder FROM qpl_a_sc WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assSingleChoice.php
"DELETE FROM qpl_a_sc WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assSingleChoice.php
"INSERT INTO qpl_a_sc (answer_id, question_fi, answertext, points, aorder, imagefile, tstamp) VALUES (%s, %s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assSingleChoice.php
"SELECT * FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s AND step = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assSingleChoice.php
"SELECT * FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assSingleChoice.php
' SELECT result_type FROM il_qpl_qst_fq_res WHERE question_fi = %s AND result = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestionResult.php
' SELECT * FROM il_qpl_qst_fq_res_unit WHERE question_fi = %s ORDER BY result'1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestionResult.php
"DELETE FROM qpl_a_errortext WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assErrorText.php
"INSERT INTO qpl_a_errortext (answer_id, question_fi, text_wrong, text_correct, points, sequence, position) VALUES (%s, %s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assErrorText.php
"INSERT INTO " . $this->getAdditionalTableName( ) . " (question_fi, errortext, parsed_errortext, textsize, points_wrong) VALUES (%s, %s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assErrorText.php
"SELECT * FROM qpl_a_errortext WHERE question_fi = %s ORDER BY sequence ASC"1
  • /components/ILIAS/TestQuestionPool/classes/class.assErrorText.php
"SELECT value1+1 as value1 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s AND step = ( SELECT MAX(step) FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s )"1
  • /components/ILIAS/TestQuestionPool/classes/class.assErrorText.php
"INSERT INTO " . $this->getAdditionalTableName( ) . " (question_fi, ordering_type, thumb_geometry, element_height) VALUES (%s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assOrderingQuestion.php
"SELECT value1, value2 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s AND step = %s ORDER BY value1 ASC "1
  • /components/ILIAS/TestQuestionPool/classes/class.assOrderingQuestion.php
"SELECT value1, value2 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s ORDER BY value1 ASC "1
  • /components/ILIAS/TestQuestionPool/classes/class.assOrderingQuestion.php
"INSERT INTO " . $this->getAdditionalTableName( ) . " (question_fi, ordertext, textsize) VALUES (%s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assOrderingHorizontal.php
"DELETE FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s AND value1 = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
" DELETE FROM il_qpl_qst_fq_var WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
"INSERT INTO il_qpl_qst_fq_res_unit (result_unit_id, question_fi, result, unit_fi) VALUES (%s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
"SELECT qpl_questions.* FROM qpl_questions WHERE question_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
"SELECT * FROM il_qpl_qst_fq_var WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
"SELECT * FROM il_qpl_qst_fq_res WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
"SELECT * FROM il_qpl_qst_fq_res_unit WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
"SELECT solution_id FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s AND authorized = %s AND " . $this->db->like('value1', 'clob', $matches[1])1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
"SELECT solution_id FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s AND authorized = %s AND " . $this->db->like('value1', 'clob', $matches[1] . "_unit")1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
" SELECT authorized, COUNT(*) cnt FROM tst_solutions WHERE active_fi = " . $this->db->quote($active_id, 'integer') . " AND question_fi = " . $this->db->quote($this->getId( ), 'integer') . " AND pass = " . $this->db->quote($pass, 'integer') . " AND value1 like '\$r%' AND value2 is not null AND value2 <> '' "1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
" DELETE FROM tst_solutions WHERE active_fi = " . $this->db->quote($active_id, 'integer') . " AND question_fi = " . $this->db->quote($this->getId( ), 'integer') . " AND pass = " . $this->db->quote($pass, 'integer') . " AND value1 like '\$r%' "1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
"DELETE FROM il_qpl_qst_fq_var WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
"DELETE FROM il_qpl_qst_fq_ucat WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
"DELETE FROM il_qpl_qst_fq_unit WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
'SELECT DISTINCT item_id FROM tax_node_assignment'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionList.php
"SELECT DISTINCT $select_fields"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionList.php
"SELECT 1 FROM $table WHERE $table.question_fi = qpl_questions.question_id AND $table.feedback <> ''"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionList.php
"SELECT 1 FROM $table JOIN $page_object_table ON $page_object_table.page_id = $table.feedback_id WHERE $page_object_table.parent_type IN ('%s', '%s') AND $page_object_table.is_empty <> 1 AND $table.question_fi = qpl_questions.question_id"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionList.php
"SELECT 1 FROM $tax_node_assignment_table WHERE $tax_node_assignment_table.item_id = qpl_questions.question_id AND $tax_node_assignment_table.item_type = 'quest'"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionList.php
"SELECT $count FROM qpl_questions {$this->getTableJoinExpression( )} WHERE qpl_questions.tstamp > 0 {$this->getConditionalFilterExpression( )}"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionList.php
'SELECT * FROM il_qpl_qst_fq_ucat WHERE category_id = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
'SELECT category FROM il_qpl_qst_fq_ucat WHERE category_id = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT * FROM il_qpl_qst_fq_unit WHERE category_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT unit_fi FROM il_qpl_qst_fq_res_unit WHERE unit_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT unit_fi FROM il_qpl_qst_fq_var WHERE unit_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT unit_fi FROM il_qpl_qst_fq_res WHERE unit_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
'SELECT unit_id FROM il_qpl_qst_fq_unit WHERE category_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"DELETE FROM il_qpl_qst_fq_unit WHERE unit_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
" SELECT units.*, il_qpl_qst_fq_ucat.category, baseunits.unit baseunit_title FROM il_qpl_qst_fq_unit units INNER JOIN il_qpl_qst_fq_ucat ON il_qpl_qst_fq_ucat.category_id = units.category_fi LEFT JOIN il_qpl_qst_fq_unit baseunits ON baseunits.unit_id = units.baseunit_fi ORDER BY il_qpl_qst_fq_ucat.category, units.sequence"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT units.*, baseunits.unit baseunit_title, il_qpl_qst_fq_ucat.category FROM il_qpl_qst_fq_unit units INNER JOIN il_qpl_qst_fq_ucat ON il_qpl_qst_fq_ucat.category_id = units.category_fi LEFT JOIN il_qpl_qst_fq_unit baseunits ON baseunits.unit_id = units.baseunit_fi WHERE il_qpl_qst_fq_ucat.category_id = %s ORDER BY units.sequence"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT * FROM il_qpl_qst_fq_ucat WHERE question_fi > %s ORDER BY category"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT * FROM il_qpl_qst_fq_ucat WHERE question_fi = %s ORDER BY category"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
'UPDATE il_qpl_qst_fq_unit SET sequence = %s WHERE unit_id = %s AND question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT * FROM il_qpl_qst_fq_var WHERE unit_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT * FROM il_qpl_qst_fq_res WHERE unit_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT * FROM il_qpl_qst_fq_unit WHERE baseunit_fi = %s AND category_fi != %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT * FROM il_qpl_qst_fq_unit WHERE baseunit_fi = %s AND unit_id != %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
'SELECT * FROM il_qpl_qst_fq_ucat WHERE category_id = ' . $this->db->quote($id, 'integer')1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
'SELECT * FROM il_qpl_qst_fq_ucat WHERE category = %s AND question_fi = %s AND category_id != %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
'UPDATE il_qpl_qst_fq_ucat SET category = %s WHERE question_fi = %s AND category_id = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
'SELECT category FROM il_qpl_qst_fq_ucat WHERE category = %s AND question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"INSERT INTO il_qpl_qst_fq_ucat (category_id, category, question_fi) VALUES (%s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT * FROM il_qpl_qst_fq_ucat WHERE question_fi = %s OR question_fi = %s ORDER BY category"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
'DELETE FROM il_qpl_qst_fq_ucat WHERE category_id = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
'INSERT INTO il_qpl_qst_fq_unit (unit_id, unit, factor, baseunit_fi, category_fi, sequence, question_fi) VALUES (%s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
'SELECT unit_id FROM il_qpl_qst_fq_unit WHERE unit_id = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
'UPDATE il_qpl_qst_fq_unit SET unit = %s, factor = %s, baseunit_fi = %s, category_fi = %s, sequence = %s WHERE unit_id = %s AND question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"SELECT * FROM il_qpl_qst_fq_ucat WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php
"INSERT INTO " . $this->getAdditionalTableName( ) . " (question_fi, long_menu_text, feedback_setting, min_auto_complete, identical_scoring) VALUES (%s, %s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assLongMenu.php
"SELECT * FROM {$this->getAnswerTableName( )} WHERE question_fi = %s ORDER BY gap_number, position ASC"1
  • /components/ILIAS/TestQuestionPool/classes/class.assLongMenu.php
'SELECT gap_number, answer_text FROM ' . $this->getAnswerTableName( ) . ' WHERE question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.assLongMenu.php
'SELECT answer_text FROM ' . $this->getAnswerTableName( ) . ' WHERE question_fi = %s AND gap_number = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.assLongMenu.php
'SELECT points FROM ' . $this->getAnswerTableName( ) . ' WHERE question_fi = %s AND gap_number = %s GROUP BY gap_number, points'1
  • /components/ILIAS/TestQuestionPool/classes/class.assLongMenu.php
" SELECT authorized, COUNT(*) cnt FROM tst_solutions WHERE active_fi = " . $this->db->quote($activeId, 'integer') . " AND question_fi = " . $this->db->quote($this->getId( ), 'integer') . " AND pass = " . $this->db->quote($pass, 'integer') . " AND value2 <> '-1' "1
  • /components/ILIAS/TestQuestionPool/classes/class.assLongMenu.php
'DELETE FROM ' . $this->getAnswerTableName( ) . ' WHERE question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.assLongMenu.php
" SELECT obj_fi, question_fi, skill_base_fi, skill_tref_fi, skill_points, eval_mode FROM qpl_qst_skl_assigns WHERE obj_fi = %s AND question_fi = %s AND skill_base_fi = %s AND skill_tref_fi = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionSkillAssignment.php
" DELETE FROM qpl_qst_skl_assigns WHERE obj_fi = %s AND question_fi = %s AND skill_base_fi = %s AND skill_tref_fi = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionSkillAssignment.php
" SELECT COUNT(*) cnt FROM qpl_qst_skl_assigns WHERE obj_fi = %s AND question_fi = %s AND skill_base_fi = %s AND skill_tref_fi = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionSkillAssignment.php
" SELECT COUNT(*) cnt FROM qpl_qst_skl_assigns WHERE obj_fi = %s AND skill_base_fi = %s AND skill_tref_fi = %s "1
  • /components/ILIAS/TestQuestionPool/classes/class.ilAssQuestionSkillAssignment.php
"DELETE FROM qpl_a_mterm WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMatchingQuestion.php
"DELETE FROM qpl_a_mdef WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMatchingQuestion.php
"DELETE FROM qpl_a_matching WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMatchingQuestion.php
"INSERT INTO qpl_a_matching (answer_id, question_fi, points, term_fi, definition_fi) VALUES (%s, %s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMatchingQuestion.php
"SELECT * FROM qpl_a_mterm WHERE question_fi = %s ORDER BY term_id ASC"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMatchingQuestion.php
"SELECT * FROM qpl_a_mdef WHERE question_fi = %s ORDER BY def_id ASC"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMatchingQuestion.php
"SELECT * FROM qpl_a_matching WHERE question_fi = %s ORDER BY answer_id"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMatchingQuestion.php
"SELECT ident FROM qpl_a_mdef WHERE question_fi = %s ORDER BY def_id"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMatchingQuestion.php
"SELECT ident FROM qpl_a_mterm WHERE question_fi = %s ORDER BY term_id"1
  • /components/ILIAS/TestQuestionPool/classes/class.assMatchingQuestion.php
'SELECT combinations.combination_id, combinations.gap_fi, combinations.answer, combinations.row_id, combinations.points, combinations.best_solution, combinations.question_fi, cloze.cloze_type FROM qpl_a_cloze_combi_res AS combinations INNER JOIN qpl_a_cloze AS cloze WHERE combinations.question_fi = cloze.question_fi AND combinations.gap_fi = cloze.gap_id AND combinations.question_fi = %s ORDER BY combination_id, row_id, gap_fi ASC '1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeGapCombination.php
'INSERT INTO qpl_a_cloze_combi_res (combination_id, question_fi, gap_fi, row_id, answer, points, best_solution) VALUES (%s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeGapCombination.php
'INSERT INTO qpl_a_cloze_combi_res (combination_id, question_fi, gap_fi, row_id, answer, points, best_solution) VALUES (%s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeGapCombination.php
'DELETE FROM qpl_a_cloze_combi_res WHERE question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeGapCombination.php
'SELECT * FROM qpl_a_cloze_combi_res WHERE question_fi = %s ORDER BY gap_fi ASC'1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeGapCombination.php
'SELECT gap_fi, combination_id FROM ' . $this->db->quoteIdentifier('qpl_a_cloze_combi_res') . ' WHERE question_fi = %s GROUP BY gap_fi, combination_id'1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeGapCombination.php
'SELECT combination_id, points' . PHP_EOL . 'FROM qpl_a_cloze_combi_res' . PHP_EOL . 'WHERE question_fi = %s' . PHP_EOL . 'AND best_solution=1' . PHP_EOL . 'GROUP BY combination_id, points'1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeGapCombination.php
'SELECT combination_id, points' . PHP_EOL . 'FROM qpl_a_cloze_combi_res' . PHP_EOL . 'WHERE question_fi = %s' . PHP_EOL . 'AND combination_id = %s' . PHP_EOL . 'AND best_solution=1' . PHP_EOL . 'GROUP BY combination_id, points'1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeGapCombination.php
'SELECT * FROM qpl_a_essay WHERE question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextQuestion.php
"DELETE FROM qpl_a_essay WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextQuestion.php
"INSERT INTO qpl_a_essay (answer_id, question_fi, answertext, points) VALUES (%s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextQuestion.php
"SELECT * FROM qpl_a_essay WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextQuestion.php
"INSERT INTO qpl_a_essay (answer_id, question_fi, answertext, points) VALUES (%s, %s, %s, %s)"1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextQuestion.php
' SELECT count(solution_id) cnt FROM tst_solutions WHERE active_fi = ' . $this->db->quote($active_id, 'int') . ' AND question_fi = ' . $this->db->quote($this->getId( ), 'int') . ' AND authorized = ' . $this->db->quote(0, 'int') . ' AND pass = ' . $this->db->quote($pass, 'int')1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextQuestion.php
' SELECT value1 FROM tst_solutions WHERE active_fi = ' . $this->db->quote($active_id, 'int') . ' AND question_fi = ' . $this->db->quote($this->getId( ), 'int') . ' AND authorized = ' . $this->db->quote(0, 'int') . ' AND pass = ' . $this->db->quote($pass, 'int')1
  • /components/ILIAS/TestQuestionPool/classes/class.assTextQuestion.php
'INSERT INTO ' . $this->getAdditionalTableName( ) . ' (question_fi, maxsize, allowedextensions, compl_by_submission) VALUES (%s, %s, %s, %s)'1
  • /components/ILIAS/TestQuestionPool/classes/class.assFileUpload.php
'SELECT * FROM tst_solutions WHERE active_fi = %s ' . 'AND question_fi = %s AND pass = %s AND authorized = %s ' . 'AND value1 IS NOT NULL ORDER BY tstamp'1
  • /components/ILIAS/TestQuestionPool/classes/class.assFileUpload.php
"SELECT value1 FROM tst_solutions WHERE value2 = 'rid' AND " . $this->db->in('solution_id', $delete_files, false, 'integer')1
  • /components/ILIAS/TestQuestionPool/classes/class.assFileUpload.php
' SELECT tst_solutions.solution_id FROM tst_solutions, tst_active, qpl_questions WHERE tst_solutions.active_fi = tst_active.active_id AND tst_solutions.question_fi = qpl_questions.question_id AND tst_solutions.question_fi = %s AND tst_active.test_fi = %s AND tst_solutions.value1 is not null'1
  • /components/ILIAS/TestQuestionPool/classes/class.assFileUpload.php
"SELECT * FROM qpl_a_cloze WHERE question_fi = %s ORDER BY gap_id, aorder ASC"1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeTest.php
"DELETE FROM qpl_a_cloze WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeTest.php
'INSERT INTO qpl_a_cloze (answer_id, question_fi, gap_id, answertext, points, aorder, cloze_type, gap_size) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeTest.php
'INSERT INTO qpl_a_cloze (answer_id, question_fi, gap_id, answertext, points, aorder, cloze_type, shuffle) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeTest.php
'INSERT INTO qpl_a_cloze (answer_id, question_fi, gap_id, answertext, points, aorder, cloze_type, lowerlimit, upperlimit, gap_size) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeTest.php
" SELECT sol.value1+1 as val, sol.value2, cloze.cloze_type FROM tst_solutions sol INNER JOIN qpl_a_cloze cloze ON cloze.gap_id = value1 AND cloze.question_fi = sol.question_fi WHERE sol.active_fi = %s AND sol.pass = %s AND sol.question_fi = %s AND sol.step = %s GROUP BY sol.solution_id, sol.value1+1, sol.value2, cloze.cloze_type "1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeTest.php
" SELECT sol.value1+1 as val, sol.value2, cloze.cloze_type FROM tst_solutions sol INNER JOIN qpl_a_cloze cloze ON cloze.gap_id = value1 AND cloze.question_fi = sol.question_fi WHERE sol.active_fi = %s AND sol.pass = %s AND sol.question_fi = %s GROUP BY sol.solution_id, sol.value1+1, sol.value2, cloze.cloze_type "1
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeTest.php
'SELECT * FROM qpl_questionpool WHERE obj_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT id_questionpool FROM qpl_questionpool WHERE obj_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT qpl_qst_type.type_tag FROM qpl_questions, qpl_qst_type WHERE qpl_questions.question_type_fi = qpl_qst_type.question_type_id AND qpl_questions.question_id = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT COUNT(solution_id) solution_count FROM tst_solutions WHERE question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
"SELECT COUNT(question_id) AS cnt FROM qpl_questions WHERE obj_fi = %s AND title like %s"1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT qpl_questions.*, qpl_qst_type.type_tag, qpl_qst_type.plugin, qpl_questions.tstamp updated FROM qpl_questions, qpl_qst_type WHERE qpl_questions.original_id IS NULL AND qpl_questions.tstamp > 0 AND qpl_questions.question_type_fi = qpl_qst_type.question_type_id AND qpl_questions.obj_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT question_id FROM qpl_questions WHERE obj_fi = %s AND qpl_questions.tstamp > 0 AND original_id IS NULL'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT question_id, qpl_qst_type.type_tag, qpl_qst_type.plugin FROM qpl_questions, qpl_qst_type WHERE original_id IS NULL AND qpl_questions.tstamp > 0 AND obj_fi = %s AND complete = %s AND qpl_questions.question_type_fi = qpl_qst_type.question_type_id'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT COUNT(question_id) cnt FROM qpl_questions WHERE question_id = %s AND obj_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT COUNT(question_id) question_count FROM qpl_questions WHERE obj_fi = %s AND qpl_questions.tstamp > 0 AND original_id IS NULL AND complete = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT count(DISTINCT qpl_questions.points) equal_points FROM qpl_questions, object_reference WHERE object_reference.ref_id = %s AND qpl_questions.tstamp > 0 AND object_reference.obj_id = qpl_questions.obj_fi AND qpl_questions.original_id IS NULL'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT count(DISTINCT points) equal_points FROM qpl_questions WHERE obj_fi = %s AND qpl_questions.tstamp > 0 AND qpl_questions.original_id IS NULL'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'UPDATE qpl_questions SET obj_fi = %s WHERE question_id = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT qpl_questions.*, qpl_qst_type.type_tag ' . 'FROM qpl_questions, qpl_qst_type ' . 'WHERE qpl_questions.question_type_fi = qpl_qst_type.question_type_id ' . 'AND ' . $this->db->in('qpl_questions.question_id', $question_ids, false, 'integer') . ' ORDER BY qpl_questions.title'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT qpl_questions.*, qpl_qst_type.type_tag FROM qpl_questions, qpl_qst_type WHERE qpl_questions.question_type_fi = qpl_qst_type.question_type_id AND ' . $this->db->in('qpl_questions.question_id', $question_ids, false, 'integer') . ' ORDER BY qpl_questions.title'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'UPDATE tst_solutions SET question_fi = %s WHERE question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'UPDATE tst_test_rnd_qst SET question_fi = %s WHERE question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'UPDATE tst_test_result SET question_fi = %s WHERE question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'UPDATE ass_log SET question_fi = %s WHERE question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT qpl_questionpool.*, object_data.title FROM qpl_questionpool, object_data WHERE ' . 'qpl_questionpool.obj_fi = object_data.obj_id AND ' . $in . ' ORDER BY object_data.title'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT qpl_questionpool.*, object_data.title FROM qpl_questionpool, object_data WHERE ' . 'qpl_questionpool.obj_fi = object_data.obj_id AND ' . $in . ' AND object_data.offline = %s ' . 'ORDER BY object_data.title'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT qpl_questions.question_id FROM qpl_questions WHERE qpl_questions.original_id IS NULL AND qpl_questions.tstamp > 0 AND qpl_questions.obj_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT type_tag FROM qpl_qst_type WHERE question_type_id = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT qpl_questions.*, qpl_qst_type.* FROM qpl_questions, qpl_qst_type WHERE qpl_questions.original_id IS NULL AND qpl_questions.obj_fi = %s AND qpl_questions.tstamp > 0 AND qpl_questions.question_type_fi = qpl_qst_type.question_type_id'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'UPDATE qpl_questionpool SET questioncount = %s, tstamp = %s WHERE obj_fi = %s'1
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'UPDATE qpl_questions SET title=%s WHERE ISNULL(title)'1
  • /components/ILIAS/TestQuestionPool/classes/Setup/class.ilTestQuestionPool10DBUpdateSteps.php
'UPDATE qpl_questions SET description=%s WHERE ISNULL(description)'1
  • /components/ILIAS/TestQuestionPool/classes/Setup/class.ilTestQuestionPool10DBUpdateSteps.php
'UPDATE qpl_questions SET question_text=%s WHERE ISNULL(question_text)'1
  • /components/ILIAS/TestQuestionPool/classes/Setup/class.ilTestQuestionPool10DBUpdateSteps.php
'UPDATE qpl_questions SET lifecycle=%s WHERE ISNULL(lifecycle)'1
  • /components/ILIAS/TestQuestionPool/classes/Setup/class.ilTestQuestionPool10DBUpdateSteps.php
'UPDATE qpl_questions SET complete=%s WHERE ISNULL(complete)'1
  • /components/ILIAS/TestQuestionPool/classes/Setup/class.ilTestQuestionPool10DBUpdateSteps.php
"DELETE FROM qpl_sol_sug WHERE type = %s"1
  • /components/ILIAS/TestQuestionPool/classes/Setup/class.ilTestQuestionPool9DBUpdateSteps.php
' UPDATE object_data INNER JOIN qpl_questionpool ON object_data.obj_id = qpl_questionpool.obj_fi SET object_data.offline = IF(qpl_questionpool.isonline = 1, 0, 1) WHERE object_data.type = %s '1
  • /components/ILIAS/TestQuestionPool/classes/Setup/class.ilTestQuestionPool9DBUpdateSteps.php
"SELECT COUNT(*) as count FROM tst_solutions INNER JOIN qpl_qst_fileupload ON qpl_qst_fileupload.question_fi = tst_solutions.question_fi INNER JOIN tst_active ON tst_active.active_id = tst_solutions.active_fi WHERE tst_solutions.value2 != 'rid';"1
  • /components/ILIAS/TestQuestionPool/classes/Setup/Migration/class.ilTestQuestionPoolFileUploadQuestionMigration.php
"SELECT * FROM {$this->getGenericFeedbackTableName( )} WHERE question_fi = %s AND correctness = %s"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssQuestionFeedback.php
"SELECT answer FROM {$this->getSpecificFeedbackTableName( )} WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssQuestionFeedback.php
"SELECT feedback_id FROM {$this->getGenericFeedbackTableName( )} WHERE question_fi = %s AND correctness = %s"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssQuestionFeedback.php
"SELECT COUNT(feedback_id) cnt FROM {$this->getGenericFeedbackTableName( )} WHERE question_fi = %s AND feedback_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssQuestionFeedback.php
"SELECT feedback_setting FROM {$this->getSpecificQuestionTableName( )} WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssConfigurableMultiOptionQuestionFeedback.php
"SELECT feedback_id, question, answer FROM {$this->getSpecificFeedbackTableName( )} WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssSpecificFeedbackIdentifierList.php
"SELECT feedback_mode FROM {$this->questionOBJ->getAdditionalTableName( )} WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssClozeTestFeedback.php
"DELETE FROM {$this->getSpecificFeedbackTableName( )} WHERE {$IN_feedbackIds}"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssClozeTestFeedback.php
"SELECT * FROM {$this->getSpecificFeedbackTableName( )} WHERE question_fi = %s AND question = %s AND answer = %s"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssMultiOptionQuestionFeedback.php
"SELECT feedback FROM {$this->getSpecificFeedbackTableName( )} WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssMultiOptionQuestionFeedback.php
"SELECT * FROM {$this->getSpecificFeedbackTableName( )} WHERE question_fi = %s"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssMultiOptionQuestionFeedback.php
"SELECT feedback_id FROM {$this->getSpecificFeedbackTableName( )} WHERE question_fi = %s AND question = %s AND answer = %s"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssMultiOptionQuestionFeedback.php
"SELECT feedback_id, feedback FROM {$this->getSpecificFeedbackTableName( )} WHERE " . $this->db->in('feedback_id', $feedback_ids, false, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssMultiOptionQuestionFeedback.php
"SELECT COUNT(feedback_id) cnt FROM {$this->getSpecificFeedbackTableName( )} WHERE question_fi = %s AND feedback_id = %s"1
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssMultiOptionQuestionFeedback.php
"DELETE FROM qpl_qst_skl_assigns " . " WHERE skill_base_fi = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/TestQuestionPool/classes/Skills/class.TestQuestionPoolSkillDBRepository.php
"DELETE FROM qpl_qst_skl_sol_expr " . " WHERE skill_base_fi = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/TestQuestionPool/classes/Skills/class.TestQuestionPoolSkillDBRepository.php
"DELETE FROM qpl_qst_skl_assigns " . " WHERE skill_tref_fi = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/TestQuestionPool/classes/Skills/class.TestQuestionPoolSkillDBRepository.php
"DELETE FROM qpl_qst_skl_sol_expr " . " WHERE skill_tref_fi = " . $this->db->quote($skill_node_id, "integer")1
  • /components/ILIAS/TestQuestionPool/classes/Skills/class.TestQuestionPoolSkillDBRepository.php
"SELECT * FROM qpl_qst_type"1
  • /components/ILIAS/TestQuestionPool/classes/questions/class.ilAssQuestionTypeList.php
'SELECT question_id, points FROM ' . self::MAIN_QUESTION_TABLE . ' WHERE original_id = %s OR question_id = %s'1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT question_fi, points FROM ' . self::TEST_RESULTS_TABLE . ' WHERE ' . $this->db->in('question_fi', array_keys($found_questions), false, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT COUNT(DISTINCT question_fi) cnt FROM ' . self::TEST_RESULTS_TABLE . ' JOIN tst_active' . ' ON (active_id = active_fi)' . ' WHERE ' . $this->db->in('question_fi', $question_ids, false, \ilDBConstants::T_INTEGER) . ' AND user_fi = %s'1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT COUNT(*) cnt ' . ' FROM ' . self::TEST_RESULTS_TABLE . ' WHERE active_fi = %s' . ' AND question_fi = %s' . ' AND pass = %s'1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT COUNT(' . self::MAIN_QUESTION_TABLE . '.question_id) question_count' . ' FROM ' . self::MAIN_QUESTION_TABLE . ', ' . self::TEST_FIXED_QUESTION_TABLE . ' WHERE ' . self::MAIN_QUESTION_TABLE . '.question_id = ' . self::TEST_FIXED_QUESTION_TABLE . '.question_fi' . ' AND ' . self::MAIN_QUESTION_TABLE . '.original_id = %s'1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT COUNT(' . self::TEST_TO_ACTIVE_USER_TABLE . '.test_fi) question_count' . ' FROM ' . self::MAIN_QUESTION_TABLE . ' INNER JOIN ' . self::TEST_RANDOM_QUESTION_TABLE . ' ON ' . self::TEST_RANDOM_QUESTION_TABLE . '.question_fi = ' . self::MAIN_QUESTION_TABLE . '.question_id' . ' INNER JOIN ' . self::TEST_TO_ACTIVE_USER_TABLE . ' ON ' . self::TEST_TO_ACTIVE_USER_TABLE . '.active_id = ' . self::TEST_RANDOM_QUESTION_TABLE . '.active_fi' . ' WHERE ' . self::MAIN_QUESTION_TABLE . '.original_id = %s' . ' GROUP BY tst_active.test_fi'1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT question_id FROM ' . self::MAIN_QUESTION_TABLE . ' WHERE ' . $this->db->like('title', \ilDBConstants::T_TEXT, "%{$title}%")1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT COUNT(question_id) cnt FROM ' . self::MAIN_QUESTION_TABLE . ' WHERE question_id = %s'1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT COUNT(question_id) cnt FROM ' . self::MAIN_QUESTION_TABLE . ' INNER JOIN ' . self::DATA_TABLE . ' ON obj_fi = obj_id WHERE question_id = %s AND type = "qpl"'1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT COUNT(test_random_question_id) cnt' . ' FROM ' . self::TEST_RANDOM_QUESTION_TABLE . ' WHERE question_fi = %s'1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT COUNT(dupl.question_id) cnt' . ' FROM ' . self::MAIN_QUESTION_TABLE . ' dupl' . ' INNER JOIN ' . self::MAIN_QUESTION_TABLE . ' orig' . ' ON orig.question_id = dupl.original_id' . ' WHERE dupl.question_id = %s'1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT question_fi' . ' FROM ' . self::TEST_RESULTS_TABLE . ' WHERE active_fi = %s' . ' AND pass = %s' . ' AND ' . $in_question_ids1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT COUNT(*) cnt' . ' FROM ' . self::TEST_RESULTS_TABLE . ' WHERE active_fi = %s' . ' AND pass = %s' . ' AND ' . $in_question_ids1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT COUNT(user_fi) cnt FROM ' . self::TEST_TO_ACTIVE_USER_TABLE . ' JOIN ' . self::TEST_FIXED_QUESTION_TABLE . ' ON ' . self::TEST_FIXED_QUESTION_TABLE . '.test_fi = ' . self::TEST_TO_ACTIVE_USER_TABLE . '.test_fi ' . ' JOIN ' . self::MAIN_QUESTION_TABLE . ' ON ' . self::MAIN_QUESTION_TABLE . '.question_id = ' . self::TEST_FIXED_QUESTION_TABLE . '.question_fi ' . ' WHERE ' . self::MAIN_QUESTION_TABLE . '.obj_fi = ' . $this->db->quote($obj_id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT COUNT(*) cnt FROM ' . self::MAIN_QUESTION_TABLE . ' WHERE obj_fi = %s AND title = %s'1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'SELECT q.*, qt.type_tag, qt.plugin as is_plugin, qt.plugin_name, oq.obj_fi as oq_obj_fi' . ' FROM ' . self::MAIN_QUESTION_TABLE . ' q' . ' INNER JOIN ' . self::QUESTION_TYPES_TABLE . ' qt' . ' ON q.question_type_fi = qt.question_type_id' . ' LEFT JOIN ' . self::MAIN_QUESTION_TABLE . ' oq' . ' ON oq.question_id = q.original_id' . ' WHERE ' . $where1
  • /components/ILIAS/TestQuestionPool/src/Questions/GeneralQuestionPropertiesRepository.php
'DELETE FROM ' . self::TABLE_NAME_ANSWERS . PHP_EOL . 'WHERE question_fi = ' . $question_id1
  • /components/ILIAS/TestQuestionPool/src/Questions/Ordering/OrderingQuestionDatabaseRepository.php
'DELETE FROM ' . self::TABLE_SUGGESTED_SOLUTIONS . PHP_EOL . 'WHERE question_fi = ' . $this->db->quote($solution->getQuestionId( ), 'integer') . PHP_EOL . 'AND subquestion_index = ' . $this->db->quote($solution->getSubQuestionIndex( ), 'integer')1
  • /components/ILIAS/TestQuestionPool/src/Questions/SuggestedSolutions/SuggestedSolutionsDatabaseRepository.php
'DELETE FROM ' . self::TABLE_SUGGESTED_SOLUTIONS . PHP_EOL . 'WHERE suggested_solution_id = ' . $this->db->quote($suggested_solution_id, 'integer')1
  • /components/ILIAS/TestQuestionPool/src/Questions/SuggestedSolutions/SuggestedSolutionsDatabaseRepository.php
'DELETE FROM ' . self::TABLE_SUGGESTED_SOLUTIONS . PHP_EOL . 'WHERE question_fi = ' . $this->db->quote($question_id, 'integer')1
  • /components/ILIAS/TestQuestionPool/src/Questions/SuggestedSolutions/SuggestedSolutionsDatabaseRepository.php
"SELECT value FROM $table WHERE " . "component = " . $ilDB->quote($this->getComponent( ), "text") . " AND " . "name = " . $ilDB->quote($this->getName( ), "text") . " AND " . "expire_time > " . $ilDB->quote(time( ), "integer") . " AND " . "ilias_version = " . $ilDB->quote(ILIAS_VERSION_NUMERIC, "text") . " AND " . "entry_id = " . $ilDB->quote($a_id, "text")1
  • /components/ILIAS/Cache_/classes/class.ilCache.php
"DELETE FROM $table WHERE " . " ilias_version <> " . $ilDB->quote(ILIAS_VERSION_NUMERIC, "text") . " OR expire_time < " . $ilDB->quote(time( ), "integer")1
  • /components/ILIAS/Cache_/classes/class.ilCache.php
"DELETE FROM " . $table . " WHERE " . " entry_id = " . $ilDB->quote($a_id, "text") . " AND component = " . $ilDB->quote($this->getComponent( ), "text") . " AND name = " . $ilDB->quote($this->getName( ), "text")1
  • /components/ILIAS/Cache_/classes/class.ilCache.php
"UPDATE usr_data SET agree_date = NULL WHERE $in"1
  • /components/ILIAS/TermsOfService/classes/class.ilObjTermsOfServiceGUI.php
'SELECT usr_id FROM usr_data WHERE agree_date IS NULL AND ' . $users1
  • /components/ILIAS/TermsOfService/classes/Consumer.php
"SELECT DISTINCT obd.obj_id,obr.ref_id,ua.usr_id FROM rbac_ua ua " . "JOIN rbac_fa fa ON ua.rol_id = fa.rol_id " . "JOIN object_reference obr ON fa.parent = obr.ref_id " . "JOIN object_data obd ON obr.obj_id = obd.obj_id " . $j2 . "WHERE " . $ilDB->in("obd.type", $a_type, false, "text") . "AND fa.assign = 'y' " . 'AND ' . $ilDB->in('ua.usr_id', $a_user_ids, false, 'integer') . ' ' . $a21
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT DISTINCT obd.obj_id,obr.ref_id FROM rbac_ua ua " . "JOIN rbac_fa fa ON ua.rol_id = fa.rol_id " . "JOIN object_reference obr ON fa.parent = obr.ref_id " . "JOIN object_data obd ON obr.obj_id = obd.obj_id " . $j2 . "WHERE " . $ilDB->in("obd.type", $a_type, false, "text") . ' ' . "AND fa.assign = 'y' " . "AND ua.usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " " . 'AND obr.deleted IS NULL ' . $a21
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT * FROM obj_members " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " " . "AND blocked = " . $ilDB->quote(1, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT * FROM obj_members " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " " . "AND passed = '1'"1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"DELETE FROM obj_members " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"DELETE FROM il_subscribers " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
'DELETE FROM crs_waiting_list ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"DELETE FROM obj_members WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"DELETE FROM il_subscribers WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT * FROM obj_members " . "WHERE notification = 1 " . "AND obj_id = " . $this->ilDB->quote($this->obj_id, ilDBConstants::T_INTEGER) . " "1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"DELETE FROM obj_members " . "WHERE usr_id = " . $this->ilDB->quote($a_usr_id, 'integer') . " " . "AND obj_id = " . $this->ilDB->quote($this->obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"UPDATE obj_members SET " . "blocked = " . $this->ilDB->quote((int) $a_blocked, 'integer') . " " . "WHERE obj_id = " . $this->ilDB->quote($this->obj_id, 'integer') . " " . "AND usr_id = " . $this->ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"INSERT INTO obj_members (blocked,obj_id,usr_id,notification,passed) " . "VALUES ( " . $this->ilDB->quote((int) $a_blocked, 'integer') . ", " . $this->ilDB->quote($this->obj_id, 'integer') . ", " . $this->ilDB->quote($a_usr_id, 'integer') . ", " . $this->ilDB->quote(0, 'integer') . ", " . $this->ilDB->quote(0, 'integer') . ") ON DUPLICATE KEY UPDATE blocked = VALUES(blocked)"1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
'UPDATE obj_members SET ' . 'contact = ' . $this->ilDB->quote($a_contact, 'integer') . ' ' . 'WHERE obj_id = ' . $this->ilDB->quote($this->obj_id, 'integer') . ' ' . 'AND usr_id = ' . $this->ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"UPDATE obj_members SET " . "notification = " . $this->ilDB->quote((int) $a_notification, 'integer') . " " . "WHERE obj_id = " . $this->ilDB->quote($this->obj_id, 'integer') . " " . "AND usr_id = " . $this->ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"INSERT INTO obj_members (notification,obj_id,usr_id,passed,blocked) " . "VALUES ( " . $this->ilDB->quote((int) $a_notification, 'integer') . ", " . $this->ilDB->quote($this->obj_id, 'integer') . ", " . $this->ilDB->quote($a_usr_id, 'integer') . ", " . $this->ilDB->quote(0, 'integer') . ", " . $this->ilDB->quote(0, 'integer') . ") ON DUPLICATE KEY UPDATE notification = VALUES(notification)"1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT * FROM obj_members " . "WHERE obj_id = " . $this->ilDB->quote($this->obj_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT * FROM usr_data ud " . "WHERE " . $this->ilDB->in('usr_id', $this->getParticipants( ), false, 'integer') . " " . $and1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT usr_id FROM il_subscribers " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "ORDER BY sub_time "1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"INSERT INTO il_subscribers (usr_id,obj_id,subject,sub_time) " . " VALUES (" . $this->ilDB->quote($a_usr_id, 'integer') . "," . $this->ilDB->quote($this->obj_id, 'integer') . ", " . $this->ilDB->quote('', 'text') . ", " . $this->ilDB->quote(time( ), 'integer') . ")"1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"UPDATE il_subscribers " . "SET sub_time = " . $this->ilDB->quote($a_subtime, 'integer') . " " . "WHERE usr_id = " . $this->ilDB->quote($a_usr_id, 'integer') . " " . "AND obj_id = " . $this->ilDB->quote($this->obj_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"UPDATE il_subscribers " . "SET subject = " . $this->ilDB->quote($a_subject, 'text') . " " . "WHERE usr_id = " . $this->ilDB->quote($a_usr_id, 'integer') . " " . "AND obj_id = " . $this->ilDB->quote($this->obj_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"DELETE FROM il_subscribers " . "WHERE usr_id = " . $this->ilDB->quote($a_usr_id, 'integer') . " " . "AND obj_id = " . $this->ilDB->quote($this->obj_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"DELETE FROM il_subscribers " . "WHERE " . $this->ilDB->in('usr_id', $a_usr_ids, false, 'integer') . " " . "AND obj_id = " . $this->ilDB->quote($this->obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT * FROM il_subscribers " . "WHERE usr_id = " . $this->ilDB->quote($a_usr_id, 'integer') . " " . "AND obj_id = " . $this->ilDB->quote($this->obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT * FROM il_subscribers " . "WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT usr_id FROM il_subscribers " . "WHERE obj_id = " . $this->ilDB->quote($this->obj_id, 'integer') . " " . "ORDER BY sub_time "1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT * FROM il_subscribers " . "WHERE obj_id = " . $this->ilDB->quote($this->obj_id, 'integer') . " " . "AND usr_id = " . $this->ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
'SELECT * FROM il_subscribers ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT DISTINCT obd.obj_id,obr.ref_id FROM rbac_ua ua " . "JOIN rbac_fa fa ON ua.rol_id = fa.rol_id " . "JOIN object_reference obr ON fa.parent = obr.ref_id " . "JOIN object_data obd ON obr.obj_id = obd.obj_id " . $j2 . "WHERE obd.type = " . $ilDB->quote($a_type, 'text') . " " . "AND fa.assign = 'y' " . "AND ua.usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " " . $a21
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
"SELECT obj_id, usr_id FROM obj_members " . " WHERE " . $ilDB->in("obj_id", $obj_ids, false, "integer") . " AND contact = " . $ilDB->quote(1, "integer")1
  • /components/ILIAS/Membership/classes/class.ilParticipants.php
'SELECT count(usr_id) num from crs_waiting_list WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilWaitingList.php
"DELETE FROM crs_waiting_list WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilWaitingList.php
"DELETE FROM crs_waiting_list WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilWaitingList.php
"DELETE FROM crs_waiting_list " . "WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . ' ' . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilWaitingList.php
"INSERT INTO crs_waiting_list (obj_id,usr_id,sub_time) " . "VALUES (" . $this->db->quote($this->getObjId( ), 'integer') . ", " . $this->db->quote($a_usr_id, 'integer') . ", " . $this->db->quote(time( ), 'integer') . " " . ")"1
  • /components/ILIAS/Membership/classes/class.ilWaitingList.php
"UPDATE crs_waiting_list " . "SET sub_time = " . $this->db->quote($a_subtime, 'integer') . " " . "WHERE usr_id = " . $this->db->quote($a_usr_id, 'integer') . " " . "AND obj_id = " . $this->db->quote($this->getObjId( ), 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilWaitingList.php
"DELETE FROM crs_waiting_list " . " WHERE obj_id = " . $this->db->quote($this->getObjId( ), 'integer') . " " . " AND usr_id = " . $this->db->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilWaitingList.php
"SELECT usr_id " . "FROM crs_waiting_list " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilWaitingList.php
"SELECT usr_id, obj_id " . "FROM crs_waiting_list " . "WHERE " . $ilDB->in("obj_id", $a_obj_ids, false, "integer") . " AND " . $ilDB->in("usr_id", $a_usr_ids, false, "integer")1
  • /components/ILIAS/Membership/classes/class.ilWaitingList.php
"SELECT * FROM crs_waiting_list " . "WHERE obj_id = " . $this->db->quote($this->getObjId( ), 'integer') . " ORDER BY sub_time"1
  • /components/ILIAS/Membership/classes/class.ilWaitingList.php
"SELECT * FROM member_agreement " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilMemberAgreement.php
"SELECT * FROM member_agreement " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND accepted = 1"1
  • /components/ILIAS/Membership/classes/class.ilMemberAgreement.php
"SELECT * FROM member_agreement " . "WHERE accepted = 1"1
  • /components/ILIAS/Membership/classes/class.ilMemberAgreement.php
"SELECT accepted FROM member_agreement " . "WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilMemberAgreement.php
"SELECT usr_id FROM member_agreement " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . ' ' . "AND accepted = 1 "1
  • /components/ILIAS/Membership/classes/class.ilMemberAgreement.php
"DELETE FROM member_agreement " . "WHERE usr_id =" . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilMemberAgreement.php
"DELETE FROM member_agreement " . "WHERE obj_id =" . $ilDB->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilMemberAgreement.php
"UPDATE member_agreement SET accepted = 0 "1
  • /components/ILIAS/Membership/classes/class.ilMemberAgreement.php
"UPDATE member_agreement " . "SET accepted = 0 " . "WHERE obj_id = " . $ilDB->quote($a_container_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilMemberAgreement.php
"INSERT INTO member_agreement (usr_id,obj_id,accepted,acceptance_time) " . "VALUES( " . $this->db->quote($this->user_id, 'integer') . ", " . $this->db->quote($this->obj_id, 'integer') . ", " . $this->db->quote((int) $this->isAccepted( ), 'integer') . ", " . $this->db->quote($this->getAcceptanceTime( ), 'integer') . " " . ")"1
  • /components/ILIAS/Membership/classes/class.ilMemberAgreement.php
"DELETE FROM member_agreement " . "WHERE usr_id = " . $this->db->quote($this->user_id, 'integer') . " " . "AND obj_id = " . $this->db->quote($this->obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilMemberAgreement.php
"SELECT * FROM member_agreement " . "WHERE usr_id = " . $this->db->quote($this->user_id, 'integer') . " " . "AND obj_id = " . $this->db->quote($this->obj_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilMemberAgreement.php
'SELECT * FROM obj_user_data_hist ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilObjectCustomUserFieldHistory.php
'INSERT INTO obj_user_data_hist (obj_id, usr_id, update_user, editing_time) ' . 'VALUES( ' . $this->db->quote($this->obj_id, 'integer') . ', ' . $this->db->quote($this->user_id, 'integer') . ', ' . $this->db->quote($this->getUpdateUser( ), 'integer') . ', ' . $this->db->quote($this->getEditingTime( )->get(IL_CAL_DATETIME, '', ilTimeZone::UTC), ilDBConstants::T_TIMESTAMP) . ' ' . ')'1
  • /components/ILIAS/Membership/classes/class.ilObjectCustomUserFieldHistory.php
'DELETE FROM obj_user_data_hist ' . 'WHERE obj_id = ' . $this->db->quote($this->obj_id, 'integer') . ' ' . 'AND usr_id = ' . $this->db->quote($this->user_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilObjectCustomUserFieldHistory.php
'SELECT * FROM obj_user_data_hist ' . 'WHERE obj_id = ' . $this->db->quote($this->obj_id, 'integer') . ' ' . 'AND usr_id = ' . $this->db->quote($this->user_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilObjectCustomUserFieldHistory.php
'SELECT count(*) num FROM obj_members ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer') . ' ' . 'AND usr_id = ' . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipant.php
'UPDATE obj_members SET ' . $update_string . ' ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer') . ' ' . 'AND usr_id = ' . $ilDB->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipant.php
'DELETE from obj_members ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer') . ' ' . 'AND usr_id = ' . $ilDB->quote($a_usr_id, 'integer') . ' ' . 'AND admin = ' . $ilDB->quote(0, 'integer') . ' ' . 'AND tutor = ' . $ilDB->quote(0, 'integer') . ' ' . 'AND member = ' . $ilDB->quote(0, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipant.php
'SELECT * FROM obj_members ' . 'WHERE obj_id = ' . $ilDB->quote($a_obj_id, 'integer') . ' ' . 'AND usr_id = ' . $ilDB->quote($a_usr_id, ilDBConstants::T_INTEGER) . ' '1
  • /components/ILIAS/Membership/classes/class.ilParticipant.php
"SELECT * FROM obj_members " . "WHERE obj_id = " . $this->db->quote($this->obj_id, 'integer') . " " . 'AND usr_id = ' . $this->db->quote($this->getUserId( ), 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipant.php
"DELETE FROM obj_members " . "WHERE usr_id = " . $this->db->quote($a_usr_id, 'integer') . " " . "AND obj_id = " . $this->db->quote($this->obj_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipant.php
"DELETE FROM il_subscribers " . "WHERE usr_id = " . $this->db->quote($a_usr_id, 'integer') . " " . "AND obj_id = " . $this->db->quote($this->obj_id, 'integer') . " "1
  • /components/ILIAS/Membership/classes/class.ilParticipant.php
'UPDATE obj_members SET ' . 'contact = ' . $this->db->quote($a_contact, 'integer') . ' ' . 'WHERE obj_id = ' . $this->db->quote($this->obj_id, 'integer') . ' ' . 'AND usr_id = ' . $this->db->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipant.php
"SELECT * FROM obj_members " . "WHERE obj_id = " . $this->db->quote($this->obj_id, 'integer') . " " . "AND usr_id = " . $this->db->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipant.php
"UPDATE obj_members SET " . "notification = " . $this->db->quote((int) $a_notification, 'integer') . " " . "WHERE obj_id = " . $this->db->quote($this->obj_id, 'integer') . " " . "AND usr_id = " . $this->db->quote($a_usr_id, 'integer')1
  • /components/ILIAS/Membership/classes/class.ilParticipant.php
"INSERT INTO obj_members (notification,obj_id,usr_id,passed,blocked) " . "VALUES ( " . $this->db->quote((int) $a_notification, 'integer') . ", " . $this->db->quote($this->obj_id, 'integer') . ", " . $this->db->quote($a_usr_id, 'integer') . ", " . $this->db->quote(0, 'integer') . ", " . $this->db->quote(0, 'integer') . ") ON DUPLICATE KEY UPDATE notification = VALUES(notification)"1
  • /components/ILIAS/Membership/classes/class.ilParticipant.php
"SELECT nmode mode" . " FROM member_noti" . " WHERE ref_id = " . $this->db->quote($this->ref_id, "integer")1
  • /components/ILIAS/Membership/classes/class.ilMembershipNotifications.php
"SELECT *" . " FROM member_noti_user" . " WHERE ref_id = " . $this->db->quote($this->ref_id, "integer")1
  • /components/ILIAS/Membership/classes/class.ilMembershipNotifications.php
"DELETE FROM member_noti" . " WHERE ref_id = " . $this->db->quote($this->ref_id, "integer")1
  • /components/ILIAS/Membership/classes/class.ilMembershipNotifications.php
"DELETE FROM member_noti_user" . " WHERE ref_id = " . $this->db->quote($this->ref_id, "integer")1
  • /components/ILIAS/Membership/classes/class.ilMembershipNotifications.php
"DELETE FROM usr_pref" . " WHERE " . $this->db->like("keyword", "text", "grpcrs_ntf_" . $this->ref_id)1
  • /components/ILIAS/Membership/classes/class.ilMembershipNotifications.php
"SELECT usr_id" . " FROM usr_pref" . " WHERE keyword = " . $this->db->quote("grpcrs_ntf_" . $this->ref_id, "text") . " AND value = " . $this->db->quote(self::VALUE_ON, "text")1
  • /components/ILIAS/Membership/classes/class.ilMembershipNotifications.php
"SELECT usr_id" . " FROM usr_pref" . " WHERE keyword = " . $this->db->quote("grpcrs_ntf_" . $this->ref_id, "text") . " AND value = " . $this->db->quote(self::VALUE_OFF, "text")1
  • /components/ILIAS/Membership/classes/class.ilMembershipNotifications.php
"SELECT DISTINCT(keyword) keyword" . " FROM usr_pref" . " WHERE " . $ilDB->like("keyword", "text", "grpcrs_ntf_%") . " AND value = " . $ilDB->quote("1", "text")1
  • /components/ILIAS/Membership/classes/class.ilMembershipNotifications.php
"SELECT ref_id" . " FROM member_noti"1
  • /components/ILIAS/Membership/classes/class.ilMembershipNotifications.php
"SELECT * FROM member_noti " . " WHERE ref_id = %s "1
  • /components/ILIAS/Membership/classes/class.ilMembershipNotifications.php
"INSERT INTO help_module " . "(id) VALUES (" . $this->db->quote($id, "integer") . ")"1
  • /components/ILIAS/Help/Module/ModuleDBRepository.php
"UPDATE help_module SET " . " lm_id = " . $this->db->quote($a_lm_id, "integer") . " WHERE id = " . $this->db->quote($a_id, "integer")1
  • /components/ILIAS/Help/Module/ModuleDBRepository.php
"SELECT * FROM help_module ORDER BY order_nr ASC"1
  • /components/ILIAS/Help/Module/ModuleDBRepository.php
"SELECT * FROM help_module " . " WHERE id = " . $this->db->quote($a_id, "integer")1
  • /components/ILIAS/Help/Module/ModuleDBRepository.php
"SELECT lm_id FROM help_module " . " WHERE id = " . $this->db->quote($a_id, "integer")1
  • /components/ILIAS/Help/Module/ModuleDBRepository.php
"DELETE FROM help_module WHERE " . " id = " . $this->db->quote($id, "integer")1
  • /components/ILIAS/Help/Module/ModuleDBRepository.php
"SELECT id FROM help_module " . " WHERE lm_id = " . $this->db->quote($a_lm_id, "integer")1
  • /components/ILIAS/Help/Module/ModuleDBRepository.php
"DELETE FROM help_map WHERE " . " chap = " . $this->db->quote($a_chap, "integer") . " AND module_id = " . $this->db->quote($a_module_id, "integer")1
  • /components/ILIAS/Help/Map/MapDBRepository.php
"SELECT * FROM help_map " . " WHERE chap = " . $this->db->quote($a_chap, "integer") . " AND module_id = " . $this->db->quote($a_module_id, "integer") . " ORDER BY component, screen_id, screen_sub_id"1
  • /components/ILIAS/Help/Map/MapDBRepository.php
"SELECT chap, perm FROM help_map JOIN lm_tree" . " ON (help_map.chap = lm_tree.child) " . " WHERE full_id = " . $this->db->quote($a_screen_id, "text") . " AND module_id = " . $this->db->quote($module_id, "integer") . " ORDER BY lm_tree.lft"1
  • /components/ILIAS/Help/Map/MapDBRepository.php
"DELETE FROM help_map WHERE " . " module_id = " . $this->db->quote($a_id, "integer")1
  • /components/ILIAS/Help/Map/MapDBRepository.php
"SELECT chap, component, screen_id, screen_sub_id, perm " . " FROM help_map " . "WHERE " . $ilDB->in("chap", $a_ids, false, "integer")1
  • /components/ILIAS/Help/Export/class.ilHelpDataSet.php
"SELECT chap, component, screen_id, screen_sub_id, perm, full_id " . " FROM help_map " . "WHERE " . $ilDB->in("chap", $a_ids, false, "integer")1
  • /components/ILIAS/Help/Export/class.ilHelpDataSet.php
"SELECT id, tt_text, tt_id, comp, lang FROM help_tooltip " . " WHERE module_id = " . $ilDB->quote(0, "integer")1
  • /components/ILIAS/Help/Export/class.ilHelpDataSet.php
"SELECT tt.tt_text FROM help_tooltip tt LEFT JOIN help_module hmod " . " ON (tt.module_id = hmod.id) " . " WHERE tt.tt_id = " . $this->db->quote($a_tt_id, "text") . " AND " . $this->db->in("tt.module_id", $module_ids, false, "integer") . " ORDER BY hmod.order_nr "1
  • /components/ILIAS/Help/Tooltips/TooltipsDBRepository.php
"SELECT tt.tt_text FROM help_tooltip tt LEFT JOIN help_module hmod " . " ON (tt.module_id = hmod.id) " . " WHERE tt.tt_id = " . $this->db->quote($gen_tt_id, "text") . " AND " . $this->db->in("tt.module_id", $module_ids, false, "integer") . " ORDER BY hmod.order_nr "1
  • /components/ILIAS/Help/Tooltips/TooltipsDBRepository.php
"SELECT * FROM help_tooltip"1
  • /components/ILIAS/Help/Tooltips/TooltipsDBRepository.php
"INSERT INTO help_tooltip " . "(id, tt_text, tt_id, comp,module_id) VALUES (" . $this->db->quote($nid, "integer") . "," . $this->db->quote($a_text, "text") . "," . $this->db->quote($a_tt_id, "text") . "," . $this->db->quote($comp, "text") . "," . $this->db->quote($a_module_id, "integer") . ")"1
  • /components/ILIAS/Help/Tooltips/TooltipsDBRepository.php
"UPDATE help_tooltip SET " . " tt_text = " . $this->db->quote($a_text, "text") . ", " . " tt_id = " . $this->db->quote($a_tt_id, "text") . ", " . " comp = " . $this->db->quote($comp, "text") . " WHERE id = " . $this->db->quote($a_id, "integer")1
  • /components/ILIAS/Help/Tooltips/TooltipsDBRepository.php
"SELECT DISTINCT comp FROM help_tooltip " . " WHERE module_id = " . $this->db->quote($a_module_id, "integer") . " ORDER BY comp "1
  • /components/ILIAS/Help/Tooltips/TooltipsDBRepository.php
"DELETE FROM help_tooltip WHERE " . " id = " . $this->db->quote($a_id, "integer")1
  • /components/ILIAS/Help/Tooltips/TooltipsDBRepository.php
"DELETE FROM help_tooltip WHERE " . " module_id = " . $this->db->quote($a_id, "integer")1
  • /components/ILIAS/Help/Tooltips/TooltipsDBRepository.php
"SELECT pl.id,od.title,od.description," . "pl.question,pl.image,pl.view_results" . " FROM il_poll pl" . " JOIN object_data od ON (od.obj_id = pl.id)" . " WHERE " . $ilDB->in("pl.id", $a_ids, false, "integer") . " AND od.type = " . $ilDB->quote("poll", "text")1
  • /components/ILIAS/Poll/classes/class.ilPollDataSet.php
"SELECT pl.id,od.title,od.description" . ",pl.question,pl.image,pl.view_results,pl.show_results_as" . ",pl.max_answers,pl.result_sort,pl.non_anon,pl.period,pl.period_begin,pl.period_end" . " FROM il_poll pl" . " JOIN object_data od ON (od.obj_id = pl.id)" . " WHERE " . $ilDB->in("pl.id", $a_ids, false, "integer") . " AND od.type = " . $ilDB->quote("poll", "text")1
  • /components/ILIAS/Poll/classes/class.ilPollDataSet.php
"SELECT pl.id,od.title,od.description" . ",pl.question,pl.view_results,pl.show_results_as" . ",pl.max_answers,pl.result_sort,pl.non_anon,pl.period,pl.period_begin,pl.period_end" . " FROM il_poll pl" . " JOIN object_data od ON (od.obj_id = pl.id)" . " WHERE " . $ilDB->in("pl.id", $a_ids, false, "integer") . " AND od.type = " . $ilDB->quote("poll", "text")1
  • /components/ILIAS/Poll/classes/class.ilPollDataSet.php
"SELECT id,poll_id,answer,pos" . " FROM il_poll_answer WHERE " . $ilDB->in("poll_id", $a_ids, false, "integer")1
  • /components/ILIAS/Poll/classes/class.ilPollDataSet.php
"SELECT * FROM il_poll" . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"DELETE FROM il_poll" . " WHERE id = " . $ilDB->quote($this->id, "integer")1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"SELECT * FROM il_poll_answer" . " WHERE poll_id = " . $ilDB->quote($this->getId( ), "integer") . " ORDER BY pos ASC"1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"SELECT * FROM il_poll_answer" . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"SELECT max(pos) pos" . " FROM il_poll_answer" . " WHERE poll_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"DELETE FROM il_poll_vote" . " WHERE answer_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"DELETE FROM il_poll_answer" . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"DELETE FROM il_poll_answer" . " WHERE poll_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"DELETE FROM il_poll_vote" . " WHERE poll_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"SELECT user_id" . " FROM il_poll_vote" . " WHERE poll_id = " . $this->db->quote($this->getId( ), "integer") . " AND user_id = " . $this->db->quote($a_user_id, "integer")1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"SELECT COUNT(DISTINCT(user_id)) cnt" . " FROM il_poll_vote" . " WHERE poll_id = " . $this->db->quote($this->getId( ), "integer")1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"SELECT answer_id, count(*) cnt" . " FROM il_poll_vote" . " WHERE poll_id = " . $this->db->quote($this->getId( ), "integer") . " GROUP BY answer_id"1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"SELECT answer_id, user_id, firstname, lastname, login" . " FROM il_poll_vote" . " JOIN usr_data ON (usr_data.usr_id = il_poll_vote.user_id)" . " WHERE poll_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Poll/classes/class.ilObjPoll.php
"SELECT id, image FROM il_poll WHERE migrated = 0 LIMIT 1"1
  • /components/ILIAS/Poll/classes/Setup/class.ilPollImagesMigration.php
"SELECT * FROM il_poll_image WHERE object_id = " . $this->db->quote($id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Poll/classes/Setup/class.ilPollImagesMigration.php
"INSERT INTO il_poll_image (object_id, rid) VALUES " . " (" . $this->db->quote($id, ilDBConstants::T_INTEGER) . ", " . $this->db->quote($rid->serialize( ), ilDBConstants::T_TEXT) . ")"1
  • /components/ILIAS/Poll/classes/Setup/class.ilPollImagesMigration.php
'SELECT COUNT(*) AS count FROM il_poll WHERE migrated = 0'1
  • /components/ILIAS/Poll/classes/Setup/class.ilPollImagesMigration.php
"INSERT INTO " . $this->db->quoteIdentifier(self::TABLE_NAME) . " VALUES (" . $this->db->quote($key->getObjectId( )->toInt( ), ilDBConstants::T_INTEGER) . ", " . $this->db->quote($values->getResourceIdSerialized( ), ilDBConstants::T_TEXT) . ") ON DUPLICATE KEY UPDATE" . " object_id = " . $this->db->quote($key->getObjectId( )->toInt( ), ilDBConstants::T_INTEGER) . ", rid = " . $this->db->quote($values->getResourceIdSerialized( ), ilDBConstants::T_TEXT)1
  • /components/ILIAS/Poll/classes/Image/Repository/Wrapper/DB/Handler.php
"SELECT * FROM " . $this->db->quoteIdentifier(self::TABLE_NAME) . " WHERE object_id = " . $this->db->quote($key->getObjectId( )->toInt( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Poll/classes/Image/Repository/Wrapper/DB/Handler.php
"DELETE FROM " . $this->db->quoteIdentifier(self::TABLE_NAME) . " WHERE object_id = " . $this->db->quote($key->getObjectId( )->toInt( ), ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Poll/classes/Image/Repository/Wrapper/DB/Handler.php
'SELECT * FROM cron_job'1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'SELECT job_id FROM cron_job WHERE component = ' . $this->db->quote($a_component, 'text')1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'DELETE FROM cron_job' . ' WHERE component = ' . $this->db->quote($a_component, 'text') . ' AND job_id = ' . $this->db->quote($job_id, 'text')1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'DELETE FROM cron_job WHERE component = ' . $this->db->quote($a_component, 'text')1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'SELECT job_id, schedule_type, component, class, path FROM cron_job' . ' WHERE job_id = ' . $this->db->quote($job->getId( ), 'text')1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'UPDATE cron_job SET component = %s, class = %s, path = %s WHERE job_id = %s'1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'INSERT INTO cron_job (job_id, component, class, path)' . ' VALUES (' . $this->db->quote($job->getId( ), 'text') . ', ' . $this->db->quote($component, 'text') . ', ' . $this->db->quote($class, 'text') . ', ' . $this->db->quote($path, 'text') . ')'1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'UPDATE cron_job' . ' SET running_ts = ' . $this->db->quote(0, 'integer') . ' , alive_ts = ' . $this->db->quote(0, 'integer') . ' , job_result_ts = ' . $this->db->quote(0, 'integer') . ' WHERE job_id = ' . $this->db->quote($job->getId( ), 'text')1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'UPDATE cron_job SET ' . ' job_result_status = ' . $this->db->quote($result->getStatus( ), 'integer') . ' , job_result_user_id = ' . $this->db->quote($user_id, 'integer') . ' , job_result_code = ' . $this->db->quote($result->getCode( ), 'text') . ' , job_result_message = ' . $this->db->quote($result->getMessage( ), 'text') . ' , job_result_type = ' . $this->db->quote((int) $wasManualExecution, 'integer') . ' , job_result_ts = ' . $this->db->quote($when->getTimestamp( ), 'integer') . ' , job_result_dur = ' . $this->db->quote($result->getDuration( ) * 1000, 'integer') . ' WHERE job_id = ' . $this->db->quote($job->getId( ), 'text')1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'UPDATE cron_job SET' . ' running_ts = ' . $this->db->quote($runningTimestamp, 'integer') . ' , alive_ts = ' . $this->db->quote($aliveTimestamp, 'integer') . ' WHERE job_id = ' . $this->db->quote($jobId, 'text')1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'UPDATE cron_job SET ' . ' schedule_type = ' . $this->db->quote($scheduleType?->value, 'integer') . ' , schedule_value = ' . $this->db->quote($scheduleValue, 'integer') . ' WHERE job_id = ' . $this->db->quote($job->getId( ), 'text')1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'UPDATE cron_job SET ' . ' job_status = ' . $this->db->quote(1, 'integer') . ' , job_status_user_id = ' . $this->db->quote($usrId, 'integer') . ' , job_status_type = ' . $this->db->quote($wasManuallyExecuted, 'integer') . ' , job_status_ts = ' . $this->db->quote($when->getTimestamp( ), 'integer') . ' WHERE job_id = ' . $this->db->quote($job->getId( ), 'text')1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'UPDATE cron_job SET ' . ' job_status = ' . $this->db->quote(0, 'integer') . ' , job_result_status = ' . $this->db->quote(null, 'text') . ' , job_result_message = ' . $this->db->quote(null, 'text') . ' , job_result_type = ' . $this->db->quote(null, 'text') . ' , job_result_code = ' . $this->db->quote(null, 'text') . ' , job_status_user_id = ' . $this->db->quote($usrId, 'integer') . ' , job_status_type = ' . $this->db->quote($wasManuallyExecuted, 'integer') . ' , job_status_ts = ' . $this->db->quote($when->getTimestamp( ), 'integer') . ' WHERE job_id = ' . $this->db->quote($job->getId( ), 'text')1
  • /components/ILIAS/Cron/src/Job/Repository/JobRepositoryImpl.php
'UPDATE cron_job SET alive_ts = %s WHERE job_id = %s'1
  • /components/ILIAS/Cron/src/Job/Manager/JobManagerImpl.php
"SELECT owner_id, title FROM " . self::COLLECTION_TABLE_NAME . " WHERE " . self::C_IDENTIFICATION . " = %s"1
  • /components/ILIAS/ResourceStorage/classes/CollectionDBRepository.php
"SELECT " . self::C_IDENTIFICATION . " FROM " . self::COLLECTION_TABLE_NAME . " WHERE " . self::C_IDENTIFICATION . " = %s"1
  • /components/ILIAS/ResourceStorage/classes/CollectionDBRepository.php
"SELECT " . self::R_IDENTIFICATION . " FROM " . self::COLLECTION_ASSIGNMENT_TABLE_NAME . " WHERE " . self::C_IDENTIFICATION . " = %s ORDER BY position ASC"1
  • /components/ILIAS/ResourceStorage/classes/CollectionDBRepository.php
"DELETE FROM " . self::COLLECTION_ASSIGNMENT_TABLE_NAME . " WHERE " . self::C_IDENTIFICATION . " = %s AND " . $this->db->in(self::R_IDENTIFICATION, $resource_identification_strings, true, 'text')1
  • /components/ILIAS/ResourceStorage/classes/CollectionDBRepository.php
"DELETE FROM " . self::COLLECTION_ASSIGNMENT_TABLE_NAME . " WHERE " . self::R_IDENTIFICATION . " = %s"1
  • /components/ILIAS/ResourceStorage/classes/CollectionDBRepository.php
"DELETE FROM " . self::COLLECTION_TABLE_NAME . " WHERE " . self::C_IDENTIFICATION . " = %s"1
  • /components/ILIAS/ResourceStorage/classes/CollectionDBRepository.php
"DELETE FROM " . self::TABLE_NAME . " WHERE " . self::F_RESOURCE_ID . " = %s AND " . self::F_REVISION . " = %s AND " . self::F_DEFINITION . " = %s AND (" . self::F_VARIANT . " = %s OR " . self::F_VARIANT . " IS NULL)"1
  • /components/ILIAS/ResourceStorage/classes/FlavourDBRepository.php
"SELECT * FROM " . self::TABLE_NAME . " WHERE " . self::F_RESOURCE_ID . " = %s AND " . self::F_REVISION . " = %s AND " . self::F_DEFINITION . " = %s AND (" . self::F_VARIANT . " = %s OR " . self::F_VARIANT . " IS NULL)"1
  • /components/ILIAS/ResourceStorage/classes/FlavourDBRepository.php
"SELECT " . self::IDENTIFICATION . " FROM " . self::TABLE_NAME . " WHERE " . self::IDENTIFICATION . " = %s AND stakeholder_id = %s"1
  • /components/ILIAS/ResourceStorage/classes/StakeholderDBRepository.php
"SELECT id FROM " . self::TABLE_NAME_REL . " WHERE id = %s"1
  • /components/ILIAS/ResourceStorage/classes/StakeholderDBRepository.php
"DELETE FROM " . self::TABLE_NAME . " WHERE " . self::IDENTIFICATION . " = %s AND stakeholder_id = %s"1
  • /components/ILIAS/ResourceStorage/classes/StakeholderDBRepository.php
"SELECT class_name, stakeholder_id FROM " . self::TABLE_NAME . " JOIN " . self::TABLE_NAME_REL . " ON stakeholder_id = id WHERE " . self::IDENTIFICATION . " = %s"1
  • /components/ILIAS/ResourceStorage/classes/StakeholderDBRepository.php
"SELECT rid, class_name, stakeholder_id FROM " . self::TABLE_NAME . " JOIN " . self::TABLE_NAME_REL . " ON stakeholder_id = id WHERE " . $this->db->in(self::IDENTIFICATION, $identification_strings, false, 'text')1
  • /components/ILIAS/ResourceStorage/classes/StakeholderDBRepository.php
"SELECT * FROM " . self::TABLE_NAME . " WHERE " . self::IDENTIFICATION . " = %s AND version_number = %s"1
  • /components/ILIAS/ResourceStorage/classes/InformationDBRepository.php
"SELECT " . self::IDENTIFICATION . ", storage_id, rtype FROM " . self::TABLE_NAME . " WHERE " . self::IDENTIFICATION . " = %s"1
  • /components/ILIAS/ResourceStorage/classes/ResourceDBRepository.php
"SELECT " . self::IDENTIFICATION . " FROM " . self::TABLE_NAME . " WHERE " . self::IDENTIFICATION . " = %s"1
  • /components/ILIAS/ResourceStorage/classes/ResourceDBRepository.php
"DELETE FROM " . self::TABLE_NAME . " WHERE " . self::IDENTIFICATION . " = %s"1
  • /components/ILIAS/ResourceStorage/classes/ResourceDBRepository.php
"SELECT rid, storage_id, rtype FROM " . self::TABLE_NAME . " WHERE " . $this->db->in(self::IDENTIFICATION, $identification_strings, false, 'text')1
  • /components/ILIAS/ResourceStorage/classes/ResourceDBRepository.php
"SELECT *, il_resource_revision.title AS revision_title FROM il_resource_revision JOIN il_resource_info ON il_resource_revision.rid = il_resource_info.rid AND il_resource_info.version_number = il_resource_revision.version_number JOIN il_resource ON il_resource_revision.rid = il_resource.rid JOIN il_resource_stkh_u ON il_resource_stkh_u.rid = il_resource.rid JOIN il_resource_stkh ON il_resource_stkh_u.stakeholder_id = il_resource_stkh.id WHERE " . $this->db->in('il_resource_revision.rid', $requested, false, 'text')1
  • /components/ILIAS/ResourceStorage/classes/DBRepositoryPreloader.php
"SELECT * FROM " . self::TABLE_NAME . " WHERE " . self::IDENTIFICATION . " = %s"1
  • /components/ILIAS/ResourceStorage/classes/RevisionDBRepository.php
'SELECT DISTINCT * FROM il_resource_stkh'1
  • /components/ILIAS/ResourceStorage/classes/Resources/DataSource/AllResourcesDataSource.php
"SELECT COUNT(il_resource_revision.rid) AS cnt"1
  • /components/ILIAS/ResourceStorage/classes/Resources/DataSource/AllResourcesDataSource.php
"SELECT il_resource_revision.rid , MAX(il_resource_revision.version_number) AS max_revision , il_resource_revision.title AS revision_title , il_resource_info.title AS file_title , il_resource_info.size AS file_size , il_resource_info.creation_date AS creation_date , il_resource_stkh_u.stakeholder_id AS stakeholder"1
  • /components/ILIAS/ResourceStorage/classes/Resources/DataSource/AllResourcesDataSource.php
"INSERT INTO il_resource_stkh (id, class_name) SELECT DISTINCT stakeholder_id, stakeholder_class FROM il_resource_stkh_u;"1
  • /components/ILIAS/ResourceStorage/classes/Setup/DB/class.ilResourceStorageDB80.php
"UPDATE il_resource_info JOIN il_resource_revision ON il_resource_info.internal = il_resource_revision.internal SET il_resource_info.version_number = il_resource_revision.version_number "1
  • /components/ILIAS/ResourceStorage/classes/Setup/DB/class.ilResourceStorageDB80.php
"UPDATE il_resource SET storage_id = %s WHERE rid = %s LIMIT 1"1
  • /components/ILIAS/ResourceStorage/src/StorageHandler/Migrator.php
'UPDATE sahs_user SET total_time_sec = %s, last_visited = %s, hash_end =%s, last_access = %s WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
'SELECT cmi_node_id FROM cmi_node WHERE cp_node_id = %s and user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
'DELETE FROM cmi_comment WHERE cmi_node_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
' DELETE cmir FROM cmi_correct_response cmir INNER JOIN cmi_interaction cmii ON cmii.cmi_interaction_id = cmir.cmi_interaction_id WHERE cmii.cmi_node_id = %s '1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
'DELETE FROM cmi_interaction WHERE cmi_node_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
'DELETE FROM cmi_objective WHERE cmi_node_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
' SELECT user_id FROM cmi_gobjective WHERE objective_id =%s AND user_id = %s AND scope_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
' INSERT INTO cmi_gobjective (user_id, status, scope_id, measure, satisfied, objective_id) VALUES (%s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
' UPDATE cmi_gobjective SET status = %s, measure = %s, satisfied = %s WHERE objective_id = %s AND user_id = %s AND scope_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
"SELECT global_to_system FROM cp_package WHERE obj_id = %s"1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
"SELECT objective_id FROM cmi_gobjective WHERE user_id = %s AND scope_id = %s AND objective_id IN ($existing_key_template)"1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
"UPDATE cmi_gobjective SET satisfied=%s, measure=%s, score_raw=%s, score_min=%s, score_max=%s, completion_status=%s, progress_measure=%s WHERE objective_id = %s AND user_id = %s AND scope_id = %s"1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
"INSERT INTO cmi_gobjective (user_id, satisfied, measure, scope_id, status, objective_id, score_raw, score_min, score_max, progress_measure, completion_status) VALUES(%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)"1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
'UPDATE sahs_user SET sco_total_time_sec=%s, status=%s, percentage_completed=%s WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
' SELECT MAX(c_timestamp) last_access FROM cmi_node, cp_node WHERE cmi_node.cp_node_id = cp_node.cp_node_id AND cp_node.slm_id = %s AND user_id = %s GROUP BY c_timestamp'1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
' SELECT DISTINCT cmi_node.cp_node_id id FROM cp_node, cmi_node WHERE slm_id = %s AND cp_node.cp_node_id = cmi_node.cp_node_id ORDER BY cmi_node.cp_node_id '1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
' SELECT c_timestamp last_access, total_time, success_status, completion_status, c_raw, scaled, cp_node_id FROM cmi_node WHERE cp_node_id = %s AND user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
'SELECT package_attempts FROM sahs_user WHERE user_id = %s AND obj_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
'SELECT module_version FROM sahs_user WHERE user_id = %s AND obj_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
' SELECT completion_status, success_status, user_id FROM cmi_node WHERE cp_node_id = %s AND user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
'INSERT INTO cmi_node (cp_node_id,user_id,completion_status,c_timestamp,cmi_node_id) VALUES(%s,%s,%s,%s,%s)'1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
' SELECT distinct(cp_node.cp_node_id) FROM cp_node,cp_resource,cp_item WHERE cp_item.cp_node_id = cp_node.cp_node_id AND cp_item.resourceid = cp_resource.id AND scormtype = %s AND nodename = %s AND cp_node.slm_id = %s '1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
' SELECT cp_node.cp_node_id FROM cp_node,cp_resource,cp_item WHERE cp_item.cp_node_id = cp_node.cp_node_id AND cp_item.resourceid = cp_resource.id AND scormtype = %s AND nodename = %s AND cp_node.slm_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
' SELECT * FROM cmi_node WHERE (user_id= %s AND cp_node_id= %s AND (completion_status = %s OR success_status = %s))'1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
"SELECT cp_node.cp_node_id FROM cp_node,cp_resource,cp_item WHERE" . " cp_item.cp_node_id=cp_node.cp_node_id AND cp_item.resourceId = cp_resource.id AND scormType='sco' AND nodeName='item' AND cp_node.slm_id = %s GROUP BY cp_node.cp_node_id"1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
"SELECT scaled FROM cmi_node WHERE (user_id = %s AND cp_node_id = %s)"1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
' SELECT cp_item.* FROM cp_node, cp_item WHERE slm_id = %s AND cp_node.cp_node_id = cp_item.cp_node_id ORDER BY cp_node.cp_node_id '1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
' SELECT cp_resource.* FROM cp_node, cp_resource WHERE slm_id = %s AND cp_node.cp_node_id = cp_resource.cp_node_id AND cp_resource.id = %s '1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
' SELECT * FROM cp_item WHERE cp_node_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
'SELECT cp_node.cp_node_id ' . 'FROM cp_node, cp_resource, cp_item ' . 'WHERE cp_item.cp_node_id = cp_node.cp_node_id ' . 'AND cp_item.resourceId = cp_resource.id ' . 'AND scormType = ' . $ilDB->quote('sco', 'text') . ' ' . 'AND nodeName = ' . $ilDB->quote('item', 'text') . ' ' . 'AND cp_node.slm_id = ' . $ilDB->quote($a_id, 'integer') . ' ' . 'GROUP BY cp_node.cp_node_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
'SELECT c_max FROM cmi_node WHERE (user_id = %s AND cp_node_id = %s)'1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
"SELECT c_raw, c_max, scaled FROM cmi_node WHERE (user_id = %s AND cp_node_id = %s)"1
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
'SELECT * FROM cp_package WHERE obj_id = %s'1
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'SELECT * FROM cp_package WHERE obj_id = %s AND c_identifier = %s'1
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'UPDATE cp_package ' . 'SET persistprevattempts = %s, c_settings = %s ' . 'WHERE obj_id = %s AND c_identifier= %s'1
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'INSERT INTO cp_package (obj_id, c_identifier, persistprevattempts, c_settings) ' . 'VALUES (%s, %s, %s, %s)'1
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'INSERT INTO cp_node (cp_node_id, slm_id, nodename) ' . 'VALUES (%s, %s, %s)'1
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'INSERT INTO cp_tree (child, depth, lft, obj_id, parent, rgt) ' . 'VALUES (%s, %s, %s, %s, %s, %s)'1
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'UPDATE cp_tree SET rgt = %s WHERE child = %s'1
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'SELECT cp_node.cp_node_id FROM cp_node WHERE cp_node.slm_id = %s'1
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'DELETE FROM ' . strtolower($t) . ' WHERE ' . $in1
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'DELETE FROM cp_tree WHERE cp_tree.obj_id = %s'1
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'DELETE FROM cp_node WHERE cp_node.slm_id = %s'1
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'DELETE FROM cp_package WHERE cp_package.obj_id = %s'1
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'SELECT cp_item.cp_node_id, cp_item.title ' . 'FROM cp_item, cmi_node, cp_node ' . 'WHERE cp_node.slm_id = %s ' . 'AND cp_item.cp_node_id = cmi_node.cp_node_id ' . 'AND cp_node.cp_node_id = cmi_node.cp_node_id ' . 'GROUP BY cp_item.cp_node_id, cp_item.title'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT cmi_node.user_id, cmi_node.cp_node_id, cmi_interaction.cmi_interaction_id, cmi_interaction.id, cmi_interaction.description, cmi_interaction.weighting, cmi_interaction.c_type, cmi_interaction.result, cmi_interaction.latency, cmi_interaction.c_timestamp, cmi_interaction.learner_response, cmi_interaction.cmi_interaction_id, cmi_interaction.cmi_node_id FROM cmi_interaction, cmi_node WHERE ' . $ilDB->in('cp_node_id', $a_sco, false, 'integer') . ' AND ' . $ilDB->in('cmi_node.user_id', $a_user, false, 'integer') . ' AND cmi_node.cmi_node_id = cmi_interaction.cmi_node_id ORDER BY '1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT cmi_node.user_id, cmi_node.cp_node_id, cmi_objective.cmi_objective_id, cmi_objective.id, cmi_objective.description, cmi_objective.completion_status, cmi_objective.progress_measure, cmi_objective.success_status, cmi_objective.scaled, cmi_objective.c_max, cmi_objective.c_min, cmi_objective.c_raw, cmi_objective.scope FROM cmi_objective, cmi_node WHERE ' . $ilDB->in('cp_node_id', $a_sco, false, 'integer') . ' AND ' . $ilDB->in('cmi_node.user_id', $a_user, false, 'integer') . ' AND cmi_node.cmi_node_id = cmi_objective.cmi_node_id AND cmi_interaction_id is null ORDER BY '1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT user_id, scope_id, status, satisfied, measure, score_raw as c_raw, score_min as c_min, score_max as c_max, completion_status, progress_measure FROM cmi_gobjective WHERE scope_id = %s AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ORDER BY user_id, scope_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT cmi_node.cp_node_id, cmi_interaction.id, count(*) as counter FROM cmi_interaction, cmi_node WHERE ' . $ilDB->in('cp_node_id', $a_sco, false, 'integer') . ' AND ' . $ilDB->in('cmi_node.user_id', $a_user, false, 'integer') . ' AND cmi_node.cmi_node_id = cmi_interaction.cmi_node_id AND cmi_interaction.result = %s GROUP BY cmi_node.cp_node_id,cmi_interaction.id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT cmi_node.cp_node_id, cmi_interaction.id, cmi_interaction.description, count(*) as counter_all FROM cmi_interaction, cmi_node WHERE ' . $ilDB->in('cp_node_id', $a_sco, false, 'integer') . ' AND ' . $ilDB->in('cmi_node.user_id', $a_user, false, 'integer') . ' AND cmi_node.cmi_node_id = cmi_interaction.cmi_node_id GROUP BY cmi_node.cp_node_id,cmi_interaction.id,cmi_interaction.description'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT cmi_node.user_id, cmi_node.cp_node_id, count(*) as counter FROM cmi_interaction, cmi_node WHERE ' . $ilDB->in('cp_node_id', $a_sco, false, 'integer') . ' AND ' . $ilDB->in('cmi_node.user_id', $a_user, false, 'integer') . ' AND cmi_node.cmi_node_id = cmi_interaction.cmi_node_id AND cmi_interaction.result = %s GROUP BY cmi_node.user_id,cmi_node.cp_node_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT cmi_node.user_id, cmi_node.cp_node_id, count(*) as counter FROM cmi_interaction, cmi_node WHERE ' . $ilDB->in('cp_node_id', $a_sco, false, 'integer') . ' AND ' . $ilDB->in('cmi_node.user_id', $a_user, false, 'integer') . ' AND cmi_node.cmi_node_id = cmi_interaction.cmi_node_id AND cmi_interaction.result <> %s AND cmi_interaction.result <> %s GROUP BY cmi_node.user_id,cmi_node.cp_node_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT cmi_node.cp_node_id, cmi_interaction.cmi_interaction_id, cmi_interaction.id, cmi_interaction.description FROM cmi_interaction, cmi_node WHERE ' . $ilDB->in('cp_node_id', $a_sco, false, 'integer') . ' AND ' . $ilDB->in('cmi_node.user_id', $a_user, false, 'integer') . ' AND cmi_node.cmi_node_id = cmi_interaction.cmi_node_id ORDER BY '1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT cmi_node.user_id, cmi_node.cp_node_id, cmi_interaction.cmi_interaction_id, cmi_interaction.id, cmi_interaction.result, cmi_interaction.description FROM cmi_interaction, cmi_node WHERE ' . $ilDB->in('cp_node_id', $a_sco, false, 'integer') . ' AND ' . $ilDB->in('cmi_node.user_id', $a_user, false, 'integer') . ' AND cmi_node.cmi_node_id = cmi_interaction.cmi_node_id ORDER BY '1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT user_id, cp_node_id ' . 'FROM cmi_node ' . 'WHERE ' . $ilDB->in('cp_node_id', $a_sco, false, 'integer') . ' ' . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'ORDER BY '1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT count(distinct(cp_node.cp_node_id)) counter ' . 'FROM cp_node, cp_resource, cp_item ' . 'WHERE cp_item.cp_node_id = cp_node.cp_node_id ' . 'AND cp_item.resourceid = cp_resource.id AND scormtype = %s ' . 'AND nodename = %s AND cp_node.slm_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT user_id, count(*) counter ' . 'FROM cmi_node, cp_node ' . 'WHERE cmi_node.cp_node_id = cp_node.cp_node_id ' . 'AND cp_node.slm_id = %s ' . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'GROUP BY user_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT user_id, count(*) counter ' . 'FROM cmi_node, cp_node ' . 'WHERE cmi_node.cp_node_id = cp_node.cp_node_id ' . 'AND cp_node.slm_id = %s ' . "AND cmi_node.completion_status = 'completed' " . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'GROUP BY user_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT user_id, count(*) counter ' . 'FROM cmi_node, cp_node ' . 'WHERE cmi_node.cp_node_id = cp_node.cp_node_id ' . 'AND cp_node.slm_id = %s ' . "AND cmi_node.success_status = 'passed' " . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'GROUP BY user_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
' SELECT cmi_node.user_id user_id, COUNT(user_id) completed FROM cp_node, cmi_node WHERE ' . $in . $omit_failed . ' AND cp_node.cp_node_id = cmi_node.cp_node_id AND cp_node.slm_id = %s AND completion_status = %s GROUP BY cmi_node.user_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004Tracking.php
' SELECT user_id, status, satisfied FROM cmi_gobjective WHERE objective_id = %s AND scope_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004Tracking.php
' SELECT status, satisfied FROM cmi_gobjective WHERE objective_id = %s AND scope_id = %s AND user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004Tracking.php
' SELECT DISTINCT user_id FROM cmi_gobjective WHERE objective_id = %s AND scope_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004Tracking.php
'SELECT cp_node.cp_node_id id, cmi_node.user_id user_id, cmi_node.completion_status completion, cmi_node.success_status success FROM cp_node, cmi_node WHERE ' . $in . ' AND cp_node.cp_node_id = cmi_node.cp_node_id AND cp_node.slm_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004Tracking.php
'SELECT time_from_lms FROM sahs_lm WHERE id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004Tracking.php
' SELECT package_attempts, sco_total_time_sec, total_time_sec FROM sahs_user WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004Tracking.php
' SELECT total_time FROM cmi_node WHERE cp_node_id = %s AND user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004Tracking.php
'UPDATE sahs_user SET sco_total_time_sec=%s WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004Tracking.php
'SELECT activitytree FROM cp_package WHERE obj_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'DELETE FROM cp_suspend WHERE obj_id = %s AND user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT objective_id, scope_id, satisfied, measure, user_id, score_min, score_max, score_raw, completion_status, progress_measure ' . 'FROM cmi_gobjective, cp_node, cp_mapinfo ' . 'WHERE (cmi_gobjective.objective_id <> %s AND cmi_gobjective.status IS NULL ' . 'AND cp_node.slm_id = %s AND cp_node.nodename = %s ' . 'AND cp_node.cp_node_id = cp_mapinfo.cp_node_id ' . 'AND cmi_gobjective.objective_id = cp_mapinfo.targetobjectiveid) ' . 'GROUP BY objective_id, scope_id, satisfied, measure, user_id, score_min, score_max, score_raw, completion_status, progress_measure'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT target_id, read_shared_data, write_shared_data ' . 'FROM cp_datamap ' . 'WHERE slm_id = %s ' . 'AND sco_node_id = %s ' . 'GROUP BY target_id, read_shared_data, write_shared_data'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT target_id, store ' . 'FROM adl_shared_data ' . 'WHERE user_id = %s ' . 'AND slm_id = %s ' . 'AND target_id IN (' . $paramTemplate . ')'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT dm.target_id, sd.store ' . 'FROM cp_datamap dm ' . 'LEFT JOIN adl_shared_data sd ' . 'ON(dm.slm_id = sd.slm_id AND dm.target_id = sd.target_id) ' . 'WHERE sco_node_id = %s ' . 'AND dm.slm_id = %s ' . 'AND write_shared_data = 1 ' . 'AND user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'UPDATE adl_shared_data ' . 'SET store = %s ' . 'WHERE user_id = %s ' . 'AND target_id = %s ' . 'AND slm_id = %s '1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT write_shared_data, cp_node_id ' . 'FROM cp_datamap ' . 'WHERE target_id = %s ' . 'AND slm_id = %s ' . 'AND sco_node_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'INSERT INTO adl_shared_data (slm_id, user_id, target_id, store, cp_node_id) VALUES (%s, %s, %s, %s, %s)'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT cmi_node.* FROM cmi_node INNER JOIN cp_node ON cmi_node.cp_node_id = cp_node.cp_node_id WHERE cmi_node.user_id = %s AND cp_node.slm_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT cmi_comment.cmi_comment_id, cmi_comment.cmi_node_id, cmi_comment.c_comment, cmi_comment.c_timestamp, cmi_comment.location, cmi_comment.sourceislms FROM cmi_comment INNER JOIN cmi_node ON cmi_node.cmi_node_id = cmi_comment.cmi_node_id INNER JOIN cp_node ON cp_node.cp_node_id = cmi_node.cp_node_id WHERE cmi_node.user_id = %s AND cp_node.slm_id = %s ORDER BY cmi_comment.cmi_comment_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT cmi_correct_response.* FROM cmi_correct_response INNER JOIN cmi_interaction ON cmi_interaction.cmi_interaction_id = cmi_correct_response.cmi_interaction_id INNER JOIN cmi_node ON cmi_node.cmi_node_id = cmi_interaction.cmi_node_id INNER JOIN cp_node ON cp_node.cp_node_id = cmi_node.cp_node_id WHERE cmi_node.user_id = %s AND cp_node.slm_id = %s ORDER BY cmi_correct_response.cmi_correct_resp_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT cmi_interaction.cmi_interaction_id, cmi_interaction.cmi_node_id, cmi_interaction.description, cmi_interaction.id, cmi_interaction.latency, cmi_interaction.learner_response, cmi_interaction.result, cmi_interaction.c_timestamp, cmi_interaction.c_type, cmi_interaction.weighting FROM cmi_interaction INNER JOIN cmi_node ON cmi_node.cmi_node_id = cmi_interaction.cmi_node_id INNER JOIN cp_node ON cp_node.cp_node_id = cmi_node.cp_node_id WHERE cmi_node.user_id = %s AND cp_node.slm_id = %s ORDER BY cmi_interaction.cmi_interaction_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT cmi_objective.cmi_interaction_id, cmi_objective.cmi_node_id, cmi_objective.cmi_objective_id, cmi_objective.completion_status, cmi_objective.description, cmi_objective.id, cmi_objective.c_max, cmi_objective.c_min, cmi_objective.c_raw, cmi_objective.scaled, cmi_objective.progress_measure, cmi_objective.success_status, cmi_objective.scope FROM cmi_objective INNER JOIN cmi_node ON cmi_node.cmi_node_id = cmi_objective.cmi_node_id INNER JOIN cp_node ON cp_node.cp_node_id = cmi_node.cp_node_id WHERE cmi_node.user_id = %s AND cp_node.slm_id = %s ORDER BY cmi_objective.cmi_objective_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT usr_data.usr_id user_id, CONCAT(CONCAT(COALESCE(usr_data.firstname, \'\'), \' \'), COALESCE(usr_data.lastname, \'\')) learner_name, sahs_lm.id slm_id , sahs_lm.default_lesson_mode "mode", sahs_lm.credit FROM usr_data, cp_package INNER JOIN sahs_lm ON cp_package.obj_id = sahs_lm.id WHERE usr_data.usr_id = %s AND sahs_lm.id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT module_version FROM sahs_lm WHERE id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'SELECT shared_data_global_to_system FROM cp_package WHERE obj_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'DELETE FROM adl_shared_data WHERE slm_id = %s AND user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
' SELECT ' . $fieldList . ' FROM cmi_node,cp_node,cp_item WHERE cp_node.slm_id = %s AND cp_node.cp_node_id = cp_item.cp_node_id AND cp_item.id = %s AND cmi_node.cp_node_id = cp_item.cp_node_id AND cmi_node.user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
' SELECT cmi_node.cmi_node_id FROM cmi_node, cp_node WHERE cp_node.slm_id = %s AND cmi_node.cp_node_id = cp_node.cp_node_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_custom WHERE obj_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_gobjective WHERE scope_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_gobjective WHERE scope_id = %s AND objective_id in (' . $s_globalObjectiveId . ')'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
' SELECT cmi_node.cmi_node_id FROM cmi_node, cp_node WHERE cmi_node.user_id = %s AND cmi_node.cp_node_id = cp_node.cp_node_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_custom WHERE user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_gobjective WHERE user_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
' SELECT cmi_node.cmi_node_id FROM cmi_node, cp_node WHERE cmi_node.user_id = %s AND cmi_node.cp_node_id = cp_node.cp_node_id AND cp_node.slm_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_custom WHERE user_id = %s AND obj_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM sahs_user WHERE user_id = %s AND obj_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_gobjective WHERE user_id = %s AND scope_id = %s'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_gobjective WHERE user_id = %s AND scope_id = %s AND objective_id in (' . $s_globalObjectiveId . ')'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'SELECT cmi_interaction_id FROM cmi_interaction WHERE ' . $ilDB->in('cmi_interaction.cmi_node_id', $cmi_node_values, false, 'integer')1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_correct_response WHERE ' . $ilDB->in('cmi_correct_response.cmi_interaction_id', $cmi_inode_values, false, 'integer')1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_objective WHERE ' . $ilDB->in('cmi_objective.cmi_interaction_id', $cmi_inode_values, false, 'integer')1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_objective WHERE ' . $ilDB->in('cmi_objective.cmi_node_id', $cmi_node_values, false, 'integer')1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_interaction WHERE ' . $ilDB->in('cmi_interaction.cmi_node_id', $cmi_node_values, false, 'integer')1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_comment WHERE ' . $ilDB->in('cmi_comment.cmi_node_id', $cmi_node_values, false, 'integer')1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'DELETE FROM cmi_node WHERE ' . $ilDB->in('cmi_node.cmi_node_id', $cmi_node_values, false, 'integer')1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
' SELECT targetobjectiveid FROM cp_mapinfo, cp_node WHERE cp_node.slm_id = %s AND cp_node.nodename = %s AND cp_mapinfo.cp_node_id = cp_node.cp_node_id'1
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'SELECT default_lesson_mode, interactions, objectives, time_from_lms, comments FROM sahs_lm WHERE id = %s'1
  • /components/ILIAS/Scorm2004/resources/storeScorm2004.php
"INSERT INTO il_custom_block (" . " id" . ", context_obj_id" . ", context_obj_type" . ", context_sub_obj_id" . ", context_sub_obj_type" . ", type" . ", title" . " ) VALUES (" . $ilDB->quote($this->getId( ), "integer") . "," . $ilDB->quote($this->getContextObjId( ), "integer") . "," . $ilDB->quote($this->getContextObjType( ), "text") . "," . $ilDB->quote($this->getContextSubObjId( ), "integer") . "," . $ilDB->quote($this->getContextSubObjType( ), "text") . "," . $ilDB->quote($this->getType( ), "text") . "," . $ilDB->quote($this->getTitle( ), "text") . ")"1
  • /components/ILIAS/Block/classes/class.ilCustomBlock.php
"SELECT * FROM il_custom_block WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Block/classes/class.ilCustomBlock.php
"UPDATE il_custom_block SET " . " context_obj_id = " . $ilDB->quote($this->getContextObjId( ), "integer") . ", context_obj_type = " . $ilDB->quote($this->getContextObjType( ), "text") . ", context_sub_obj_id = " . $ilDB->quote($this->getContextSubObjId( ), "integer") . ", context_sub_obj_type = " . $ilDB->quote($this->getContextSubObjType( ), "text") . ", type = " . $ilDB->quote($this->getType( ), "text") . ", title = " . $ilDB->quote($this->getTitle( ), "text") . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Block/classes/class.ilCustomBlock.php
"DELETE FROM il_custom_block" . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Block/classes/class.ilCustomBlock.php
"SELECT id, context_obj_id, context_obj_type, context_sub_obj_id, context_sub_obj_type, type, title " . "FROM il_custom_block " . "WHERE " . "context_obj_id = " . $ilDB->quote($this->getContextObjId( ), "integer") . " AND context_obj_type = " . $ilDB->quote($this->getContextObjType( ), "text")1
  • /components/ILIAS/Block/classes/class.ilCustomBlock.php
"SELECT count(*) as cnt " . "FROM il_custom_block " . "WHERE " . "context_obj_id = " . $ilDB->quote($this->getContextObjId( ), "integer") . " AND context_obj_type = " . $ilDB->quote($this->getContextObjType( ), "text") . " AND context_sub_obj_id = " . $ilDB->quote($this->getContextSubObjId( ), "integer") . " AND " . $ilDB->equals("context_sub_obj_type", $this->getContextSubObjType( ), "text", true) . " AND type = " . $ilDB->quote($this->getType( ), "text")1
  • /components/ILIAS/Block/classes/class.ilCustomBlock.php
"SELECT id, context_obj_id, context_obj_type, context_sub_obj_id, context_sub_obj_type, type, title " . "FROM il_custom_block " . "WHERE " . $ilDB->in("context_obj_id", $a_context_obj_ids, false, "integer") . " AND context_obj_type = " . $ilDB->quote($a_context_obj_type, "text") . " ORDER BY title"1
  • /components/ILIAS/Block/classes/class.ilCustomBlock.php
"SELECT value FROM il_block_setting WHERE type = %s " . "AND user_id = %s AND setting = %s AND block_id = %s"1
  • /components/ILIAS/Block/classes/class.ilBlockSetting.php
"SELECT type, setting, value FROM il_block_setting WHERE " . " user_id = " . $ilDB->quote($user_id, "integer") . " AND " . $ilDB->in("type", $blocks, false, "text") . " AND " . $ilDB->in("setting", $settings, false, "text")1
  • /components/ILIAS/Block/classes/class.ilBlockSetting.php
"DELETE FROM il_block_setting WHERE type = %s AND user_id = %s AND block_id = %s AND setting = %s"1
  • /components/ILIAS/Block/classes/class.ilBlockSetting.php
"INSERT INTO il_block_setting (type, user_id, setting, block_id, value) VALUES (%s,%s,%s,%s,%s)"1
  • /components/ILIAS/Block/classes/class.ilBlockSetting.php
"DELETE FROM il_block_setting WHERE user_id = " . $ilDB->quote($a_user, "integer")1
  • /components/ILIAS/Block/classes/class.ilBlockSetting.php
"DELETE FROM il_block_setting WHERE block_id = " . $ilDB->quote($a_block_id, "integer") . " AND type = " . $ilDB->quote($a_block_type, "text")1
  • /components/ILIAS/Block/classes/class.ilBlockSetting.php
"SELECT * FROM il_block_setting " . " WHERE block_id = %s AND type = %s AND user_id = %s"1
  • /components/ILIAS/Block/classes/class.ilBlockSetting.php
"SELECT count(*) cnt FROM badge_user_badge " . " WHERE user_id = %s AND tstamp >= %s"1
  • /components/ILIAS/Badge/classes/class.ilBadgeAssignment.php
"SELECT max(tstamp) maxts FROM badge_user_badge " . " WHERE user_id = %s"1
  • /components/ILIAS/Badge/classes/class.ilBadgeAssignment.php
"SELECT * FROM badge_user_badge" . " WHERE user_id = " . $ilDB->quote($a_user_id, "integer") . " ORDER BY pos"1
  • /components/ILIAS/Badge/classes/class.ilBadgeAssignment.php
"SELECT * FROM badge_user_badge" . " WHERE badge_id = " . $ilDB->quote($a_badge_id, "integer")1
  • /components/ILIAS/Badge/classes/class.ilBadgeAssignment.php
"SELECT * FROM badge_user_badge" . " WHERE " . $ilDB->in("badge_id", $badge_ids, "", "integer")1
  • /components/ILIAS/Badge/classes/class.ilBadgeAssignment.php
"SELECT * FROM badge_user_badge" . " WHERE badge_id = " . $ilDB->quote($a_badge_id, "integer") . " AND user_id = " . $ilDB->quote($a_user_id, "integer")1
  • /components/ILIAS/Badge/classes/class.ilBadgeAssignment.php
"DELETE FROM badge_user_badge" . " WHERE badge_id = " . $ilDB->quote($this->getBadgeId( ), "integer") . " AND user_id = " . $ilDB->quote($this->getUserId( ), "integer")1
  • /components/ILIAS/Badge/classes/class.ilBadgeAssignment.php
"SELECT bdg.parent_id, ub.tstamp, bdg.title FROM badge_user_badge ub JOIN badge_badge bdg" . " ON (ub.badge_id = bdg.id) " . " WHERE ub.user_id = %s AND ub.tstamp >= %s AND ub.tstamp <= %s"1
  • /components/ILIAS/Badge/classes/class.ilBadgeAssignment.php
"SELECT * FROM badge_image_templ_type"1
  • /components/ILIAS/Badge/classes/class.ilBadgeImageTemplate.php
"SELECT * FROM badge_image_template" . " ORDER BY title"1
  • /components/ILIAS/Badge/classes/class.ilBadgeImageTemplate.php
"SELECT * FROM badge_image_template" . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Badge/classes/class.ilBadgeImageTemplate.php
"SELECT * FROM badge_image_templ_type WHERE tmpl_id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Badge/classes/class.ilBadgeImageTemplate.php
"DELETE FROM badge_image_template" . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Badge/classes/class.ilBadgeImageTemplate.php
"DELETE FROM badge_image_templ_type" . " WHERE tmpl_id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Badge/classes/class.ilBadgeImageTemplate.php
"SELECT * FROM badge_badge" . " WHERE parent_id = " . $ilDB->quote($a_parent_id)1
  • /components/ILIAS/Badge/classes/class.ilBadge.php
"SELECT * FROM badge_badge" . " WHERE type_id = " . $ilDB->quote($a_type_id, "text") . " ORDER BY title"1
  • /components/ILIAS/Badge/classes/class.ilBadge.php
'SELECT bb.*, od.title parent_title, od.type parent_type' . ' FROM badge_badge bb' . ' INNER JOIN object_data od ON bb.parent_id = od.obj_id' . ' WHERE od.type != ' . $ilDB->quote('bdga', ilDBConstants::T_TEXT) . $where1
  • /components/ILIAS/Badge/classes/class.ilBadge.php
'SELECT bb.*, od.title parent_title, od.type parent_type' . ' FROM badge_badge bb' . ' INNER JOIN object_data_del od ON bb.parent_id = od.obj_id' . ' WHERE od.type != ' . $ilDB->quote('bdga', ilDBConstants::T_TEXT) . $where1
  • /components/ILIAS/Badge/classes/class.ilBadge.php
"SELECT * FROM badge_badge" . " WHERE id = " . $ilDB->quote($a_id, "integer")1
  • /components/ILIAS/Badge/classes/class.ilBadge.php
"DELETE FROM badge_badge" . " WHERE id = " . $ilDB->quote($this->getId( ), "integer")1
  • /components/ILIAS/Badge/classes/class.ilBadge.php
'SELECT * FROM saml_idp_settings WHERE idp_id = ' . $this->db->quote($this->idp_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Saml/classes/class.ilSamlIdp.php
'UPDATE usr_data SET auth_mode = %s WHERE auth_mode = %s'1
  • /components/ILIAS/Saml/classes/class.ilSamlIdp.php
'DELETE FROM saml_idp_settings WHERE idp_id = ' . $this->db->quote($this->idp_id, ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Saml/classes/class.ilSamlIdp.php
'SELECT * FROM saml_idp_settings'1
  • /components/ILIAS/Saml/classes/class.ilSamlIdp.php
"SELECT registration,obj_id FROM event "1
  • /components/ILIAS/Session/classes/class.ilObjSessionAccess.php
"SELECT event_id, registered FROM event_participants WHERE usr_id = " . $ilDB->quote($ilUser->getId( ), 'integer')1
  • /components/ILIAS/Session/classes/class.ilObjSessionAccess.php
'SELECT * FROM event_items ei ' . 'JOIN tree ON item_id = child ' . 'WHERE event_id = ' . $ilDB->quote($a_sess_id, 'integer') . ' ' . 'AND tree > 0'1
  • /components/ILIAS/Session/classes/class.ilObjSessionListGUI.php
"SELECT ev.obj_id id, od.title title, od.description description, " . " location, tutor_name, tutor_email, tutor_phone, details, registration, " . " e_start event_start, e_end event_end, starting_time, ending_time, fulltime " . " FROM event ev JOIN object_data od ON (ev.obj_id = od.obj_id) " . " JOIN event_appointment ea ON (ev.obj_id = ea.event_id) " . "WHERE " . $ilDB->in("ev.obj_id", $a_ids, false, "integer")1
  • /components/ILIAS/Session/classes/class.ilSessionDataSet.php
"SELECT ev.obj_id id, od.title title, odes.description description, " . " location, tutor_name, tutor_email, tutor_phone, details, reg_type registration, " . " reg_limited limited_registration, reg_waiting_list waiting_list, " . " reg_limit_users limit_users, " . " e_start event_start, e_end event_end, starting_time, ending_time, fulltime " . " FROM event ev JOIN object_data od ON (ev.obj_id = od.obj_id) " . " JOIN event_appointment ea ON (ev.obj_id = ea.event_id) " . " JOIN object_description odes ON (ev.obj_id = odes.obj_id) " . "WHERE " . $ilDB->in("ev.obj_id", $a_ids, false, "integer")1
  • /components/ILIAS/Session/classes/class.ilSessionDataSet.php
"SELECT ev.obj_id id, od.title title, odes.description description, " . " location, tutor_name, tutor_email, tutor_phone, details, reg_type registration, " . " reg_limited limited_registration, reg_waiting_list waiting_list, reg_auto_wait auto_wait, " . " reg_limit_users limit_users, reg_min_users min_users, " . " e_start event_start, e_end event_end, starting_time, ending_time, fulltime " . " FROM event ev JOIN object_data od ON (ev.obj_id = od.obj_id) " . " JOIN event_appointment ea ON (ev.obj_id = ea.event_id) " . " JOIN object_description odes ON (ev.obj_id = odes.obj_id) " . "WHERE " . $ilDB->in("ev.obj_id", $a_ids, false, "integer")1
  • /components/ILIAS/Session/classes/class.ilSessionDataSet.php
"SELECT ev.obj_id id, od.title title, odes.description description, " . " location, tutor_name, tutor_email, tutor_phone, details, reg_type registration, " . " reg_limited limited_registration, reg_waiting_list waiting_list, reg_auto_wait auto_wait, " . " reg_limit_users limit_users, reg_min_users min_users, " . " e_start event_start, e_end event_end, starting_time, ending_time, fulltime, mail_members, show_members " . " FROM event ev JOIN object_data od ON (ev.obj_id = od.obj_id) " . " JOIN event_appointment ea ON (ev.obj_id = ea.event_id) " . " JOIN object_description odes ON (ev.obj_id = odes.obj_id) " . "WHERE " . $ilDB->in("ev.obj_id", $a_ids, false, "integer")1
  • /components/ILIAS/Session/classes/class.ilSessionDataSet.php
"SELECT ev.obj_id id, od.title title, odes.description description, " . " location, tutor_name, tutor_email, tutor_phone, details, reg_type registration, " . " reg_limited limited_registration, reg_waiting_list waiting_list, reg_auto_wait auto_wait, " . " reg_limit_users limit_users, reg_min_users min_users, " . " e_start event_start, e_end event_end, starting_time, ending_time, fulltime, mail_members, show_members, " . " show_cannot_part, reg_notification registration_notification_enabled, " . " notification_opt registration_notification_option " . " FROM event ev JOIN object_data od ON (ev.obj_id = od.obj_id) " . " JOIN event_appointment ea ON (ev.obj_id = ea.event_id) " . " JOIN object_description odes ON (ev.obj_id = odes.obj_id) " . "WHERE " . $ilDB->in("ev.obj_id", $a_ids, false, "integer")1
  • /components/ILIAS/Session/classes/class.ilSessionDataSet.php
"SELECT event_id session_id, item_id " . " FROM event_items " . "WHERE " . $ilDB->in("event_id", $a_ids, false, "integer")1
  • /components/ILIAS/Session/classes/class.ilSessionDataSet.php
"SELECT reg_type FROM event " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilObjSession.php
"SELECT * FROM event " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer')1
  • /components/ILIAS/Session/classes/class.ilObjSession.php
"INSERT INTO event (event_id,obj_id,location,tutor_name,tutor_phone,tutor_email,details,registration, " . 'reg_type, reg_limit_users, reg_limited, reg_waiting_list, reg_min_users, reg_auto_wait,show_members,mail_members, reg_notification, notification_opt, show_cannot_part) ' . "VALUES( " . $ilDB->quote($next_id, 'integer') . ", " . $this->db->quote($this->getId( ), 'integer') . ", " . $this->db->quote($this->getLocation( ), 'text') . "," . $this->db->quote($this->getName( ), 'text') . ", " . $this->db->quote($this->getPhone( ), 'text') . ", " . $this->db->quote($this->getEmail( ), 'text') . ", " . $this->db->quote($this->getDetails( ), 'text') . "," . $this->db->quote((int) $this->enabledRegistrationForUsers( ), 'integer') . ", " . $this->db->quote($this->getRegistrationType( ), 'integer') . ', ' . $this->db->quote($this->getRegistrationMaxUsers( ), 'integer') . ', ' . $this->db->quote($this->isRegistrationUserLimitEnabled( ), 'integer') . ', ' . $this->db->quote((int) $this->isRegistrationWaitingListEnabled( ), 'integer') . ', ' . $this->db->quote($this->getRegistrationMinUsers( ), 'integer') . ', ' . $this->db->quote((int) $this->hasWaitingListAutoFill( ), 'integer') . ', ' . $this->db->quote((int) $this->getShowMembers( ), 'integer') . ', ' . $this->db->quote($this->getMailToMembersType( ), 'integer') . ',' . $this->db->quote((int) $this->isRegistrationNotificationEnabled( ), 'integer') . ', ' . $this->db->quote($this->getRegistrationNotificationOption( ), 'text') . ', ' . $this->db->quote((int) $this->isCannotParticipateOptionEnabled( ), ilDBConstants::T_INTEGER) . ' ' . ")"1
  • /components/ILIAS/Session/classes/class.ilObjSession.php
"UPDATE event SET " . "location = " . $this->db->quote($this->getLocation( ), 'text') . "," . "tutor_name = " . $this->db->quote($this->getName( ), 'text') . ", " . "tutor_phone = " . $this->db->quote($this->getPhone( ), 'text') . ", " . "tutor_email = " . $this->db->quote($this->getEmail( ), 'text') . ", " . "details = " . $this->db->quote($this->getDetails( ), 'text') . ", " . "registration = " . $this->db->quote((int) $this->enabledRegistrationForUsers( ), 'integer') . ", " . "reg_type = " . $this->db->quote($this->getRegistrationType( ), 'integer') . ", " . "reg_limited = " . $this->db->quote($this->isRegistrationUserLimitEnabled( ), 'integer') . ", " . "reg_limit_users = " . $this->db->quote($this->getRegistrationMaxUsers( ), 'integer') . ", " . "reg_min_users = " . $this->db->quote($this->getRegistrationMinUsers( ), 'integer') . ", " . "reg_waiting_list = " . $this->db->quote((int) $this->isRegistrationWaitingListEnabled( ), 'integer') . ", " . "reg_auto_wait = " . $this->db->quote((int) $this->hasWaitingListAutoFill( ), 'integer') . ", " . 'show_members = ' . $this->db->quote((int) $this->getShowMembers( ), 'integer') . ', ' . 'mail_members = ' . $this->db->quote($this->getMailToMembersType( ), 'integer') . ', ' . "reg_auto_wait = " . $this->db->quote((int) $this->hasWaitingListAutoFill( ), 'integer') . ", " . "reg_notification = " . $this->db->quote((int) $this->isRegistrationNotificationEnabled( ), 'integer') . ", " . "notification_opt = " . $this->db->quote($this->getRegistrationNotificationOption( ), 'text') . ", " . 'show_cannot_part = ' . $this->db->quote((int) $this->isCannotParticipateOptionEnabled( ), ilDBConstants::T_INTEGER) . ' ' . "WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilObjSession.php
"DELETE FROM event " . "WHERE obj_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilObjSession.php
"SELECT * FROM event WHERE " . "obj_id = " . $this->db->quote($this->getId( ), 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilObjSession.php
'update event_participants set excused = ' . $this->db->quote($a_status, \ilDBConstants::T_INTEGER) . ' ' . 'where event_id = ' . $this->db->quote($this->event_id, \ilDBConstants::T_INTEGER) . ' and ' . 'usr_id = ' . $this->db->quote($a_usr_id, \ilDBConstants::T_INTEGER)1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"DELETE FROM event_participants " . "WHERE event_id = " . $ilDB->quote($this->getEventId( ), 'integer') . " " . "AND usr_id = " . $ilDB->quote($this->getUserId( ), 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"INSERT INTO event_participants (event_id,usr_id,registered,participated,contact,notification_enabled, excused " . ") VALUES( " . $ilDB->quote($this->getEventId( ), 'integer') . ", " . $ilDB->quote($this->getUserId( ), 'integer') . ", " . $ilDB->quote((int) $this->getRegistered( ), 'integer') . ", " . $ilDB->quote((int) $this->getParticipated( ), 'integer') . ', ' . $ilDB->quote($this->getContact( ), 'integer') . ', ' . $ilDB->quote((int) $this->isNotificationEnabled( ), 'integer') . ', ' . $ilDB->quote((int) $this->getExcused( ), 'integer') . ")"1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"UPDATE event_participants " . "SET participated = " . $ilDB->quote((int) $a_status, 'integer') . " " . "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"INSERT INTO event_participants (registered,participated,event_id,usr_id) " . "VALUES( " . $ilDB->quote(0, 'integer') . ", " . $ilDB->quote((int) $a_status, 'integer') . ", " . $ilDB->quote($a_event_id, 'integer') . ", " . $ilDB->quote($a_usr_id, 'integer') . " " . ")"1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"SELECT * FROM event_participants " . "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " . "AND registered = " . $ilDB->quote(1, 'integer')1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"SELECT * FROM event_participants " . "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " . "AND participated = 1"1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"SELECT participated FROM event_participants " . "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"UPDATE event_participants " . "SET registered = '1' " . "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"INSERT INTO event_participants (registered,participated,event_id,usr_id) " . "VALUES( " . "1, " . "0, " . $ilDB->quote($a_event_id, 'integer') . ", " . $ilDB->quote($a_usr_id, 'integer') . " " . ")"1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"UPDATE event_participants " . "SET registered = 0 " . "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"INSERT INTO event_participants (registered,participated,event_id,usr_id) " . "VALUES( " . "0, " . "0, " . $ilDB->quote($a_event_id, 'integer') . ", " . $ilDB->quote($a_usr_id, 'integer') . " " . ")"1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"DELETE FROM event_participants " . "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"DELETE FROM event_participants " . "WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"SELECT * FROM event_participants " . "WHERE event_id = " . $ilDB->quote($this->getEventId( ), 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php
"DELETE FROM event_items " . "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilEventItems.php
"DELETE FROM event_items WHERE " . $this->db->in('item_id', $a_items, false, 'integer') . " AND event_id = " . $this->db->quote($this->event_id, 'integer')1
  • /components/ILIAS/Session/classes/class.ilEventItems.php
"INSERT INTO event_items (event_id,item_id) " . "VALUES( " . $ilDB->quote($this->getEventId( ), 'integer') . ", " . $ilDB->quote($item, 'integer') . " " . ")"1
  • /components/ILIAS/Session/classes/class.ilEventItems.php
"SELECT item_id FROM event_items " . "WHERE " . $ilDB->in('event_id', $session_ids, false, 'integer')1
  • /components/ILIAS/Session/classes/class.ilEventItems.php
"SELECT * FROM event_items " . "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer')1
  • /components/ILIAS/Session/classes/class.ilEventItems.php
"SELECT * FROM event_items " . "WHERE item_id = " . $ilDB->quote($a_item_id, 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilEventItems.php
'SELECT e.event_id,e_start FROM event_items e ' . 'JOIN event_appointment ea ON e.event_id = ea.event_id ' . 'WHERE item_id = ' . $db->quote($item_ref_id, 'integer') . ' ' . 'ORDER BY (e_start)'1
  • /components/ILIAS/Session/classes/class.ilEventItems.php
"SELECT * FROM event_items " . "WHERE event_id = " . $ilDB->quote($this->getEventId( ), 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilEventItems.php
"DELETE FROM event_items " . "WHERE item_id = " . $ilDB->quote($row->item_id, 'integer')1
  • /components/ILIAS/Session/classes/class.ilEventItems.php
"SELECT * FROM event_appointment " . "WHERE event_id = " . $ilDB->quote($a_obj_id, 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilSessionAppointment.php
"SELECT event_id FROM event_appointment " . "WHERE e_start > " . $ilDB->quote($now->get(IL_CAL_DATE), 'timestamp') . ' ' . "AND e_start < " . $ilDB->quote($tomorrow->get(IL_CAL_DATE), 'timestamp') . ' ' . "AND " . $ilDB->in('event_id', $obj_ids, false, 'integer') . ' ' . "ORDER BY e_start "1
  • /components/ILIAS/Session/classes/class.ilSessionAppointment.php
"SELECT event_id FROM event_appointment " . "WHERE e_start > " . $ilDB->now( ) . " " . "AND " . $ilDB->in('event_id', $obj_ids, false, 'integer') . " " . "ORDER BY e_start "1
  • /components/ILIAS/Session/classes/class.ilSessionAppointment.php
"SELECT event_id FROM event_appointment " . "WHERE e_start < " . $ilDB->now( ) . " " . "AND " . $ilDB->in('event_id', $obj_ids, false, 'integer') . " " . "ORDER BY e_start DESC "1
  • /components/ILIAS/Session/classes/class.ilSessionAppointment.php
"INSERT INTO event_appointment (appointment_id,event_id,e_start,e_end,fulltime) " . "VALUES( " . $ilDB->quote($next_id, 'integer') . ", " . $ilDB->quote($this->getSessionId( ), 'integer') . ", " . $ilDB->quote($this->getStart( )->get(IL_CAL_DATETIME, '', 'UTC'), 'timestamp') . ", " . $ilDB->quote($this->getEnd( )->get(IL_CAL_DATETIME, '', 'UTC'), 'timestamp') . ", " . $ilDB->quote((int) $this->enabledFullTime( ), 'integer') . " " . ")"1
  • /components/ILIAS/Session/classes/class.ilSessionAppointment.php
"UPDATE event_appointment " . "SET event_id = " . $ilDB->quote($this->getSessionId( ), 'integer') . ", " . "e_start = " . $ilDB->quote($this->getStart( )->get(IL_CAL_DATETIME, '', 'UTC'), 'timestamp') . ", " . "e_end = " . $ilDB->quote($this->getEnd( )->get(IL_CAL_DATETIME, '', 'UTC'), 'timestamp') . ", " . "fulltime = " . $ilDB->quote((int) $this->enabledFullTime( ), 'integer') . " " . "WHERE appointment_id = " . $ilDB->quote($this->getAppointmentId( ), 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilSessionAppointment.php
"DELETE FROM event_appointment " . "WHERE appointment_id = " . $ilDB->quote($a_appointment_id, 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilSessionAppointment.php
"DELETE FROM event_appointment " . "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilSessionAppointment.php
"SELECT * FROM event_appointment " . "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " . "ORDER BY starting_time"1
  • /components/ILIAS/Session/classes/class.ilSessionAppointment.php
"SELECT * FROM event_appointment " . "WHERE appointment_id = " . $ilDB->quote($this->getAppointmentId( ), 'integer') . " "1
  • /components/ILIAS/Session/classes/class.ilSessionAppointment.php
"SELECT object_reference.ref_id FROM object_reference,tree,object_data " . "WHERE tree.parent = " . $this->db->quote(SYSTEM_FOLDER_ID, 'integer') . " " . "AND object_data.type = 'ps' " . "AND object_reference.ref_id = tree.child " . "AND object_reference.obj_id = object_data.obj_id"2
  • /components/ILIAS/PrivacySecurity/classes/class.ilSecuritySettings.php
  • /components/ILIAS/PrivacySecurity/classes/class.ilPrivacySettings.php
'SELECT * FROM ' . $this->table_obj_data . ' WHERE ' . $this->obj_pk . ' = %s'2
  • /components/ILIAS/Tree/classes/class.ilTree.php (2)
'SELECT lft FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE ' . $this->getTree( )->getTreeTable( ) . '.child = %s ' . 'AND ' . $this->getTree( )->getTreeTable( ) . '.' . $this->getTree( )->getTreePk( ) . ' = %s '2
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php (2)
'Show Popover'2
  • /components/ILIAS/UI/src/examples/Popover/Standard/show_popover_with_dynamic_changing_content.php
  • /components/ILIAS/UI/src/examples/Popover/Standard/show_popover_with_async_loaded_content.php
'Show Simple Prompt'2
  • /components/ILIAS/UI/src/examples/Prompt/Standard/base.php
  • /components/ILIAS/UI/src/examples/Prompt/Standard/parameters.php
'Show Modal'2
  • /components/ILIAS/UI/src/examples/Modal/Interruptive/show_modal_on_button_click.php
  • /components/ILIAS/UI/src/examples/Modal/LightboxCardPage/show_modal_on_button_click.php
"SELECT * FROM " . $a_table . "_" . $table . " WHERE " . $where2
  • /components/ILIAS/ADT/classes/ActiveRecord/class.ilADTActiveRecordByType.php (2)
"SHOW INDEX FROM " . $a_table2
  • /components/ILIAS/Database/classes/class.ilDBAnalyzer.php
  • /components/ILIAS/Database/classes/PDO/class.ilDBPdo.php
"DELETE FROM benchmark"2
  • /components/ILIAS/Database/classes/class.ilBenchmark.php (2)
"SELECT * FROM " . $this->il_db->quoteIdentifier($a_table)2
  • /components/ILIAS/Database/classes/class.ilDBGenerator.php (2)
'SHOW ENGINES '2
  • /components/ILIAS/Database/classes/Setup/class.ilDatabaseEnvironmentValidObjective.php
  • /components/ILIAS/Database/classes/Setup/class.ilDatabasePopulatedObjective.php
"UPDATE " . $this->quoteIdentifier($table_name) . " SET "2
  • /components/ILIAS/Database/classes/PDO/class.ilDBPdo.php (2)
"SHOW INDEX FROM $table /*!50002 WHERE Key_name = %s */"2
  • /components/ILIAS/Database/classes/PDO/Reverse/class.ilDBPdoReverse.php (2)
"SHOW INDEX FROM $table"2
  • /components/ILIAS/Database/classes/PDO/Manager/class.ilDBPdoManager.php (2)
"SELECT * FROM container_reference " . "WHERE target_obj_id = " . $ilDB->quote($a_target_id, 'integer') . " "2
  • /components/ILIAS/ContainerReference/classes/class.ilContainerReference.php (2)
"DELETE FROM container_reference " . "WHERE obj_id = " . $ilDB->quote($this->getId( ), 'integer') . " "2
  • /components/ILIAS/ContainerReference/classes/class.ilContainerReference.php (2)
'SELECT id FROM il_dcl_datatype WHERE title LIKE %s'2
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionDBUpdateSteps9.php (2)
"DELETE FROM file_data WHERE file_id = %s"2
  • /components/ILIAS/DataCollection/classes/Setup/class.ilDataCollectionStorageMigration.php
  • /components/ILIAS/File/classes/class.ilObjFile.php
"SELECT object_data.*, ref_id FROM object_data " . "LEFT JOIN object_reference ON object_data.obj_id = object_reference.obj_id " . "LEFT JOIN tree ON object_reference.ref_id = tree.child " . "WHERE (object_reference.obj_id IS NULL OR tree.child IS NULL) " . "AND object_data.type='rolf'"2
  • /components/ILIAS/Repository/TreeValidator/class.ilValidator.php (2)
"SELECT ref_id FROM rep_rec_content_obj " . " WHERE user_id = %s AND declined = %s"2
  • /components/ILIAS/Repository/RecommendedContent/classes/class.ilRecommendedContentDBRepository.php (2)
'SELECT abstract, extro, abstract_image, extro_image, gallery' . PHP_EOL . 'FROM lso_settings' . PHP_EOL . 'WHERE obj_id = 333' . PHP_EOL2
  • /components/ILIAS/LearningSequence/tests/Settings/ilLearningSequenceSettingsDBTest.php (2)
"SELECT view_mode FROM crs_settings WHERE obj_id = " . $ilDB->quote($a_id, 'integer') . " "2
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
  • /components/ILIAS/Course/classes/class.ilObjCourseAccess.php
"SELECT obj_id FROM object_data WHERE type='rolt' AND title='il_crs_non_member'"2
  • /components/ILIAS/Course/classes/class.ilObjCourse.php
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
'INSERT INTO booking_obj_assignment (booking_id, target_obj_id) ' . 'VALUES( ' . $this->db->quote($this->getId( ), 'integer') . ', ' . $this->db->quote($obj_id, 'integer') . ' ' . ')'2
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php (2)
'DELETE FROM booking_obj_assignment ' . 'WHERE booking_id = ' . $this->db->quote($this->getId( ), 'integer')2
  • /components/ILIAS/Calendar/classes/Booking/class.ilBookingEntry.php (2)
'Update failed: ' . $e2->getMessage( )2
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSSettingsGUI.php
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSEventQueueReader.php
'SELECT * FROM ecs_data_mapping ' . 'WHERE sid = ' . $this->db->quote($this->getServerId( ), 'integer') . ' ' . 'AND mapping_type = ' . $this->db->quote($this->getMappingType( ), 'integer') . ' ' . 'AND ecs_field = ' . $this->db->quote($this->getECSField( ), 'text')2
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSDataMappingSetting.php (2)
'SELECT * FROM ecs_export ' . 'WHERE obj_id = ' . $this->db->quote($a_obj_id, 'integer')2
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSExportManager.php (2)
'INSERT INTO ecs_remote_user (eru_id, sid, mid, usr_id, remote_usr_id) ' . 'VALUES( ' . $this->db->quote($next_id) . ', ' . $this->db->quote($sid, 'integer') . ', ' . $this->db->quote($mid, 'integer') . ', ' . $this->db->quote($usr_id, 'integer') . ', ' . $this->db->quote($remote_usr_id, 'text') . ' ' . ')'2
  • /components/ILIAS/WebServices/ECS/classes/class.ilECSRemoteUserRepository.php (2)
'SELECT cs_id FROM ecs_node_mapping_a ' . 'WHERE server_id = ' . $ilDB->quote($a_server_id, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND cs_root = ' . $ilDB->quote($a_tree_id, 'integer') . ' ' . 'AND ref_id = ' . $ilDB->quote($a_ref_id, 'integer') . ' '2
  • /components/ILIAS/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingAssignments.php (2)
'SELECT rid FROM ecs_cmap_rule ' . 'WHERE sid = ' . $ilDB->quote($a_sid, 'integer') . ' ' . 'AND mid = ' . $ilDB->quote($a_mid, 'integer') . ' ' . 'AND ref_id = ' . $ilDB->quote($a_ref_id, 'integer') . ' ' . 'ORDER BY rid'2
  • /components/ILIAS/WebServices/ECS/classes/Course/class.ilECSCourseMappingRule.php (2)
'SELECT DISTINCT page_id FROM page_object WHERE parent_id = %s AND parent_type = %s'2
  • /components/ILIAS/ContentPage/classes/class.ilObjContentPage.php
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
"UPDATE object_data SET offline = %s WHERE type = %s"2
  • /components/ILIAS/ContentPage/classes/Setup/class.ilContentPageUpdateSteps.php
  • /components/ILIAS/Forum/classes/Setup/class.ilForumDatabaseUpdateSteps.php
"SELECT * FROM skl_tree " . " WHERE child = %s "2
  • /components/ILIAS/Skill/Tree/class.ilSkillTreeDBRepository.php (2)
"SELECT * FROM object_data " . " WHERE type = %s AND title = %s"2
  • /components/ILIAS/Skill/classes/Setup/class.ilSkillDBUpdateSteps.php (2)
"SELECT * FROM skl_profile_completion " . " WHERE profile_id = " . $ilDB->quote($profile_id, "integer") . " AND user_id = " . $ilDB->quote($user_id, "integer") . " ORDER BY date DESC" . " LIMIT 1"2
  • /components/ILIAS/Skill/Profile/class.SkillProfileCompletionDBRepository.php (2)
"DELETE FROM skl_templ_ref WHERE " . " templ_id = " . $ilDB->quote($this->getId( ), "integer")2
  • /components/ILIAS/Skill/Node/class.ilSkillTemplateCategory.php
  • /components/ILIAS/Skill/Node/class.ilBasicSkillTemplate.php
"SELECT * FROM skl_profile " . " WHERE " . $ilDB->in("id", $profile_ids, false, "integer")2
  • /components/ILIAS/Skill/Export/class.ilSkillDataSet.php (2)
'SELECT EXISTS(SELECT 1 FROM ' . self::TABLE_NAME . ' WHERE (background_image_ident = %s OR tile_image_ident = %s) AND currently_active = 1) AS does_exist'2
  • /components/ILIAS/Certificate/classes/Template/class.ilCertificateTemplateDatabaseRepository.php
  • /components/ILIAS/Certificate/classes/User/class.ilUserCertificateRepository.php
"INSERT INTO tst_test_result (test_result_id, active_fi, question_fi, points, pass, manual, tstamp) VALUES (%s, %s, %s, %s, %s, %s, %s)"2
  • /components/ILIAS/Test/classes/class.ilTestResultsImportParser.php
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"INSERT INTO tst_times (times_id, active_fi, started, finished, pass, tstamp) VALUES (%s, %s, %s, %s, %s, %s)"2
  • /components/ILIAS/Test/classes/class.ilTestResultsImportParser.php
  • /components/ILIAS/Test/classes/class.ilObjTest.php
'DELETE FROM tst_test_question WHERE test_fi = %s'2
  • /components/ILIAS/Test/classes/class.ilObjTest.php
  • /components/ILIAS/Test/classes/class.ilTestFixedQuestionSetConfig.php
"SELECT tst_tests.use_previous_answers FROM tst_tests, tst_active WHERE tst_tests.test_id = tst_active.test_fi AND tst_active.active_id = %s"2
  • /components/ILIAS/Test/classes/class.ilObjTest.php
  • /components/ILIAS/soap/classes/class.ilSoapTestAdministration.php
"SELECT * FROM tst_test_question WHERE test_fi=%s AND question_fi=%s"2
  • /components/ILIAS/Test/classes/class.ilObjTest.php (2)
"SELECT * FROM tst_test_question WHERE test_fi=%s AND sequence=%s"2
  • /components/ILIAS/Test/classes/class.ilObjTest.php (2)
"SELECT question_fi FROM tst_solutions WHERE active_fi = %s AND pass = %s GROUP BY question_fi"2
  • /components/ILIAS/Test/classes/class.ilObjTest.php (2)
'SELECT active_id FROM tst_active WHERE user_fi = %s AND test_fi = %s AND anonymous_id = %s'2
  • /components/ILIAS/Test/classes/class.ilObjTest.php (2)
'SELECT tst_test_question.sequence, tst_test_question.question_fi, ' . 'qpl_questions.points ' . 'FROM tst_test_question, tst_active, qpl_questions ' . 'WHERE tst_test_question.question_fi = qpl_questions.question_id ' . 'AND tst_active.active_id = %s AND tst_active.test_fi = tst_test_question.test_fi'2
  • /components/ILIAS/Test/classes/class.ilObjTest.php (2)
"SELECT user_fi FROM tst_active WHERE active_id = %s"2
  • /components/ILIAS/Test/classes/class.ilObjTest.php
  • /components/ILIAS/soap/classes/class.ilSoapTestAdministration.php
" SELECT tseq.* FROM tst_active tac INNER JOIN tst_sequence tseq ON tseq.active_fi = tac.active_id WHERE tac.test_fi = %s "2
  • /components/ILIAS/Test/classes/class.ilObjTest.php (2)
'SELECT passed_once FROM tst_result_cache WHERE active_fi = %s'2
  • /components/ILIAS/Test/classes/class.ilObjTest.php
  • /components/ILIAS/Test/classes/class.ilTestPassesSelector.php
'SELECT question_id FROM qpl_questions WHERE obj_fi = %s AND complete = %s AND original_id IS NULL'2
  • /components/ILIAS/Test/classes/class.ilTestRandomQuestionSetStagingPoolBuilder.php (2)
"SELECT tst_active.active_id FROM tst_active, tst_tests WHERE tst_active.test_fi = tst_tests.test_id AND tst_active.user_fi = %s AND tst_tests.obj_fi = %s"2
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php (2)
"SELECT tst_result_cache.*, tst_active.user_fi FROM tst_result_cache, tst_active WHERE tst_active.active_id = tst_result_cache.active_fi AND " . $ilDB->in('active_fi', $all_participants, false, 'integer')2
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php (2)
"SELECT * FROM tst_active WHERE user_fi = %s AND test_fi = %s"2
  • /components/ILIAS/Test/classes/class.ilTestSession.php (2)
"SELECT * FROM tst_active WHERE user_fi = %s AND test_fi = %s AND anonymous_id = %s"2
  • /components/ILIAS/Test/classes/class.ilTestSession.php (2)
"SELECT * FROM tst_active WHERE active_id = %s"2
  • /components/ILIAS/Test/classes/class.ilTestSession.php
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
'SELECT test_fi FROM tst_active WHERE active_id = %s'2
  • /components/ILIAS/Test/src/Participants/ParticipantRepository.php
  • /components/ILIAS/TestQuestionPool/classes/class.assFileUpload.php
' SELECT COUNT(tst_pass_result.workingtime) cnt FROM object_reference INNER JOIN tst_tests ON object_reference.obj_id = tst_tests.obj_fi INNER JOIN tst_active ON tst_tests.test_id = tst_active.test_fi INNER JOIN tst_result_cache ON tst_active.active_id = tst_result_cache.active_fi INNER JOIN tst_pass_result ON tst_active.active_id = tst_pass_result.active_fi AND tst_pass_result.pass = tst_result_cache.pass INNER JOIN usr_data ON usr_data.usr_id = tst_active.user_fi WHERE object_reference.ref_id = ' . $this->db->quote($a_test_ref_id, 'integer')2
  • /components/ILIAS/Test/src/Results/Toplist/TestTopListRepository.php (2)
"SELECT file_id FROM file_data WHERE rid = %s"2
  • /components/ILIAS/File/classes/class.ilObjFileStakeholder.php (2)
"DELETE FROM " . self::SUFFIX_TABLE_NAME . " WHERE " . self::ICON_RESOURCE_IDENTIFICATION . " = %s"2
  • /components/ILIAS/File/classes/Icons/IconDatabaseRepository.php (2)
'DELETE FROM ' . self::TABLE . PHP_EOL . 'WHERE prg_obj_id = ' . $this->db->quote($prg_obj_id, 'integer')2
  • /components/ILIAS/StudyProgramme/classes/model/AutoCategories/class.ilStudyProgrammeAutoCategoryDBRepository.php
  • /components/ILIAS/StudyProgramme/classes/model/AutoMemberships/class.ilStudyProgrammeAutoMembershipsDBRepository.php
"DELETE FROM page_question WHERE page_parent_type = %s " . " AND page_id = %s AND page_lang = %s"2
  • /components/ILIAS/COPage/PC/Question/class.ilPCQuestion.php (2)
"SELECT active, activation_start, activation_end FROM page_object WHERE page_id = %s" . " AND parent_type = %s AND lang = %s"2
  • /components/ILIAS/COPage/classes/class.ilPageObject.php (2)
"SELECT * FROM page_history " . " WHERE page_id = " . $db->quote($this->getId( ), "integer") . " AND parent_type = " . $db->quote($this->getParentType( ), "text") . " AND lang = " . $db->quote($this->getLanguage( ), "text") . " AND nr = " . $db->quote((int) $row["mnr"], "integer")2
  • /components/ILIAS/COPage/classes/class.ilPageObject.php (2)
"SELECT edit_lock_user FROM page_object " . " WHERE page_id = " . $db->quote($this->getId( ), "integer") . " AND parent_type = " . $db->quote($this->getParentType( ), "text")2
  • /components/ILIAS/COPage/classes/class.ilPageObject.php (2)
"SELECT obj_id FROM object_data WHERE type='rolt' AND title='il_grp_status_closed'"2
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
"SELECT obj_id FROM object_data WHERE type='rolt' AND title='il_grp_status_open'"2
  • /components/ILIAS/Group/classes/class.ilObjGroup.php
  • /components/ILIAS/AccessControl/classes/class.ilObjRole.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE orgu_id = ' . $this->ilDb->quote($this->getId( ), 'integer')2
  • /components/ILIAS/OrgUnit/classes/class.ilObjOrgUnit.php (2)
'SELECT id FROM ' . self::TABLE_NAME2
  • /components/ILIAS/OrgUnit/classes/Types/class.ilOrgUnitType.php
  • /components/ILIAS/OrgUnit/classes/Positions/class.ilOrgUnitPositionDBRepository.php
'SELECT id FROM il_orgu_op_contexts WHERE context = ' . $db->quote($context, 'text')2
  • /components/ILIAS/OrgUnit/classes/Setup/class.ilOrgUnitOperationContextRegisteredObjective.php
  • /components/ILIAS/OrgUnit/classes/Setup/class.ilOrgUnitOperationRegisteredObjective.php
'SELECT operation_id, operation_string, description, list_order, context_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.context_id = ' . $this->db->quote($operation_context->getId( ), 'integer')2
  • /components/ILIAS/OrgUnit/classes/Positions/Operation/class.ilOrgUnitOperationDBRepository.php (2)
'SELECT id, user_id, position_id, orgu_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . self::TABLE_NAME . '.user_id = ' . $this->db->quote($user_id, 'integer') . PHP_EOL . ' AND ' . self::TABLE_NAME . '.position_id = ' . $this->db->quote($position_id, 'integer') . PHP_EOL . ' AND ' . self::TABLE_NAME . '.orgu_id = ' . $this->db->quote($orgu_id, 'integer')2
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php (2)
'SELECT user_id FROM' . PHP_EOL . self::TABLE_NAME . ' WHERE ' . $this->db->in(self::TABLE_NAME . '.orgu_id', $orgu_ids, false, 'integer')2
  • /components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentDBRepository.php (2)
"SELECT questiontype_id FROM svy_qtype WHERE type_tag = %s"2
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMetricQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"SELECT title, category_id FROM svy_category WHERE title = %s AND neutral = %s AND owner_fi = %s"2
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"DELETE FROM svy_qst_matrixrows WHERE question_fi = %s"2
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php (2)
"DELETE FROM svy_material WHERE question_fi = %s"2
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php (2)
"SELECT * FROM svy_material WHERE question_fi = %s"2
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php (2)
"SELECT svy_answer.* FROM svy_answer" . " JOIN svy_finished ON (svy_finished.finished_id = svy_answer.active_fi)" . " WHERE svy_answer.question_fi = " . $ilDB->quote($this->question->getId( ), "integer") . " AND svy_finished.survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer")2
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestionEvaluation.php (2)
'INSERT INTO ' . $this->table_mail_obj_data . ' (obj_id, user_id, title, m_type) VALUES(%s, %s, %s, %s)'2
  • /components/ILIAS/Mail/classes/class.ilMailbox.php (2)
"SELECT b.* FROM $this->table_mail a"2
  • /components/ILIAS/Mail/classes/class.ilMail.php (2)
"UPDATE $this->table_mail SET m_status = %s WHERE user_id = %s "2
  • /components/ILIAS/Mail/classes/class.ilMail.php (2)
'DELETE FROM mail_cron_orphaned'2
  • /components/ILIAS/Mail/classes/class.ilMailCronOrphanedMails.php
  • /components/ILIAS/Mail/classes/Cron/ExpiredOrOrphanedMails/MailDeletionHandler.php
'SELECT ' . $select_part2
  • /components/ILIAS/Mail/classes/class.ilMailAutoCompleteUserProvider.php
  • /components/ILIAS/User/classes/class.ilUserAutoComplete.php
'SELECT value FROM settings WHERE module = %s AND keyword = %s'2
  • /components/ILIAS/Mail/classes/Setup/class.ilMailDatabaseUpdateSteps.php
  • /components/ILIAS/User/src/Setup/DBUpdateSteps10.php
"SELECT value FROM settings WHERE keyword = %s AND value IS NOT NULL AND value != ''"2
  • /components/ILIAS/Mail/classes/Setup/class.ilMailDatabaseUpdateSteps.php (2)
'DELETE FROM settings WHERE keyword = %s'2
  • /components/ILIAS/Mail/classes/Setup/class.ilMailDatabaseUpdateSteps.php
  • /components/ILIAS/Dashboard/classes/Setup/ilDashboardUpdateSteps.php
'DELETE FROM rbac_templates WHERE rol_id = ' . $this->db->quote($a_dest_id, 'integer') . ' ' . 'AND parent = ' . $this->db->quote($a_dest_parent, 'integer')2
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php (2)
'INSERT INTO rbac_templates (rol_id,type,ops_id,parent) ' . 'VALUES( ' . $this->db->quote($a_dest_id, 'integer') . ', ' . $this->db->quote($type, 'text') . ', ' . $this->db->quote($op, 'integer') . ', ' . $this->db->quote($a_dest_parent, 'integer') . ' ' . ')'2
  • /components/ILIAS/AccessControl/classes/class.ilRbacAdmin.php (2)
"SELECT rol_id FROM rbac_fa " . "WHERE parent = " . $this->db->quote($a_ref_id, 'integer') . " " . $and2
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php (2)
"SELECT ops_id" . PHP_EOL . "FROM rbac_operations" . PHP_EOL . "WHERE operation = " . $ilDB->quote($operation, "text") . PHP_EOL2
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
  • /components/ILIAS/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php
"SELECT typ_id, ops_id " . PHP_EOL . "FROM rbac_ta" . PHP_EOL . "WHERE typ_id = " . $db->quote($type_id, "integer") . PHP_EOL . "AND ops_id = " . $db->quote($ops_id, 'integer') . PHP_EOL2
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessCustomRBACOperationAddedObjective.php (2)
"UPDATE rbac_pa" . PHP_EOL . "SET ops_id = " . $db->quote(serialize($ops), "text") . PHP_EOL . "WHERE rol_id = " . $db->quote($row["rol_id"], "integer") . PHP_EOL . "AND ref_id = " . $db->quote($row["ref_id"], "integer") . PHP_EOL2
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessRBACOperationClonedObjective.php
  • /components/ILIAS/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php
"SELECT obj_id FROM object_data WHERE type = %s AND obj_id = %s"2
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessInitialPermissionGuidelineAppliedObjective.php
  • /components/ILIAS/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php
"SELECT obj_id FROM object_data WHERE type = %s AND title = %s"2
  • /components/ILIAS/AccessControl/classes/Setup/class.ilAccessInitialPermissionGuidelineAppliedObjective.php
  • /components/ILIAS/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php
"SELECT server_id FROM ldap_server_settings ORDER BY name"2
  • /components/ILIAS/LDAP/classes/class.ilLDAPServer.php (2)
"SELECT parent_id, obj_id, timing_type, timing_start, timing_end, suggestion_start," . PHP_EOL . "suggestion_end, changeable, visible, position, suggestion_start_rel, suggestion_end_rel" . PHP_EOL . "FROM crs_items" . PHP_EOL . "WHERE obj_id = " . $db->quote($ref_id, "integer") . PHP_EOL2
  • /components/ILIAS/ILIASObject/classes/class.ilObjectActivation.php (2)
"SELECT obj_id" . PHP_EOL . "FROM " . self::TABLE_OBJECT_DATA . PHP_EOL . "WHERE import_id = " . $db->quote($import_id, "text") . PHP_EOL . "ORDER BY create_date DESC" . PHP_EOL2
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php (2)
"SELECT obj_id FROM object_data" . PHP_EOL . "WHERE type = 'typ'" . PHP_EOL . "AND title = " . $ilDB->quote($type, 'text') . PHP_EOL2
  • /components/ILIAS/ILIASObject/classes/class.ilObject.php
  • /components/ILIAS/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php
"SELECT obj_id, type, title, description, owner, create_date, last_update, import_id, offline" . PHP_EOL . "FROM object_data" . PHP_EOL . "WHERE obj_id = " . $ilDB->quote($obj_id, 'integer') . PHP_EOL2
  • /components/ILIAS/ILIASObject/classes/class.ilObjectFactory.php (2)
"INSERT INTO il_object_subobj (parent, subobj, mmax) VALUES (%s,%s,%s)"2
  • /components/ILIAS/ILIASObject/src/Setup/ObjectDefinitionProcessor.php (2)
'DELETE FROM ' . self::TABLE_NAME . ' WHERE id = %s'2
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Entries/EntriesRepositoryDB.php
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Groups/GroupsRepositoryDB.php
'DELETE FROM sahs_user WHERE user_id = %s'2
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'SELECT * FROM sahs_user WHERE obj_id = ' . $ilDB->quote($obj_id, 'integer') . ' AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ORDER BY user_id'2
  • /components/ILIAS/ScormAicc/classes/class.ilSCORMTrackingItems.php
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php
'SELECT * FROM sahs_lm WHERE id = %s'2
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
  • /components/ILIAS/Scorm2004/classes/ilSCORM13Package.php
'DELETE FROM sahs_user WHERE obj_id = %s'2
  • /components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModule.php
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
'SELECT sco_id, rvalue FROM scorm_tracking WHERE ' . $in . ' AND obj_id = %s AND lvalue = %s AND user_id = %s'2
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php (2)
'UPDATE sahs_user SET last_visited = %s, hash_end =%s, last_access = %s WHERE obj_id = %s AND user_id = %s'2
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
'select hash from sahs_user where obj_id=%s AND user_id=%s AND hash_end>%s'2
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004StoreData.php
'SELECT ob.obj_id id FROM sc_resource res, scorm_object ob WHERE ob.obj_id = res.obj_id AND res.import_id = %s AND ob.slm_id = %s'2
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php (2)
'DELETE FROM sc_resource_file WHERE res_id = %s'2
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php (2)
'DELETE FROM sc_resource_dependen WHERE res_id = %s'2
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMResource.php (2)
'SELECT package_attempts,count(*) cnt FROM sahs_user WHERE obj_id = %s AND user_id = %s GROUP BY package_attempts'2
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMPresentationGUI.php
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'INSERT INTO sahs_user (obj_id,user_id,package_attempts,module_version,last_access) VALUES(%s,%s,%s,%s,%s)'2
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMPresentationGUI.php
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
'UPDATE sahs_user SET package_attempts = %s, module_version = %s, last_access=%s WHERE obj_id = %s AND user_id = %s '2
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMPresentationGUI.php
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
' SELECT lvalue, rvalue FROM scorm_tracking WHERE sco_id = %s AND user_id = %s AND obj_id = %s'2
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMItem.php (2)
"SELECT * FROM ((" . implode(') UNION (', $arr_query) . ")) as a_table"2
  • /components/ILIAS/MyStaff/classes/ListCourses/class.ilMStListCourses.php
  • /components/ILIAS/MyStaff/classes/ListCompetences/Skills/class.ilMStListCompetencesSkills.php
"SELECT usr_id FROM usr_data" . " WHERE (" . $ilDB->like("login", "text", "%" . $a_filter["user"] . "%") . " " . "OR " . $ilDB->like("firstname", "text", "%" . $a_filter["user"] . "%") . " " . "OR " . $ilDB->like("lastname", "text", "%" . $a_filter["user"] . "%") . " " . "OR " . $ilDB->like("email", "text", "%" . $a_filter["user"] . "%") . ")"2
  • /components/ILIAS/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php
  • /components/ILIAS/Portfolio/classes/class.ilPortfolioAccessHandler.php
"SELECT id, title, description, " . " default_width, default_height" . " FROM mep_data JOIN object_data ON (mep_data.id = object_data.obj_id) " . "WHERE " . $ilDB->in("id", $a_ids, false, "integer")2
  • /components/ILIAS/MediaPool/classes/class.ilMediaPoolDataSet.php (2)
"SELECT * FROM " . self::TABLE_NAME2
  • /components/ILIAS/Component/classes/class.ilPluginStateDBOverIlDBInterface.php
  • /components/ILIAS/GlobalCache_/classes/class.ilMemcacheNodesRepository.php
"SELECT id FROM il_wiki_page" . " WHERE wiki_id = " . $ilDB->quote($a_wiki_id, "integer") . " AND title = " . $ilDB->quote($a_title, "text") . " AND lang = " . $ilDB->quote($lang, "text")2
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php (2)
"SELECT wiki_id FROM il_wiki_page" . " WHERE id = " . $ilDB->quote($a_page_id, "integer")2
  • /components/ILIAS/Wiki/classes/class.ilWikiPage.php (2)
"SELECT id, title, wiki_id," . " blocked, rating" . " FROM il_wiki_page" . " WHERE " . $ilDB->in("wiki_id", $a_ids, false, "integer")2
  • /components/ILIAS/Wiki/classes/class.ilWikiDataSet.php (2)
"SELECT * FROM wiki_page_template " . " WHERE wiki_id = %s " . " AND wpage_id = %s "2
  • /components/ILIAS/Wiki/classes/class.ilWikiDataSet.php (2)
"INSERT INTO lng_data (module,identifier,lang_key,value,local_change,remarks) VALUES "2
  • /components/ILIAS/Language/classes/class.ilObjLanguageDBAccess.php
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"INSERT INTO lng_modules (module, lang_key, lang_array) VALUES "2
  • /components/ILIAS/Language/classes/class.ilObjLanguageDBAccess.php
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"DELETE FROM lng_modules WHERE lang_key = %s AND $inModulesToDelete"2
  • /components/ILIAS/Language/classes/class.ilObjLanguageDBAccess.php
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"DELETE FROM lng_data WHERE lang_key = " . $ilDB->quote($a_lang_key, "text")2
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"DELETE FROM lng_data WHERE lang_key = " . $ilDB->quote($a_lang_key, "text") . " AND local_change IS NULL"2
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"DELETE FROM lng_modules WHERE lang_key = " . $ilDB->quote($this->key, "text")2
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
  • /components/ILIAS/Language/classes/class.ilObjLanguageExt.php
"SELECT * FROM lng_data WHERE lang_key = %s " . "AND local_change >= %s AND local_change <= %s"2
  • /components/ILIAS/Language/classes/class.ilObjLanguage.php
  • /components/ILIAS/Language/classes/Setup/class.ilSetupLanguage.php
"SELECT * FROM lng_modules " . "WHERE lang_key = %s AND module = %s"2
  • /components/ILIAS/Language/classes/class.ilObjLanguageExt.php (2)
"SELECT * FROM style_char " . " WHERE style_id = %s AND type = %s AND characteristic = %s"2
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_char_title " . " WHERE style_id = %s AND type = %s AND characteristic = %s "2
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php (2)
"SELECT * FROM style_parameter " . " WHERE style_id = %s AND class = %s AND type = %s"2
  • /components/ILIAS/Style/Content/Characteristic/class.CharacteristicDBRepo.php
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php
"SELECT * FROM style_data " . " WHERE id = " . $ilDB->quote($a_id, "integer")2
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php (2)
"INSERT INTO style_data (id, uptodate, category) VALUES " . "(" . $ilDB->quote($this->getId( ), "integer") . ", 0," . $ilDB->quote($this->getScope( ), "integer") . ")"2
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php (2)
"DELETE FROM style_template_class WHERE " . "template_id = " . $ilDB->quote($a_t_id, "integer")2
  • /components/ILIAS/Style/Content/classes/class.ilObjStyleSheet.php (2)
' UPDATE usr_data SET reg_hash = %s WHERE usr_id = %s'2
  • /components/ILIAS/User/classes/class.ilObjUser.php (2)
'SELECT * FROM settings WHERE module = %s AND keyword = %s'2
  • /components/ILIAS/User/src/Setup/DBUpdateSteps10.php (2)
"DELETE FROM tst_solutions WHERE active_fi = %s AND question_fi = %s AND pass = %s"2
  • /components/ILIAS/soap/classes/class.ilSoapTestAdministration.php (2)
"SELECT MAX(pass) maxpass FROM tst_test_result WHERE active_fi = %s AND question_fi = %s"2
  • /components/ILIAS/soap/classes/class.ilSoapTestAdministration.php
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php
"SELECT bl.id,od.title,od.description," . "bl.bg_color,bl.font_color,bl.img,bl.ppic,bl.rss_active,bl.approval," . "bl.abs_shorten,bl.abs_shorten_len,bl.abs_image,bl.abs_img_width,bl.abs_img_height," . "bl.nav_mode,bl.nav_list_mon_with_post,bl.nav_list_mon,bl.keywords,bl.authors,bl.nav_order," . "bl.ov_post" . " FROM il_blog bl" . " JOIN object_data od ON (od.obj_id = bl.id)" . " WHERE " . $ilDB->in("bl.id", $a_ids, false, "integer") . " AND od.type = " . $ilDB->quote("blog", "text")2
  • /components/ILIAS/Blog/Export/class.ilBlogDataSet.php (2)
"SELECT value FROM container_settings WHERE " . " id = " . $ilDB->quote($a_id, 'integer') . " AND " . " keyword = " . $ilDB->quote($a_keyword, 'text')2
  • /components/ILIAS/Container/classes/class.ilContainer.php (2)
"SELECT sort_mode FROM container_sorting_set " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " "2
  • /components/ILIAS/Container/Sorting/class.ilContainerSortingSettings.php (2)
'SELECT * FROM frm_user_read WHERE usr_id = %s AND post_id = %s'2
  • /components/ILIAS/Forum/classes/class.ilForumPost.php
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
'SELECT pos_message FROM frm_posts WHERE pos_pk = %s'2
  • /components/ILIAS/Forum/classes/class.ilForumPost.php
  • /components/ILIAS/Forum/classes/class.ilForum.php
'SELECT pos_thr_fk, pos_pk FROM frm_posts WHERE pos_top_fk = %s ORDER BY pos_date DESC'2
  • /components/ILIAS/Forum/classes/class.ilForum.php (2)
'SELECT * FROM frm_posts WHERE pos_thr_fk = %s'2
  • /components/ILIAS/Forum/classes/class.ilForum.php
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
'UPDATE frm_threads SET thr_last_post = %s WHERE thr_pk = %s'2
  • /components/ILIAS/Forum/classes/class.ilForum.php
  • /components/ILIAS/Forum/classes/class.ilForumXMLParser.php
'SELECT pos_fk FROM frm_posts_tree WHERE lft BETWEEN %s AND %s AND thr_fk = %s'2
  • /components/ILIAS/Forum/classes/class.ilForum.php (2)
'SELECT thr_subject FROM frm_threads WHERE thr_pk = %s'2
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
" SELECT frmd.top_pk, objr.ref_id, objr.obj_id FROM object_reference objr INNER JOIN frm_data frmd ON frmd.top_frm_fk = objr.obj_id WHERE $in "2
  • /components/ILIAS/Forum/classes/class.ilObjForum.php (2)
'DELETE FROM frm_notification WHERE user_id = %s AND thread_id = %s'2
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
  • /components/ILIAS/Forum/tests/ilForumTopicTest.php
'SELECT * FROM frm_posts_drafts WHERE draft_id = %s'2
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php (2)
'DELETE FROM frm_posts_drafts WHERE ' . $this->db->in('draft_id', $draft_ids, false, 'integer')2
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php (2)
' INSERT INTO frm_notification (notification_id, user_id, frm_id, admin_force_noti, user_toggle_noti, user_id_noti) VALUES(%s, %s, %s, %s, %s, %s)'2
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php
' DELETE FROM frm_notification WHERE user_id = %s AND frm_id = %s AND admin_force_noti = %s AND user_id_noti > %s'2
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php
' DELETE FROM frm_notification WHERE user_id = %s AND frm_id = %s AND admin_force_noti = %s AND user_toggle_noti = %s AND user_id_noti > %s'2
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php
'UPDATE frm_notification SET user_toggle_noti = %s WHERE user_id = %s AND frm_id = %s AND admin_force_noti = %s'2
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php
'UPDATE frm_notification SET admin_force_noti = %s, user_toggle_noti = %s, ' . 'interested_events = %s WHERE user_id = %s AND frm_id = %s'2
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php
'DELETE FROM frm_notification WHERE frm_id = %s AND user_id_noti > %s'2
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php
'SELECT * FROM frm_notification WHERE frm_id = %s'2
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php
'SELECT notification_id, user_id FROM frm_notification WHERE frm_id = %s AND thread_id = %s ORDER BY user_id ASC'2
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php
'SELECT DISTINCT user_id FROM frm_notification WHERE frm_id = %s AND thread_id = %s ORDER BY user_id ASC'2
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php
'DELETE FROM frm_notification WHERE notification_id = %s'2
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php
'SELECT user_id FROM frm_notification WHERE user_id = %s AND frm_id = %s AND admin_force_noti = %s'2
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php
"DELETE FROM il_verification" . " WHERE id = " . $ilDB->quote($this->id, "integer")2
  • /components/ILIAS/Verification/classes/class.ilVerificationObject.php (2)
'DELETE FROM object_data WHERE type = %s AND title = %s'2
  • /components/ILIAS/Chatroom/classes/class.ilChatroomInstaller.php (2)
"DELETE FROM chatroom_admconfig WHERE instance_id = %s"2
  • /components/ILIAS/Chatroom/classes/class.ilChatroomAdmin.php (2)
" INSERT INTO chatroom_admconfig (instance_id, server_settings, default_config, client_settings) VALUES (%s, %s, %s, %s)"2
  • /components/ILIAS/Chatroom/classes/class.ilChatroomAdmin.php (2)
'SELECT * FROM ' . self::$settingsTable . ' WHERE instance_id = ' . $DIC->database( )->quote($this->config_id, 'integer')2
  • /components/ILIAS/Chatroom/classes/class.ilChatroomAdmin.php (2)
"SELECT id FROM il_exc_team " . " WHERE ass_id = %s AND user_id = %s"2
  • /components/ILIAS/Exercise/TutorFeedbackFile/TutorFeedbackFileTeamRepository.php
  • /components/ILIAS/Exercise/Team/TeamDBRepository.php
"SELECT feedback_rcid FROM exc_team_data " . " WHERE id = %s"2
  • /components/ILIAS/Exercise/TutorFeedbackFile/TutorFeedbackFileTeamRepository.php (2)
"SELECT * FROM exc_assignment " . " WHERE exc_id = " . $ilDB->quote($a_exc_id, "integer") . " ORDER BY order_nr"2
  • /components/ILIAS/Exercise/Assignment/class.ilExAssignment.php (2)
"DELETE FROM exc_members " . "WHERE obj_id = " . $ilDB->quote($this->getObjId( ), "integer") . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, "integer") . " "2
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php (2)
"SELECT * FROM exc_members " . "WHERE obj_id = " . $ilDB->quote($this->getObjId( ), "integer")2
  • /components/ILIAS/Exercise/Members/classes/class.ilExerciseMembers.php (2)
"SELECT tax_tree_id FROM tax_tree " . " WHERE child = " . $ilDB->quote($a_node_id, "integer")2
  • /components/ILIAS/Taxonomy/classes/class.ilTaxNodeAssignment.php (2)
"SELECT * FROM " . self::DB_TABLE_NAME . " WHERE obj_id = %s"2
  • /components/ILIAS/CmiXapi/classes/class.ilObjCmiXapi.php
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
"SELECT * FROM " . ilCmiXapiLrsType::getDbTableName( )2
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiLrsTypeList.php (2)
"SELECT * FROM " . self::DB_TABLE_NAME . " WHERE obj_id = %s AND usr_id = %s"2
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiUser.php
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiAuthToken.php
" DELETE FROM " . self::DB_TABLE_NAME . " WHERE obj_id = %s AND ref_id = %s AND usr_id = %s "2
  • /components/ILIAS/CmiXapi/classes/class.ilCmiXapiAuthToken.php (2)
"SELECT glossary_definition.id AS glo_def_id, glossary_definition.term_id AS glo_def_term_id, " . " glossary_definition.short_text, glossary_definition.short_text_dirty, " . " glossary_term.id AS glo_term_id, glossary_term.glo_id, glossary_term.term, glossary_term.language, " . " glossary_term.create_date, glossary_term.last_update " . " FROM glossary_definition JOIN glossary_term " . " WHERE glossary_definition.term_id = glossary_term.id " . " ORDER BY glossary_term.glo_id, glossary_term.id, glossary_definition.id"2
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryDefinitionMigration.php (2)
"SELECT * FROM glossary_definition WHERE migration = " . $this->db->quote("0", "integer")2
  • /components/ILIAS/Glossary/classes/Setup/class.ilGlossaryDefinitionMigration.php (2)
"SELECT * FROM map_area WHERE item_id = " . $ilDB->quote($a_item_id, "integer")2
  • /components/ILIAS/MediaObjects/ImageMap/class.ilMapArea.php (2)
'SELECT dtpl.id FROM didactic_tpl_settings dtpl '2
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSettings.php (2)
'DELETE FROM didactic_tpl_sa ' . 'WHERE id = ' . $this->db->quote($this->getId( ), 'integer')2
  • /components/ILIAS/DidacticTemplate/classes/Setting/class.ilDidacticTemplateSetting.php (2)
"SELECT status FROM ut_lp_marks WHERE " . " status_dirty = " . $ilDB->quote(0, "integer") . " AND usr_id = " . $ilDB->quote($a_user_id, "integer") . " AND obj_id = " . $ilDB->quote($a_obj_id, "integer")2
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php (2)
"SELECT status_changed FROM ut_lp_marks WHERE " . " status_dirty = " . $ilDB->quote(0, "integer") . " AND usr_id = " . $ilDB->quote($a_user_id, "integer") . " AND obj_id = " . $ilDB->quote($a_obj_id, "integer")2
  • /components/ILIAS/Tracking/classes/class.ilLPStatus.php (2)
'SELECT * FROM read_event ' . 'WHERE obj_id = %s ' . 'AND usr_id = %s '2
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php (2)
"SELECT COUNT(*) AS counter FROM obj_stat_log"2
  • /components/ILIAS/Tracking/classes/class.ilChangeEvent.php (2)
"SELECT DISTINCT(usr_id) user_id FROM ut_lp_marks " . "WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " " . "AND completed = '1' "2
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusManual.php
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusManualByTutor.php
"SELECT usr_id FROM ut_lp_marks " . "WHERE obj_id = " . $this->db->quote($a_obj_id, 'integer') . " " . "AND usr_id = " . $this->db->quote($a_usr_id, 'integer') . " " . "AND completed = '1' "2
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusManual.php
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusManualByTutor.php
"SELECT obj_id FROM read_event" . " WHERE usr_id = " . $this->db->quote($a_usr_id, "integer") . " AND " . $this->db->in("obj_id", $items, false, "integer")2
  • /components/ILIAS/Tracking/classes/status/class.ilLPStatusCollectionMobs.php (2)
"SELECT * FROM il_media_cast_data WHERE id = " . $ilDB->quote($a_id)2
  • /components/ILIAS/MediaCast/classes/class.ilObjMediaCastAccess.php (2)
"SELECT * FROM il_media_cast_data_ord" . " WHERE " . $ilDB->in("obj_id", $a_ids, false, "integer") . " ORDER BY pos"2
  • /components/ILIAS/MediaCast/classes/class.ilMediaCastDataSet.php (2)
"UPDATE settings SET value2 = value"2
  • /components/ILIAS/Administration/classes/class.ilSetting.php (2)
"SELECT " . "iassme.obj_id," . "iassme.usr_id," . "iassme.examiner_id," . "iassme.record," . "iassme.internal_note," . "iassme.notify," . "iassme.notification_ts," . "iassme.learning_progress," . "iassme.finalized," . "iassme.place," . "iassme.event_time," . "iassme.user_view_file," . "iassme.file_name," . "iassme.changer_id," . "iassme.change_time," . "usr.login AS user_login," . "ex.login AS examiner_login" . " FROM " . ilIndividualAssessmentMembersStorageDB::MEMBERS_TABLE . " iassme\n" . " JOIN usr_data usr ON iassme.usr_id = usr.usr_id\n" . " LEFT JOIN usr_data ex ON iassme.examiner_id = ex.usr_id\n" . " WHERE obj_id = 22\n" . " AND iassme.usr_id = 33"2
  • /components/ILIAS/IndividualAssessment/tests/Members/ilIndividualAssessmentMembersStorageDBTest.php (2)
"SELECT * FROM " . $this->db->quoteIdentifier(self::TABLE_NAME)2
  • /components/ILIAS/Export/classes/ExportHandler/Repository/Wrapper/DB/Handler.php
  • /components/ILIAS/Export/classes/ExportHandler/PublicAccess/Repository/Wrapper/DB/Handler.php
'SELECT * FROM ' . self::TABLE_NAME2
  • /components/ILIAS/WOPI/classes/Discovery/AppDBRepository.php
  • /components/ILIAS/WOPI/classes/Discovery/ActionDBRepository.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE name = %s'2
  • /components/ILIAS/WOPI/classes/Discovery/AppDBRepository.php
  • /components/ILIAS/WOPI/classes/Discovery/ActionDBRepository.php
'SELECT * FROM ' . self::TABLE_NAME . ' WHERE id = %s'2
  • /components/ILIAS/WOPI/classes/Discovery/AppDBRepository.php
  • /components/ILIAS/WOPI/classes/Discovery/ActionDBRepository.php
"SELECT finished_id FROM svy_finished WHERE survey_fi = %s"2
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php (2)
"DELETE FROM svy_answer WHERE active_fi = %s"2
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php (2)
"DELETE FROM svy_times WHERE finished_fi = %s"2
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php (2)
"SELECT * FROM svy_finished" . " WHERE survey_fi = " . $ilDB->quote($this->getSurveyId( ), "integer")2
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php (2)
"SELECT * FROM svy_svy WHERE obj_fi = %s"2
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php
  • /components/ILIAS/Survey/classes/class.ilObjSurveyAccess.php
"SELECT * FROM svy_svy_qst WHERE survey_fi = %s ORDER BY sequence"2
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php (2)
"SELECT constraint_fi FROM svy_qst_constraint WHERE question_fi = %s AND survey_fi = %s"2
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php (2)
"DELETE FROM svy_qblk WHERE questionblock_id = %s"2
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php (2)
"DELETE FROM svy_qblk_qst WHERE questionblock_fi = %s AND survey_fi = %s"2
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php (2)
"INSERT INTO svy_qblk_qst (qblk_qst_id, survey_fi, questionblock_fi, " . "question_fi) VALUES (%s, %s, %s, %s)"2
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php (2)
"UPDATE svy_svy_qst SET heading=%s WHERE survey_fi=%s AND question_fi=%s"2
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php (2)
"SELECT survey_fi FROM svy_finished " . " WHERE user_fi = %s AND state = %s"2
  • /components/ILIAS/Survey/Execution/class.RunDBRepository.php (2)
"SELECT * FROM lm_data WHERE obj_id = " . $ilDB->quote($a_id, "integer")2
  • /components/ILIAS/LearningModule/classes/class.ilLMObjectFactory.php
  • /components/ILIAS/LearningModule/classes/class.ilLMObject.php
"SELECT for_translation FROM content_object WHERE id = " . $ilDB->quote($rec["lm_id"], "integer")2
  • /components/ILIAS/LearningModule/classes/class.ilLearningModuleDataSet.php (2)
"SELECT for_translation FROM content_object WHERE id = " . $ilDB->quote($rec3["lm_id"], "integer")2
  • /components/ILIAS/LearningModule/classes/class.ilLearningModuleDataSet.php (2)
"DELETE FROM lm_glossaries WHERE " . " lm_id = " . $ilDB->quote($this->getId( ), "integer")2
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php (2)
"SELECT * FROM lm_tree WHERE lm_tree.lm_id = " . $ilDB->quote($this->getId( ), "integer")2
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php (2)
"SELECT * FROM lm_data WHERE obj_id = " . $ilDB->quote($node["child"], "integer")2
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php (2)
"SELECT * FROM lm_data WHERE obj_id = " . $ilDB->quote($node["parent"], "integer")2
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php (2)
"SELECT DISTINCT l1.lm_id" . " FROM lm_tree l1" . " JOIN lm_tree l2 ON ( l1.child = l2.child AND l1.lm_id <> l2.lm_id )" . " JOIN lm_data ON (l1.child = lm_data.obj_id)" . " WHERE l1.child <> 1" . " AND l1.lm_id <> lm_data.lm_id" . " AND l1.lm_id = " . $ilDB->quote($this->getId( ), "integer")2
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php (2)
"SELECT DISTINCT l1.child " . " FROM lm_tree l1" . " JOIN lm_tree l2 ON ( l1.child = l2.child AND l1.lm_id <> l2.lm_id )" . " JOIN lm_data ON (l1.child = lm_data.obj_id)" . " WHERE l1.child <> 1" . " AND l1.lm_id <> lm_data.lm_id" . " AND l1.lm_id = " . $ilDB->quote($this->getId( ), "integer")2
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php (2)
"SELECT * FROM lm_data " . " WHERE lm_id = %s AND type = %s"2
  • /components/ILIAS/LearningModule/classes/class.ilObjContentObject.php (2)
"SELECT style_id, type, characteristic, hide" . PHP_EOL . "FROM style_char" . PHP_EOL . "WHERE style_id = " . $db->quote($row["obj_id"], "integer") . PHP_EOL . "AND characteristic = " . $db->quote($class, "text") . PHP_EOL . "AND type = " . $db->quote($type, "text") . PHP_EOL2
  • /components/ILIAS/Migration/DBUpdate_3136/classes/class.ilDBUpdate3136.php (2)
'SELECT * FROM usr_session WHERE session_id = e10adc3949ba59abbe56e057f20f883e'2
  • /components/ILIAS/Authentication/tests/ilSessionTest.php (2)
'SELECT href_id FROM il_meta_oer_stat WHERE obj_id = ' . $this->quoteInteger($obj_id)2
  • /components/ILIAS/MetaData/classes/OERHarvester/ResourceStatus/DatabaseRepository.php (2)
'SELECT obj_id FROM il_meta_oer_stat WHERE href_id > 0'2
  • /components/ILIAS/MetaData/classes/OERHarvester/ResourceStatus/DatabaseRepository.php
  • /components/ILIAS/MetaData/tests/OERHarvester/ResourceStatus/RepositoryTest.php
'SELECT MIN(datestamp) AS earliest FROM il_meta_oer_exposed'2
  • /components/ILIAS/MetaData/classes/OERHarvester/ExposedRecords/DatabaseRepository.php
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php
'SELECT rbac_id, obj_id FROM ' . $this->db->quoteIdentifier($table) . ' WHERE obj_type = ' . $this->quotedObjectType( )2
  • /components/ILIAS/MetaData/classes/Setup/DeleteLOMForObjectTypeMigration.php (2)
'SELECT * FROM il_md_cpr_selections ORDER BY is_default DESC, position ASC'2
  • /components/ILIAS/MetaData/classes/Copyright/DatabaseRepository.php
  • /components/ILIAS/MetaData/tests/Copyright/DatabaseRepositoryTest.php
'SELECT * FROM il_md_cpr_selections WHERE outdated = 0 ORDER BY is_default DESC, position ASC'2
  • /components/ILIAS/MetaData/classes/Copyright/DatabaseRepository.php
  • /components/ILIAS/MetaData/tests/Copyright/DatabaseRepositoryTest.php
'SELECT * FROM il_md_cpr_selections WHERE is_default = 1'2
  • /components/ILIAS/MetaData/classes/Copyright/DatabaseRepository.php
  • /components/ILIAS/MetaData/tests/Copyright/DatabaseRepositoryTest.php
'SELECT entry_id FROM il_md_cpr_selections WHERE is_default = 1'2
  • /components/ILIAS/MetaData/classes/Copyright/DatabaseRepository.php
  • /components/ILIAS/MetaData/tests/Copyright/DatabaseRepositoryTest.php
'SELECT ~identifier:p1t1~.rbac_id, ~identifier:p1t1~.obj_id, ~identifier:p1t1~.obj_type ' . 'FROM ~identifier:table1_name~ AS ~identifier:p1t1~ JOIN ' . '~identifier:table2_name~ AS ~identifier:p1t2~ ON ' . '~identifier:p1t1~.rbac_id = ~identifier:p1t2~.rbac_id AND ' . '~identifier:p1t1~.obj_id = ~identifier:p1t2~.obj_id AND ' . '~identifier:p1t1~.obj_type = ~identifier:p1t2~.obj_type AND ' . 'p1t1.~identifier:table1_id~ = ~identifier:p1t2~.parent_id AND ' . '~text:table1~ = ~identifier:p1t2~.parent_type'2
  • /components/ILIAS/MetaData/tests/Repository/Utilities/Queries/Paths/DatabasePathsParserTest.php (2)
'SELECT ~identifier:base~.rbac_id, ~identifier:base~.obj_id, ~identifier:base~.obj_type ' . 'FROM il_meta_general AS base LEFT JOIN (' . '~identifier:table1_name~ AS ~identifier:p1t1~ JOIN ' . '~identifier:table2_name~ AS ~identifier:p1t2~ ON ' . '~identifier:p1t1~.rbac_id = ~identifier:p1t2~.rbac_id AND ' . '~identifier:p1t1~.obj_id = ~identifier:p1t2~.obj_id AND ' . '~identifier:p1t1~.obj_type = ~identifier:p1t2~.obj_type AND ' . 'p1t1.~identifier:table1_id~ = ~identifier:p1t2~.parent_id AND ' . '~text:table2~ = ~identifier:p1t2~.parent_type) ON ' . '~identifier:base~.rbac_id = ~identifier:p1t1~.rbac_id AND ' . '~identifier:base~.obj_id = ~identifier:p1t1~.obj_id AND ' . '~identifier:base~.obj_type = ~identifier:p1t1~.obj_type LEFT JOIN ' . '(~identifier:table1_name~ AS ~identifier:p2t1~) ON ' . '~identifier:base~.rbac_id = ~identifier:p2t1~.rbac_id AND ' . '~identifier:base~.obj_id = ~identifier:p2t1~.obj_id AND ' . '~identifier:base~.obj_type = ~identifier:p2t1~.obj_type'2
  • /components/ILIAS/MetaData/tests/Repository/Utilities/Queries/Paths/DatabasePathsParserTest.php (2)
'delete should not be prepared!'2
  • /components/ILIAS/MetaData/tests/Repository/IdentifierHandler/IdentifierHandlerTest.php
  • /components/ILIAS/MetaData/tests/Services/Derivation/Creation/CreatorTest.php
'SELECT * FROM il_meta_oer_exposed WHERE identifier = ~string:id456~'2
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php (2)
'SELECT COUNT(*) AS num FROM il_meta_oer_exposed WHERE identifier = ~string:some id~'2
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php (2)
'SELECT ' . 'COUNT(*) AS num FROM il_meta_oer_exposed WHERE obj_id = ~int:43~'2
  • /components/ILIAS/MetaData/tests/OERHarvester/ExposedRecords/RepositoryAndDataTest.php (2)
'SELECT * ' . 'FROM il_md_cpr_selections WHERE entry_id = ~5~'2
  • /components/ILIAS/MetaData/tests/Copyright/DatabaseRepositoryTest.php (2)
"SELECT pref_booking_hash FROM booking_settings " . " WHERE booking_pool_id = %s "2
  • /components/ILIAS/BookingManager/Preferences/class.ilBookingPrefBasedBookGatewayRepository.php (2)
'UPDATE usr_pref SET keyword = %s WHERE keyword = %s'2
  • /components/ILIAS/Notifications/classes/Setup/ilNotificationUpdateSteps.php (2)
'UPDATE notification_osd SET type = %s WHERE type = %s AND serialized LIKE %s'2
  • /components/ILIAS/Notifications/classes/Setup/ilNotificationUpdateSteps.php (2)
"SELECT * FROM qpl_fb_specific WHERE question_fi = %s"2
  • /components/ILIAS/TestQuestionPool/classes/class.assMultipleChoice.php
  • /components/ILIAS/TestQuestionPool/classes/class.assSingleChoice.php
"INSERT INTO qpl_fb_specific (feedback_id, question_fi, answer, tstamp, feedback, question) VALUES (%s, %s, %s, %s, %s, %s)"2
  • /components/ILIAS/TestQuestionPool/classes/class.assMultipleChoice.php
  • /components/ILIAS/TestQuestionPool/classes/class.assSingleChoice.php
'DELETE FROM ' . $this->getAdditionalTableName( ) . ' WHERE question_fi = %s'2
  • /components/ILIAS/TestQuestionPool/classes/class.assImagemapQuestion.php
  • /components/ILIAS/TestQuestionPool/classes/class.assFileUpload.php
'SELECT qpl_questions.*, ' . $this->getAdditionalTableName( ) . '.* FROM qpl_questions LEFT JOIN ' . $this->getAdditionalTableName( ) . ' ON ' . $this->getAdditionalTableName( ) . '.question_fi = qpl_questions.question_id WHERE qpl_questions.question_id = %s'2
  • /components/ILIAS/TestQuestionPool/classes/class.assImagemapQuestion.php
  • /components/ILIAS/TestQuestionPool/classes/class.assFileUpload.php
"DELETE FROM $table WHERE question_fi = %s"2
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php (2)
"SELECT obj_fi FROM qpl_questions WHERE question_id = %s"2
  • /components/ILIAS/TestQuestionPool/classes/class.assQuestion.php (2)
"SELECT value1 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s AND step = %s"2
  • /components/ILIAS/TestQuestionPool/classes/class.assNumeric.php
  • /components/ILIAS/TestQuestionPool/classes/class.assOrderingHorizontal.php
"SELECT value1 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s"2
  • /components/ILIAS/TestQuestionPool/classes/class.assNumeric.php
  • /components/ILIAS/TestQuestionPool/classes/class.assOrderingHorizontal.php
"DELETE FROM il_qpl_qst_fq_res WHERE question_fi = %s"2
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php (2)
"DELETE FROM il_qpl_qst_fq_res_unit WHERE question_fi = %s"2
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php (2)
"DELETE FROM tst_solutions WHERE solution_id = %s AND authorized = %s"2
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php (2)
"SELECT value1, value2 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s AND step = %s"2
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
  • /components/ILIAS/TestQuestionPool/classes/class.assMatchingQuestion.php
"SELECT value1, value2 FROM tst_solutions WHERE active_fi = %s AND pass = %s AND question_fi = %s"2
  • /components/ILIAS/TestQuestionPool/classes/class.assFormulaQuestion.php
  • /components/ILIAS/TestQuestionPool/classes/class.assMatchingQuestion.php
'SELECT * FROM qpl_qst_type'2
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php (2)
"DELETE FROM {$this->getGenericFeedbackTableName( )} WHERE question_fi = %s"2
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssQuestionFeedback.php (2)
"SELECT * FROM {$this->getGenericFeedbackTableName( )} WHERE question_fi = %s"2
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssQuestionFeedback.php (2)
"DELETE FROM {$this->getSpecificFeedbackTableName( )} WHERE question_fi = %s"2
  • /components/ILIAS/TestQuestionPool/classes/feedback/class.ilAssMultiOptionQuestionFeedback.php (2)
"DELETE FROM $table WHERE " . "component = " . $ilDB->quote($this->getComponent( ), "text") . " AND name = " . $ilDB->quote($this->getName( ), "text")2
  • /components/ILIAS/Cache_/classes/class.ilCache.php (2)
"SELECT * FROM obj_members " . "WHERE obj_id = " . $this->ilDB->quote($this->obj_id, 'integer') . " " . "AND usr_id = " . $this->ilDB->quote($a_usr_id, 'integer')2
  • /components/ILIAS/Membership/classes/class.ilParticipants.php (2)
"UPDATE il_poll SET migrated = 1 WHERE id = " . $this->db->quote($id, ilDBConstants::T_INTEGER)2
  • /components/ILIAS/Poll/classes/Setup/class.ilPollImagesMigration.php (2)
"DELETE FROM " . self::COLLECTION_ASSIGNMENT_TABLE_NAME . " WHERE " . self::C_IDENTIFICATION . " = %s"2
  • /components/ILIAS/ResourceStorage/classes/CollectionDBRepository.php (2)
"SELECT " . self::IDENTIFICATION . " FROM " . self::TABLE_NAME . " WHERE " . self::IDENTIFICATION . " = %s AND version_number = %s"2
  • /components/ILIAS/ResourceStorage/classes/InformationDBRepository.php
  • /components/ILIAS/ResourceStorage/classes/RevisionDBRepository.php
"DELETE FROM " . self::TABLE_NAME . " WHERE " . self::IDENTIFICATION . " = %s AND version_number = %s"2
  • /components/ILIAS/ResourceStorage/classes/InformationDBRepository.php
  • /components/ILIAS/ResourceStorage/classes/RevisionDBRepository.php
"SELECT * FROM " . self::TABLE_NAME . " WHERE " . $this->db->in(self::IDENTIFICATION, $identification_strings, false, 'text')2
  • /components/ILIAS/ResourceStorage/classes/InformationDBRepository.php
  • /components/ILIAS/ResourceStorage/classes/RevisionDBRepository.php
'DELETE FROM il_resource_rca WHERE rcid = %s AND rid NOT IN("rid_one", "rid_one")'2
  • /components/ILIAS/ResourceStorage/tests/Collection/CollectionRepositoryTest.php (2)
'SELECT cp_node_id FROM cp_node WHERE nodename = %s AND cp_node.slm_id = %s'2
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004Tracking.php
'SELECT user_id, cp_node_id, ' . 'audio_captioning, audio_level, completion_status, completion_threshold, credit, delivery_speed, ' . 'c_entry, c_exit, c_language, location as c_location, c_mode, progress_measure, c_max, c_min, c_raw, scaled, ' . 'scaled_passing_score, session_time, success_status, total_time, c_timestamp, suspend_data, launch_data ' . 'FROM cmi_node ' . 'WHERE ' . $ilDB->in('cp_node_id', $a_sco, false, 'integer') . ' ' . 'AND ' . $ilDB->in('user_id', $a_user, false, 'integer') . ' ' . 'ORDER BY '2
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004TrackingItems.php (2)
'SELECT cp_node.cp_node_id id, cmi_node.completion_status completion, cmi_node.success_status success FROM cp_node, cmi_node WHERE ' . $in . ' AND cp_node.cp_node_id = cmi_node.cp_node_id AND cp_node.slm_id = %s AND cmi_node.user_id = %s'2
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004Tracking.php (2)
'SELECT jsdata FROM cp_package WHERE obj_id = %s'2
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php (2)
'SELECT data FROM cp_suspend WHERE obj_id = %s AND user_id = %s'2
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php (2)
'SELECT id, image, image_rid FROM ' . self::TABLE_NAME . " WHERE image_rid IS NULL OR image_rid = ''"2
  • /components/ILIAS/Badge/classes/Setup/class.ilBadgeTemplatesFilesMigration.php
  • /components/ILIAS/Badge/classes/Setup/class.ilBadgesFilesMigration.php
'SELECT COUNT(id) as amount FROM ' . self::TABLE_NAME . " WHERE image_rid IS NULL OR image_rid = ''"2
  • /components/ILIAS/Badge/classes/Setup/class.ilBadgeTemplatesFilesMigration.php
  • /components/ILIAS/Badge/classes/Setup/class.ilBadgesFilesMigration.php
'SELECT * FROM ' . $this->getTree( )->getTreeTable( ) . ' ' . 'WHERE child = %s ' . 'AND ' . $this->getTree( )->getTreePk( ) . ' = %s '3
  • /components/ILIAS/Tree/classes/class.ilNestedSetTree.php (3)
"Show $range_length entries starting at $range_offset"3
  • /components/ILIAS/UI/src/examples/ViewControl/Pagination/many_pages_dropdown.php
  • /components/ILIAS/UI/src/examples/ViewControl/Pagination/many_pages.php
  • /components/ILIAS/UI/src/examples/ViewControl/Pagination/base.php
'Show Prompt'3
  • /components/ILIAS/UI/src/examples/Prompt/State/Close/base.php
  • /components/ILIAS/UI/src/examples/Prompt/State/Show/base.php
  • /components/ILIAS/UI/src/examples/Prompt/State/Redirect/base.php
"SELECT * FROM svy_svy WHERE obj_fi=%s"3
  • /components/ILIAS/Survey/classes/class.ilObjSurveyAccess.php (2)
  • /components/ILIAS/Repository/classes/class.ilRepositoryExplorer.php
"UPDATE tst_active SET submitted = %s, submittimestamp = %s WHERE active_id = %s"3
  • /components/ILIAS/Test/classes/class.ilObjTest.php (3)
"SELECT test_id FROM tst_tests WHERE obj_fi = %s"3
  • /components/ILIAS/Test/classes/class.ilObjTest.php (2)
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php
"SELECT obj_fi FROM tst_tests WHERE test_id = %s"3
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php (2)
  • /components/ILIAS/Test/classes/class.ilObjTest.php
"SELECT tst_result_cache.* FROM tst_result_cache, tst_active, tst_tests WHERE tst_active.test_fi = tst_tests.test_id AND tst_active.user_fi = %s AND tst_tests.obj_fi = %s AND tst_result_cache.active_fi = tst_active.active_id"3
  • /components/ILIAS/Test/classes/class.ilObjTestAccess.php (3)
"SELECT obj_fi FROM svy_question WHERE question_id = %s"3
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php (2)
  • /components/ILIAS/SurveyQuestionPool/classes/class.ilObjSurveyQuestionPool.php
"SELECT svy_variable.*, svy_category.title, svy_category.neutral FROM svy_variable, svy_category WHERE svy_variable.question_fi = %s AND svy_variable.category_fi = svy_category.category_id ORDER BY sequence ASC"3
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveySingleChoiceQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMultipleChoiceQuestion.php
"INSERT INTO svy_variable (variable_id, category_fi, question_fi, value1, other, sequence, scale, tstamp) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)"3
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveySingleChoiceQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMultipleChoiceQuestion.php
"DELETE FROM svy_constraint WHERE constraint_id = %s"3
  • /components/ILIAS/Survey/classes/class.ilObjSurvey.php (2)
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
"SELECT typ_id" . PHP_EOL . "FROM rbac_ta" . PHP_EOL . "WHERE typ_id = " . $ilDB->quote($type_id, "integer") . PHP_EOL . "AND ops_id = " . $ilDB->quote($ops_id, "integer") . PHP_EOL3
  • /components/ILIAS/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php (2)
  • /components/ILIAS/AccessControl/classes/class.ilRbacReview.php
'DELETE FROM ' . self::TABLE_NAME3
  • /components/ILIAS/GlobalScreen_/classes/UI/Footer/Groups/GroupsRepositoryDB.php
  • /components/ILIAS/WOPI/classes/Discovery/AppDBRepository.php
  • /components/ILIAS/WOPI/classes/Discovery/ActionDBRepository.php
"SELECT * FROM object_translation WHERE obj_id = " . $ilDB->quote($this->getId( ), 'integer') . " ORDER BY lang_default DESC"3
  • /components/ILIAS/RootFolder/classes/class.ilObjRootFolder.php
  • /components/ILIAS/SystemFolder/classes/class.ilObjSystemFolder.php
  • /components/ILIAS/WorkspaceRootFolder/classes/class.ilObjWorkspaceRootFolder.php
"DELETE FROM object_translation WHERE obj_id= " . $ilDB->quote($this->getId( ), 'integer')3
  • /components/ILIAS/RootFolder/classes/class.ilObjRootFolder.php
  • /components/ILIAS/SystemFolder/classes/class.ilObjSystemFolder.php
  • /components/ILIAS/WorkspaceRootFolder/classes/class.ilObjWorkspaceRootFolder.php
"INSERT INTO object_translation " . "(obj_id,title,description,lang_code,lang_default) " . "VALUES " . "(" . $ilDB->quote($this->getId( ), 'integer') . "," . $ilDB->quote($a_title, 'text') . "," . $ilDB->quote($a_desc, 'text') . "," . $ilDB->quote($a_lang, 'text') . "," . $ilDB->quote($a_lang_default, 'integer') . ")"3
  • /components/ILIAS/RootFolder/classes/class.ilObjRootFolder.php
  • /components/ILIAS/SystemFolder/classes/class.ilObjSystemFolder.php
  • /components/ILIAS/WorkspaceRootFolder/classes/class.ilObjWorkspaceRootFolder.php
"SELECT value FROM settings " . " WHERE module = %s AND keyword = %s"3
  • /components/ILIAS/Wiki/Setup/class.AccessRBACOperationClonedObjective.php
  • /components/ILIAS/BookingManager/classes/Setup/AccessRBACOperationClonedObjective.php
  • /components/ILIAS/Help/Setup/class.ilHelpDBUpdateSteps.php
'DELETE FROM settings WHERE module = %s AND keyword = %s'3
  • /components/ILIAS/Notifications/classes/Setup/ilNotificationUpdateSteps.php (2)
  • /components/ILIAS/User/src/Setup/DBUpdateSteps10.php
"SELECT tst_tests.random_test FROM tst_active, tst_tests WHERE tst_active.active_id = %s AND tst_tests.test_id = tst_active.test_fi"3
  • /components/ILIAS/soap/classes/class.ilSoapTestAdministration.php (3)
'SELECT pos_pk FROM frm_posts WHERE pos_thr_fk = %s'3
  • /components/ILIAS/Forum/classes/class.ilObjForum.php
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
  • /components/ILIAS/Forum/tests/ilForumTopicTest.php
'SELECT pos_fk FROM frm_posts_tree WHERE thr_fk = %s AND parent_pos = %s AND depth = %s ORDER BY rgt DESC'3
  • /components/ILIAS/Forum/tests/ilForumTopicTest.php (2)
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
'SELECT pos_fk FROM frm_posts_tree WHERE thr_fk = %s AND parent_pos != %s AND depth = %s ORDER BY rgt DESC'3
  • /components/ILIAS/Forum/tests/ilForumTopicTest.php (2)
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
'SELECT COUNT(notification_id) cnt FROM frm_notification WHERE user_id = %s AND thread_id = %s'3
  • /components/ILIAS/Forum/tests/ilForumTopicTest.php (2)
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php
'DELETE FROM frm_drafts_history WHERE ' . $this->db->in('draft_id', $draft_ids, false, 'integer')3
  • /components/ILIAS/Forum/classes/class.ilForumPostDraft.php (2)
  • /components/ILIAS/Forum/classes/class.ilForumDraftsHistory.php
' SELECT admin_force_noti FROM frm_notification WHERE user_id = %s AND frm_id = %s AND user_id_noti > %s '3
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php (2)
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
' SELECT user_toggle_noti FROM frm_notification WHERE user_id = %s AND frm_id = %s AND user_id_noti > %s'3
  • /components/ILIAS/Forum/tests/ilForumNotificationTest.php (2)
  • /components/ILIAS/Forum/classes/Notification/class.ilForumNotification.php
"INSERT INTO exc_returned " . "(returned_id, obj_id, user_id, filename, filetitle, mimetype, ts, ass_id, late, team_id, rid) " . "VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)"3
  • /components/ILIAS/Exercise/Submission/class.SubmissionRepository.php (3)
"SELECT id, glo_id, term, language" . " FROM glossary_term " . " WHERE " . $ilDB->in("glo_id", $a_ids, false, "integer")3
  • /components/ILIAS/Glossary/Export/class.ilGlossaryDataSet.php (3)
"SELECT * FROM ut_lp_marks " . "WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " " . "AND obj_id = " . $ilDB->quote($a_obj_id, 'integer')3
  • /components/ILIAS/Tracking/classes/class.ilLPMarks.php (3)
'SELECT ~identifier:p1t1~.rbac_id, ~identifier:p1t1~.obj_id, ~identifier:p1t1~.obj_type ' . 'FROM ~identifier:table_name~ AS ~identifier:p1t1~'3
  • /components/ILIAS/MetaData/tests/Repository/Utilities/Queries/Paths/DatabasePathsParserTest.php (3)
'SELECT * FROM il_qpl_qst_fq_unit WHERE category_fi = %s'3
  • /components/ILIAS/TestQuestionPool/classes/class.ilUnitConfigurationRepository.php (3)
' SELECT * FROM cmi_gobjective WHERE scope_id = %s AND objective_id = %s AND user_id = %s'3
  • /components/ILIAS/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php (3)
'SELECT global_to_system FROM cp_package WHERE obj_id = %s'3
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php (2)
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM2004DeleteData.php
"UPDATE tst_test_question SET sequence=%s WHERE test_question_id=%s"4
  • /components/ILIAS/Test/classes/class.ilObjTest.php (4)
'SELECT obj_fi FROM qpl_questions WHERE question_id = %s'4
  • /components/ILIAS/Test/tests/AccessFileUploadPreviewTest.php (2)
  • /components/ILIAS/Test/src/Access/AccessFileUploadPreview.php
  • /components/ILIAS/TestQuestionPool/classes/class.ilObjQuestionPool.php
'SELECT package_attempts FROM sahs_user WHERE obj_id = %s AND user_id = %s'4
  • /components/ILIAS/ScormAicc/classes/class.ilObjSCORMLearningModule.php
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php
  • /components/ILIAS/ScormAicc/classes/SCORM/class.ilSCORMPresentationGUI.php
  • /components/ILIAS/Scorm2004/classes/class.ilSCORM13PlayerGUI.php
"SELECT style_id, type, characteristic, hide" . PHP_EOL . "FROM style_char" . PHP_EOL . "WHERE style_id = " . $db->quote($row["obj_id"], "integer") . PHP_EOL . "AND characteristic = " . $db->quote($this->class, "text") . PHP_EOL . "AND type = " . $db->quote($this->type, "text") . PHP_EOL4
  • /components/ILIAS/Style/classes/Setup/class.ilStyleClassAddedObjective.php (2)
  • /components/ILIAS/Style/classes/Setup/class.ilStyleClassCopiedObjective.php (2)
'UPDATE frm_threads SET is_sticky = %s WHERE thr_pk = %s'4
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php (2)
  • /components/ILIAS/Forum/tests/ilForumTopicTest.php (2)
'UPDATE frm_threads SET is_closed = %s WHERE thr_pk = %s'4
  • /components/ILIAS/Forum/classes/class.ilForumTopic.php (2)
  • /components/ILIAS/Forum/tests/ilForumTopicTest.php (2)
'SELECT 1 FROM usr_session WHERE session_id = 123456'4
  • /components/ILIAS/Authentication/tests/ilSessionTest.php (4)
'SELECT MAX(position) AS max FROM il_md_cpr_selections WHERE is_default = 0'4
  • /components/ILIAS/MetaData/tests/Copyright/DatabaseRepositoryTest.php (2)
  • /components/ILIAS/MetaData/classes/Setup/class.ilMDCopyrightUpdateSteps.php
  • /components/ILIAS/MetaData/classes/Copyright/DatabaseRepository.php
"SELECT * FROM event_participants " . "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " . "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " "4
  • /components/ILIAS/Session/classes/class.ilEventParticipants.php (4)
"SELECT svy_question.*, " . $this->getAdditionalTableName( ) . ".* FROM svy_question, " . $this->getAdditionalTableName( ) . " WHERE svy_question.question_id = %s AND svy_question.question_id = " . $this->getAdditionalTableName( ) . ".question_fi"5
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMetricQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveySingleChoiceQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyTextQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMultipleChoiceQuestion.php
"SELECT svy_question.*, " . $this->getAdditionalTableName( ) . ".* FROM svy_question LEFT JOIN " . $this->getAdditionalTableName( ) . " ON " . $this->getAdditionalTableName( ) . ".question_fi = svy_question.question_id WHERE svy_question.question_id = %s"5
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMetricQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveySingleChoiceQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyTextQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMultipleChoiceQuestion.php
"DELETE FROM svy_variable WHERE question_fi = %s"5
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMetricQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveySingleChoiceQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMultipleChoiceQuestion.php
'SELECT obj_id FROM ' . $this->table_mail_obj_data . ' WHERE user_id = %s AND m_type = %s'5
  • /components/ILIAS/Mail/classes/class.ilMailbox.php (5)
"SELECT * FROM glossary_term WHERE id = " . $ilDB->quote($term_id, "integer")5
  • /components/ILIAS/Glossary/Term/class.ilGlossaryTerm.php (5)
"SELECT * FROM " . self::DB_TABLE_NAME . " WHERE obj_id = " . $ilDB->quote($a_obj_id, 'integer') . " "6
  • /components/ILIAS/RemoteGroup/classes/class.ilObjRemoteGroup.php
  • /components/ILIAS/RemoteTest/classes/class.ilObjRemoteTest.php
  • /components/ILIAS/RemoteLearningModule/classes/class.ilObjRemoteLearningModule.php
  • /components/ILIAS/RemoteCourse/classes/class.ilObjRemoteCourse.php
  • /components/ILIAS/RemoteWiki/classes/class.ilObjRemoteWiki.php
  • /components/ILIAS/RemoteGlossary/classes/class.ilObjRemoteGlossary.php
"SELECT obj_id" . PHP_EOL . "FROM object_data" . PHP_EOL . "WHERE type = 'sty'" . PHP_EOL6
  • /components/ILIAS/Style/classes/Setup/class.ilStyleClassAddedObjective.php (2)
  • /components/ILIAS/Style/classes/Setup/class.ilStyleClassCopiedObjective.php (2)
  • /components/ILIAS/Migration/DBUpdate_3136/classes/class.ilDBUpdate3136.php (2)
"SELECT * FROM il_plugin"7
  • /components/ILIAS/Component/tests/ilPluginStateDBOverIlDBInterfaceTest.php (7)
"SELECT qpl_questions.*, " . $this->getAdditionalTableName( ) . ".* FROM qpl_questions LEFT JOIN " . $this->getAdditionalTableName( ) . " ON " . $this->getAdditionalTableName( ) . ".question_fi = qpl_questions.question_id WHERE qpl_questions.question_id = %s"10
  • /components/ILIAS/TestQuestionPool/classes/class.assMultipleChoice.php
  • /components/ILIAS/TestQuestionPool/classes/class.assTextSubset.php
  • /components/ILIAS/TestQuestionPool/classes/class.assNumeric.php
  • /components/ILIAS/TestQuestionPool/classes/class.assSingleChoice.php
  • /components/ILIAS/TestQuestionPool/classes/class.assErrorText.php
  • /components/ILIAS/TestQuestionPool/classes/class.assOrderingQuestion.php
  • /components/ILIAS/TestQuestionPool/classes/class.assOrderingHorizontal.php
  • /components/ILIAS/TestQuestionPool/classes/class.assLongMenu.php
  • /components/ILIAS/TestQuestionPool/classes/class.assTextQuestion.php
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeTest.php
"DELETE FROM " . $this->getAdditionalTableName( ) . " WHERE question_fi = %s"16
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMetricQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveySingleChoiceQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMatrixQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyTextQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyQuestion.php
  • /components/ILIAS/SurveyQuestionPool/Questions/class.SurveyMultipleChoiceQuestion.php
  • /components/ILIAS/TestQuestionPool/classes/class.assTextSubset.php
  • /components/ILIAS/TestQuestionPool/classes/class.assNumeric.php
  • /components/ILIAS/TestQuestionPool/classes/class.assSingleChoice.php
  • /components/ILIAS/TestQuestionPool/classes/class.assErrorText.php
  • /components/ILIAS/TestQuestionPool/classes/class.assOrderingQuestion.php
  • /components/ILIAS/TestQuestionPool/classes/class.assOrderingHorizontal.php
  • /components/ILIAS/TestQuestionPool/classes/class.assLongMenu.php
  • /components/ILIAS/TestQuestionPool/classes/class.assMatchingQuestion.php
  • /components/ILIAS/TestQuestionPool/classes/class.assTextQuestion.php
  • /components/ILIAS/TestQuestionPool/classes/class.assClozeTest.php