26 protected \ilDBInterface
$db;
38 "SELECT * FROM book_sel_object " .
39 " WHERE user_id = %s " .
41 [
"integer",
"integer"],
45 while ($rec = $db->fetchAssoc($set)) {
46 $obj_ids[] = (
int) $rec[
"object_id"];
55 foreach ($obj_ids as $obj_id) {
56 $db->insert(
"book_sel_object", [
57 "user_id" => [
"integer", $user_id],
58 "pool_id" => [
"integer", $pool_id],
59 "object_id" => [
"integer", $obj_id]
68 "DELETE FROM book_sel_object WHERE " .
71 [
"integer",
"integer"],
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
manipulateF(string $query, array $types, array $values)
deleteSelectedObjects(int $pool_id, int $user_id)
setSelectedObjects(int $pool_id, int $user_id, array $obj_ids)
getSelectedObjects(int $pool_id, int $user_id)
queryF(string $query, array $types, array $values)
__construct(\ilDBInterface $db)