34 $this->tree = $DIC->repositoryTree();
48 "DELETE FROM " . self::TABLE_NAME .
" WHERE " .
54 foreach ($book_obj_ids as
$id) {
55 $db->
insert(self::TABLE_NAME, array(
56 "obj_id" => array(
"integer", $obj_id),
57 "book_ref_id" => array(
"integer", $id)
70 "SELECT * FROM " . self::TABLE_NAME .
" " .
71 " WHERE obj_id = %s ",
77 if ($include_deleted || $this->tree->isInTree((
int) $rec[
"book_ref_id"])) {
78 $book_ids[] = $rec[
"book_ref_id"];
86 $this->db->manipulateF(
"DELETE FROM " . self::TABLE_NAME .
" WHERE " .
insert(string $table_name, array $values)
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)
fetchAssoc(ilDBStatement $statement)
__construct(\ilDBInterface $db)
queryF(string $query, array $types, array $values)
deleteEntriesOfBookRefId(int $ref_id)
getUsedBookingPools(int $obj_id, bool $include_deleted=true)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
updateUsedBookingPools(int $obj_id, array $book_obj_ids)