ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ILIAS\BookingManager\InternalDataService $data, ?ilDBInterface $db=null) | |
getPreferences (int $a_pool_id) | |
Get booking preferences for a pool id. More... | |
getPreferencesOfUser (int $a_pool_id, int $a_user_id) | |
Get booking preferences for a pool id. More... | |
savePreferences (int $a_pool_id, ilBookingPreferences $preferences) | |
Save all preferences of a pool. More... | |
savePreferencesOfUser (int $a_pool_id, int $a_user_id, ilBookingPreferences $preferences) | |
Save all preferences of a user for a pool. More... | |
Protected Attributes | |
ilDBInterface | $db |
ILIAS BookingManager InternalDataService | $data |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Booking preferences repo
Definition at line 23 of file class.ilBookingPreferencesDBRepository.php.
ilBookingPreferencesDBRepository::__construct | ( | ILIAS\BookingManager\InternalDataService | $data, |
?ilDBInterface | $db = null |
||
) |
Definition at line 28 of file class.ilBookingPreferencesDBRepository.php.
References $data, $db, and $DIC.
ilBookingPreferencesDBRepository::getPreferences | ( | int | $a_pool_id | ) |
Get booking preferences for a pool id.
Definition at line 42 of file class.ilBookingPreferencesDBRepository.php.
References $db, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilBookingPreferencesGUI\listBookingResults().
ilBookingPreferencesDBRepository::getPreferencesOfUser | ( | int | $a_pool_id, |
int | $a_user_id | ||
) |
Get booking preferences for a pool id.
Definition at line 64 of file class.ilBookingPreferencesDBRepository.php.
References $db, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilBookingPreferencesGUI\initPreferenceForm(), and ilBookingPreferencesGUI\listBookingResults().
ilBookingPreferencesDBRepository::savePreferences | ( | int | $a_pool_id, |
ilBookingPreferences | $preferences | ||
) |
Save all preferences of a pool.
Definition at line 89 of file class.ilBookingPreferencesDBRepository.php.
References $db, $user_id, ilDBInterface\insert(), and ilDBInterface\manipulateF().
ilBookingPreferencesDBRepository::savePreferencesOfUser | ( | int | $a_pool_id, |
int | $a_user_id, | ||
ilBookingPreferences | $preferences | ||
) |
Save all preferences of a user for a pool.
Definition at line 118 of file class.ilBookingPreferencesDBRepository.php.
References $db, $user_id, ilBookingPreferences\getPreferences(), ilDBInterface\insert(), and ilDBInterface\manipulateF().
Referenced by ilBookingPreferencesGUI\savePreferences().
|
protected |
Definition at line 26 of file class.ilBookingPreferencesDBRepository.php.
Referenced by __construct().
|
protected |
Definition at line 25 of file class.ilBookingPreferencesDBRepository.php.
Referenced by __construct(), getPreferences(), getPreferencesOfUser(), savePreferences(), and savePreferencesOfUser().