3 declare(strict_types=1);
    38         return $this->data_service->flashcardBox(
    40             (
int) $rec[
"user_id"],
    51         $set = $this->db->queryF(
    52             "SELECT * FROM glo_flashcard_box " .
    53             " WHERE box_nr = %s AND user_id = %s AND glo_id = %s ",
    54             [
"integer", 
"integer", 
"integer"],
    55             [$box_nr, $user_id, $glo_id]
    58         if ($rec = $this->db->fetchAssoc($set)) {
    71                 "box_nr" => [
"integer", $box->
getBoxNr()],
    72                 "user_id" => [
"integer", $box->
getUserId()],
    73                 "glo_id" => [
"integer", $box->
getGloId()]
    85         $q = 
"DELETE FROM glo_flashcard_box " .
    86             " WHERE glo_id = " . $this->db->quote($glo_id, 
"integer") .
    87             " AND user_id = " . $this->db->quote($user_id, 
"integer");
    88         $this->db->manipulate(
$q);
    94         $q = 
"DELETE FROM glo_flashcard_box " .
    95             " WHERE user_id = " . $this->db->quote($user_id, 
"integer");
    96         $this->db->manipulate(
$q);
   102         $q = 
"DELETE FROM glo_flashcard_box " .
   103             " WHERE glo_id = " . $this->db->quote($glo_id, 
"integer");
   104         $this->db->manipulate(
$q);
 deleteAllGlossaryEntries(int $glo_id)
 
getEntry(int $box_nr, int $user_id, int $glo_id)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
createOrUpdateEntry(Box $box)
 
getFromRecord(array $rec)
 
deleteEntries(int $glo_id, int $user_id)
 
deleteAllUserEntries(int $user_id)
 
__construct(protected \ilDBInterface $db, protected InternalDataService $data_service)