|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilBookingPreferencesDBRepository: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.
| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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.
Referenced by ilBookingPreferencesGUI\initPreferenceForm(), and ilBookingPreferencesGUI\listBookingResults().
Here is the caller graph for this function:| ilBookingPreferencesDBRepository::savePreferences | ( | int | $a_pool_id, |
| ilBookingPreferences | $preferences | ||
| ) |
Save all preferences of a pool.
Definition at line 89 of file class.ilBookingPreferencesDBRepository.php.
References ilDBInterface\insert().
Here is the call graph for this function:| 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 ilDBInterface\insert().
Referenced by ilBookingPreferencesGUI\savePreferences().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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(), and getPreferences().