ILIAS
trunk Revision v11.0_alpha-1846-g895b5f47236
|
Repo class for booking objects. More...
Public Member Functions | |
__construct (protected IRSSWrapper $wrapper, protected \ilDBInterface $db) | |
loadDataOfPool (int $pool_id) | |
getNrOfItemsForObject (int $book_obj_id) | |
getColorNrForObject (int $book_obj_id) | |
getObjectDataForPool (int $pool_id) | |
hasObjectInfo (int $booking_object_id) | |
deleteObjectInfo (int $booking_object_id) | |
getObjectInfoPath (int $booking_object_id) | |
deliverObjectInfo (int $booking_object_id) | |
getObjectInfoFilename (int $booking_object_id) | |
importObjectInfoFromLegacyUpload (int $booking_object_id, array $file_input, ResourceStakeholder $stakeholder) | |
hasBookingInfo (int $booking_object_id) | |
deleteBookingInfo (int $booking_object_id) | |
deliverBookingInfo (int $booking_object_id) | |
getBookingInfoPath (int $booking_object_id) | |
getBookingInfoFilename (int $booking_object_id) | |
importBookingInfoFromLegacyUpload (int $booking_object_id, array $file_input, ResourceStakeholder $stakeholder) | |
clone (int $from_id, int $to_id) | |
Protected Member Functions | |
getObjectInfoRidForBookingObjectId (int $booking_object_id) | |
getBookingInfoRidForBookingObjectId (int $booking_object_id) | |
Protected Attributes | |
const | NR_OF_COLORS = 9 |
Static Protected Attributes | |
static | $color_number = [] |
static | $pool_objects = [] |
static array | $raw_data = [] |
static array | $pool_loaded = [] |
Repo class for booking objects.
Definition at line 28 of file class.ObjectsDBRepository.php.
ILIAS\BookingManager\Objects\ObjectsDBRepository::__construct | ( | protected IRSSWrapper | $wrapper, |
protected \ilDBInterface | $db | ||
) |
Definition at line 36 of file class.ObjectsDBRepository.php.
ILIAS\BookingManager\Objects\ObjectsDBRepository::clone | ( | int | $from_id, |
int | $to_id | ||
) |
Definition at line 238 of file class.ObjectsDBRepository.php.
References ILIAS\BookingManager\Objects\ObjectsDBRepository\getBookingInfoRidForBookingObjectId(), and ILIAS\BookingManager\Objects\ObjectsDBRepository\getObjectInfoRidForBookingObjectId().
ILIAS\BookingManager\Objects\ObjectsDBRepository::deleteBookingInfo | ( | int | $booking_object_id | ) |
Definition at line 184 of file class.ObjectsDBRepository.php.
References ILIAS\BookingManager\Objects\ObjectsDBRepository\getBookingInfoRidForBookingObjectId().
ILIAS\BookingManager\Objects\ObjectsDBRepository::deleteObjectInfo | ( | int | $booking_object_id | ) |
Definition at line 112 of file class.ObjectsDBRepository.php.
References ILIAS\BookingManager\Objects\ObjectsDBRepository\getObjectInfoRidForBookingObjectId().
ILIAS\BookingManager\Objects\ObjectsDBRepository::deliverBookingInfo | ( | int | $booking_object_id | ) |
Definition at line 192 of file class.ObjectsDBRepository.php.
References ILIAS\BookingManager\Objects\ObjectsDBRepository\getBookingInfoRidForBookingObjectId().
ILIAS\BookingManager\Objects\ObjectsDBRepository::deliverObjectInfo | ( | int | $booking_object_id | ) |
Definition at line 126 of file class.ObjectsDBRepository.php.
References ILIAS\BookingManager\Objects\ObjectsDBRepository\getObjectInfoRidForBookingObjectId().
ILIAS\BookingManager\Objects\ObjectsDBRepository::getBookingInfoFilename | ( | int | $booking_object_id | ) |
Definition at line 204 of file class.ObjectsDBRepository.php.
References ILIAS\BookingManager\Objects\ObjectsDBRepository\getBookingInfoRidForBookingObjectId().
ILIAS\BookingManager\Objects\ObjectsDBRepository::getBookingInfoPath | ( | int | $booking_object_id | ) |
Definition at line 198 of file class.ObjectsDBRepository.php.
References ILIAS\BookingManager\Objects\ObjectsDBRepository\getBookingInfoRidForBookingObjectId().
|
protected |
Definition at line 166 of file class.ObjectsDBRepository.php.
Referenced by ILIAS\BookingManager\Objects\ObjectsDBRepository\clone(), ILIAS\BookingManager\Objects\ObjectsDBRepository\deleteBookingInfo(), ILIAS\BookingManager\Objects\ObjectsDBRepository\deliverBookingInfo(), ILIAS\BookingManager\Objects\ObjectsDBRepository\getBookingInfoFilename(), ILIAS\BookingManager\Objects\ObjectsDBRepository\getBookingInfoPath(), and ILIAS\BookingManager\Objects\ObjectsDBRepository\hasBookingInfo().
ILIAS\BookingManager\Objects\ObjectsDBRepository::getColorNrForObject | ( | int | $book_obj_id | ) |
Definition at line 75 of file class.ObjectsDBRepository.php.
ILIAS\BookingManager\Objects\ObjectsDBRepository::getNrOfItemsForObject | ( | int | $book_obj_id | ) |
Definition at line 67 of file class.ObjectsDBRepository.php.
ILIAS\BookingManager\Objects\ObjectsDBRepository::getObjectDataForPool | ( | int | $pool_id | ) |
Definition at line 83 of file class.ObjectsDBRepository.php.
References ILIAS\BookingManager\Objects\ObjectsDBRepository\loadDataOfPool().
ILIAS\BookingManager\Objects\ObjectsDBRepository::getObjectInfoFilename | ( | int | $booking_object_id | ) |
Definition at line 132 of file class.ObjectsDBRepository.php.
References ILIAS\BookingManager\Objects\ObjectsDBRepository\getObjectInfoRidForBookingObjectId().
ILIAS\BookingManager\Objects\ObjectsDBRepository::getObjectInfoPath | ( | int | $booking_object_id | ) |
Definition at line 120 of file class.ObjectsDBRepository.php.
References ILIAS\BookingManager\Objects\ObjectsDBRepository\getObjectInfoRidForBookingObjectId().
|
protected |
Definition at line 94 of file class.ObjectsDBRepository.php.
Referenced by ILIAS\BookingManager\Objects\ObjectsDBRepository\clone(), ILIAS\BookingManager\Objects\ObjectsDBRepository\deleteObjectInfo(), ILIAS\BookingManager\Objects\ObjectsDBRepository\deliverObjectInfo(), ILIAS\BookingManager\Objects\ObjectsDBRepository\getObjectInfoFilename(), ILIAS\BookingManager\Objects\ObjectsDBRepository\getObjectInfoPath(), and ILIAS\BookingManager\Objects\ObjectsDBRepository\hasObjectInfo().
ILIAS\BookingManager\Objects\ObjectsDBRepository::hasBookingInfo | ( | int | $booking_object_id | ) |
Definition at line 178 of file class.ObjectsDBRepository.php.
References ILIAS\BookingManager\Objects\ObjectsDBRepository\getBookingInfoRidForBookingObjectId().
ILIAS\BookingManager\Objects\ObjectsDBRepository::hasObjectInfo | ( | int | $booking_object_id | ) |
Definition at line 106 of file class.ObjectsDBRepository.php.
References ILIAS\BookingManager\Objects\ObjectsDBRepository\getObjectInfoRidForBookingObjectId().
ILIAS\BookingManager\Objects\ObjectsDBRepository::importBookingInfoFromLegacyUpload | ( | int | $booking_object_id, |
array | $file_input, | ||
ResourceStakeholder | $stakeholder | ||
) |
Definition at line 215 of file class.ObjectsDBRepository.php.
ILIAS\BookingManager\Objects\ObjectsDBRepository::importObjectInfoFromLegacyUpload | ( | int | $booking_object_id, |
array | $file_input, | ||
ResourceStakeholder | $stakeholder | ||
) |
Definition at line 143 of file class.ObjectsDBRepository.php.
ILIAS\BookingManager\Objects\ObjectsDBRepository::loadDataOfPool | ( | int | $pool_id | ) |
Definition at line 42 of file class.ObjectsDBRepository.php.
References ILIAS\$db.
Referenced by ILIAS\BookingManager\Objects\ObjectsDBRepository\getObjectDataForPool().
|
staticprotected |
Definition at line 31 of file class.ObjectsDBRepository.php.
|
staticprotected |
Definition at line 34 of file class.ObjectsDBRepository.php.
|
staticprotected |
Definition at line 32 of file class.ObjectsDBRepository.php.
|
staticprotected |
Definition at line 33 of file class.ObjectsDBRepository.php.
|
protected |
Definition at line 30 of file class.ObjectsDBRepository.php.