|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilBookingObject:Public Member Functions | |
| __construct (?int $a_id=null) | |
| getId () | |
| setTitle (string $a_title) | |
| getTitle () | |
| setDescription (string $a_value) | |
| getDescription () | |
| setPoolId (int $a_pool_id) | |
| getPoolId () | |
| setScheduleId (?int $a_schedule_id) | |
| getScheduleId () | |
| setNrOfItems (int $a_value) | |
| getNrOfItems () | |
| setFile (string $a_value) | |
| getFile () | |
| getFileFullPath () | |
| setPostText (string $a_value) | |
| getPostText () | |
| setPostFile (string $a_value) | |
| getPostFile () | |
| getPostFileFullPath () | |
| deleteFiles () | |
| save () | |
| update () | |
| delete () | |
| Delete single entry. More... | |
| deleteReservationsAndCalEntries (int $object_id) | |
| doClone (int $a_pool_id, ?array $a_schedule_map=null) | |
Static Public Member Functions | |
| static | getList (int $a_pool_id, ?string $a_title=null) |
| Get list of booking objects. More... | |
| static | getNumberOfObjectsForPool (int $a_pool_id) |
| Get number of booking objects for given booking pool id. More... | |
| static | getObjectsForPool (int $a_pool_id) |
| Get all booking pool object ids from an specific booking pool. More... | |
| static | getNrOfItemsForObjects (array $a_obj_ids) |
| Get nr of available items for a set of object ids. More... | |
| static | lookupPoolId (int $object_id) |
| static | lookupTitle (int $object_id) |
Protected Member Functions | |
| read () | |
| Init file system storage. More... | |
| getDBFields () | |
Protected Attributes | |
| ILIAS BookingManager Objects ObjectsManager | $objects_manager |
| ILIAS BookingManager InternalRepoService | $repo |
| ilDBInterface | $db |
| int | $id = 0 |
| int | $pool_id = 0 |
| string | $title = "" |
| string | $description = "" |
| int | $nr_of_items = 0 |
| int | $schedule_id = null |
| string | $info_file = "" |
| string | $post_text = "" |
| string | $post_file = "" |
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 A bookable ressource
Definition at line 23 of file class.ilBookingObject.php.
| ilBookingObject::__construct | ( | ?int | $a_id = null | ) |
Definition at line 38 of file class.ilBookingObject.php.
References $DIC, getPoolId(), ILIAS\Repository\int(), and read().
Here is the call graph for this function:| ilBookingObject::delete | ( | ) |
Delete single entry.
Definition at line 310 of file class.ilBookingObject.php.
References $ilDB.
| ilBookingObject::deleteFiles | ( | ) |
Definition at line 152 of file class.ilBookingObject.php.
References setFile(), and setPostFile().
Here is the call graph for this function:| ilBookingObject::deleteReservationsAndCalEntries | ( | int | $object_id | ) |
Definition at line 323 of file class.ilBookingObject.php.
| ilBookingObject::doClone | ( | int | $a_pool_id, |
| ?array | $a_schedule_map = null |
||
| ) |
Definition at line 360 of file class.ilBookingObject.php.
|
protected |
Definition at line 189 of file class.ilBookingObject.php.
References getDescription(), getFile(), getNrOfItems(), getPostFile(), getPostText(), getScheduleId(), and getTitle().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingObject::getDescription | ( | ) |
Definition at line 70 of file class.ilBookingObject.php.
References $description.
Referenced by getDBFields().
Here is the caller graph for this function:| ilBookingObject::getFile | ( | ) |
Definition at line 110 of file class.ilBookingObject.php.
References $info_file.
Referenced by getDBFields().
Here is the caller graph for this function:| ilBookingObject::getFileFullPath | ( | ) |
Definition at line 115 of file class.ilBookingObject.php.
| ilBookingObject::getId | ( | ) |
|
static |
Get list of booking objects.
Definition at line 239 of file class.ilBookingObject.php.
References $ilDB.
Referenced by ilObjBookingPool\cloneObject(), ILIAS\BookingManager\Settings\SettingsGUI\getEditForm(), ilBookingObjectsTableGUI\getItems(), ilBookingAssignObjectsTableGUI\getItems(), ilObjBookingPoolGUI\initEditCustomForm(), ilBookingParticipantsTableGUI\initFilter(), ilBookingPreferencesGUI\initPreferenceForm(), ilBookingPreferencesManager\readBookings(), ilBookingScheduleGUI\render(), and ilBookingReservationsGUI\rsvConfirmCancel().
Here is the caller graph for this function:| ilBookingObject::getNrOfItems | ( | ) |
Definition at line 100 of file class.ilBookingObject.php.
References $nr_of_items.
Referenced by getDBFields().
Here is the caller graph for this function:
|
static |
Get nr of available items for a set of object ids.
| int[] | $a_obj_ids |
Definition at line 341 of file class.ilBookingObject.php.
Referenced by ilBookingReservation\getNumAvailablesNoSchedule().
Here is the caller graph for this function:
|
static |
Get number of booking objects for given booking pool id.
Definition at line 269 of file class.ilBookingObject.php.
Referenced by ilBookingParticipantsTableGUI\fillRow().
Here is the caller graph for this function:
|
static |
Get all booking pool object ids from an specific booking pool.
Definition at line 288 of file class.ilBookingObject.php.
| ilBookingObject::getPoolId | ( | ) |
Definition at line 80 of file class.ilBookingObject.php.
References $pool_id.
Referenced by __construct(), and save().
Here is the caller graph for this function:| ilBookingObject::getPostFile | ( | ) |
Definition at line 138 of file class.ilBookingObject.php.
References $post_file.
Referenced by getDBFields().
Here is the caller graph for this function:| ilBookingObject::getPostFileFullPath | ( | ) |
Definition at line 143 of file class.ilBookingObject.php.
| ilBookingObject::getPostText | ( | ) |
Definition at line 128 of file class.ilBookingObject.php.
References $post_text.
Referenced by getDBFields().
Here is the caller graph for this function:| ilBookingObject::getScheduleId | ( | ) |
Definition at line 90 of file class.ilBookingObject.php.
References $schedule_id.
Referenced by getDBFields().
Here is the caller graph for this function:| ilBookingObject::getTitle | ( | ) |
Definition at line 60 of file class.ilBookingObject.php.
References $title.
Referenced by getDBFields().
Here is the caller graph for this function:
|
static |
Definition at line 385 of file class.ilBookingObject.php.
References $DIC, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilBookingReservationsGUI\__construct(), and ILIAS\BookingManager\Access\AccessManager\validateBookingObjId().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 400 of file class.ilBookingObject.php.
References $DIC, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilBookingPreferencesGUI\savePreferences().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Init file system storage.
Definition at line 166 of file class.ilBookingObject.php.
References $db, $ilDB, setDescription(), setFile(), setNrOfItems(), setPoolId(), setPostFile(), setPostText(), setScheduleId(), and setTitle().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingObject::save | ( | ) |
Definition at line 202 of file class.ilBookingObject.php.
References $db, $ilDB, getDBFields(), and getPoolId().
Here is the call graph for this function:| ilBookingObject::setDescription | ( | string | $a_value | ) |
Definition at line 65 of file class.ilBookingObject.php.
Referenced by read().
Here is the caller graph for this function:| ilBookingObject::setFile | ( | string | $a_value | ) |
Definition at line 105 of file class.ilBookingObject.php.
Referenced by deleteFiles(), and read().
Here is the caller graph for this function:| ilBookingObject::setNrOfItems | ( | int | $a_value | ) |
Definition at line 95 of file class.ilBookingObject.php.
Referenced by read().
Here is the caller graph for this function:| ilBookingObject::setPoolId | ( | int | $a_pool_id | ) |
Definition at line 75 of file class.ilBookingObject.php.
Referenced by read().
Here is the caller graph for this function:| ilBookingObject::setPostFile | ( | string | $a_value | ) |
Definition at line 133 of file class.ilBookingObject.php.
Referenced by deleteFiles(), and read().
Here is the caller graph for this function:| ilBookingObject::setPostText | ( | string | $a_value | ) |
Definition at line 123 of file class.ilBookingObject.php.
Referenced by read().
Here is the caller graph for this function:| ilBookingObject::setScheduleId | ( | ?int | $a_schedule_id | ) |
Definition at line 85 of file class.ilBookingObject.php.
Referenced by read().
Here is the caller graph for this function:| ilBookingObject::setTitle | ( | string | $a_title | ) |
Definition at line 55 of file class.ilBookingObject.php.
Referenced by read().
Here is the caller graph for this function:| ilBookingObject::update | ( | ) |
Definition at line 219 of file class.ilBookingObject.php.
References $db, $ilDB, and getDBFields().
Here is the call graph for this function:
|
protected |
Definition at line 27 of file class.ilBookingObject.php.
|
protected |
Definition at line 31 of file class.ilBookingObject.php.
Referenced by getDescription().
|
protected |
Definition at line 28 of file class.ilBookingObject.php.
Referenced by getId().
|
protected |
Definition at line 34 of file class.ilBookingObject.php.
Referenced by getFile().
|
protected |
Definition at line 32 of file class.ilBookingObject.php.
Referenced by getNrOfItems().
|
protected |
Definition at line 25 of file class.ilBookingObject.php.
|
protected |
Definition at line 29 of file class.ilBookingObject.php.
Referenced by getPoolId().
|
protected |
Definition at line 36 of file class.ilBookingObject.php.
Referenced by getPostFile().
|
protected |
Definition at line 35 of file class.ilBookingObject.php.
Referenced by getPostText().
|
protected |
Definition at line 26 of file class.ilBookingObject.php.
|
protected |
Definition at line 33 of file class.ilBookingObject.php.
Referenced by getScheduleId().
|
protected |
Definition at line 30 of file class.ilBookingObject.php.
Referenced by getTitle().