Repo class for booking objects.
More...
Repo class for booking objects.
- Author
- Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de
Definition at line 25 of file class.ObjectsDBRepository.php.
◆ __construct()
| ILIAS\BookingManager\Objects\ObjectsDBRepository::__construct |
( |
\ilDBInterface |
$db | ) |
|
◆ getColorNrForObject()
| ILIAS\BookingManager\Objects\ObjectsDBRepository::getColorNrForObject |
( |
int |
$book_obj_id | ) |
|
Definition at line 73 of file class.ObjectsDBRepository.php.
75 if (!isset(self::$raw_data[$book_obj_id])) {
76 throw new \ilBookingPoolException(
"Data for booking object $book_obj_id not loaded.");
78 return (
int) self::$color_number[$book_obj_id];
◆ getNrOfItemsForObject()
| ILIAS\BookingManager\Objects\ObjectsDBRepository::getNrOfItemsForObject |
( |
int |
$book_obj_id | ) |
|
Definition at line 65 of file class.ObjectsDBRepository.php.
67 if (!isset(self::$raw_data[$book_obj_id])) {
68 throw new \ilBookingPoolException(
"Data for booking object $book_obj_id not loaded.");
70 return (
int) self::$raw_data[$book_obj_id][
"nr_of_items"];
◆ getObjectDataForPool()
| ILIAS\BookingManager\Objects\ObjectsDBRepository::getObjectDataForPool |
( |
int |
$pool_id | ) |
|
◆ loadDataOfPool()
| ILIAS\BookingManager\Objects\ObjectsDBRepository::loadDataOfPool |
( |
int |
$pool_id | ) |
|
◆ $color_number
| ILIAS\BookingManager\Objects\ObjectsDBRepository::$color_number = [] |
|
staticprotected |
◆ $db
| ilDBInterface ILIAS\BookingManager\Objects\ObjectsDBRepository::$db |
|
protected |
◆ $pool_loaded
| array ILIAS\BookingManager\Objects\ObjectsDBRepository::$pool_loaded = [] |
|
staticprotected |
◆ $pool_objects
| ILIAS\BookingManager\Objects\ObjectsDBRepository::$pool_objects = [] |
|
staticprotected |
◆ $raw_data
| array ILIAS\BookingManager\Objects\ObjectsDBRepository::$raw_data = [] |
|
staticprotected |
◆ NR_OF_COLORS
| const ILIAS\BookingManager\Objects\ObjectsDBRepository::NR_OF_COLORS = 9 |
|
protected |
The documentation for this class was generated from the following file: