ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ParticipantsRepository.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24{
25 public function __construct(
26 protected \ilDBInterface $db
27 ) {
28 }
29
30 public function removeFromAll(int $user_id): void
31 {
32 $this->db->manipulateF(
33 "DELETE FROM booking_member WHERE " .
34 " user_id = %s",
35 ["integer"],
36 [$user_id]
37 );
38 }
39}
Interface ilDBInterface.