34 $this->tree =
$DIC->repositoryTree();
48 "DELETE FROM " . self::TABLE_NAME .
" WHERE " .
54 foreach ($book_obj_ids as
$id) {
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(
87 "DELETE FROM " . self::TABLE_NAME .
" WHERE " .
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
deleteEntriesOfBookRefId(int $ref_id)
__construct(\ilDBInterface $db)
getUsedBookingPools(int $obj_id, bool $include_deleted=true)
updateUsedBookingPools(int $obj_id, array $book_obj_ids)
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
insert(string $table_name, array $values)
manipulateF(string $query, array $types, array $values)
fetchAssoc(ilDBStatement $statement)
queryF(string $query, array $types, array $values)