|
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 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 () | |
| uploadFile (array $a_upload) | |
| Upload new info file. More... | |
| deleteFile () | |
| setPostText (string $a_value) | |
| getPostText () | |
| setPostFile (string $a_value) | |
| getPostFile () | |
| getPostFileFullPath () | |
| uploadPostFile (array $a_upload) | |
| Upload new post file. More... | |
| deletePostFile () | |
| 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 | initStorage (int $a_id, string $a_subdir="") |
| Init file system storage. More... | |
| 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 () | |
| getDBFields () | |
Protected Attributes | |
| 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 36 of file class.ilBookingObject.php.
References $DIC, ILIAS\Repository\int(), and read().
Here is the call graph for this function:| ilBookingObject::delete | ( | ) |
Delete single entry.
Definition at line 400 of file class.ilBookingObject.php.
References $ilDB.
| ilBookingObject::deleteFile | ( | ) |
Definition at line 143 of file class.ilBookingObject.php.
References $path, getFileFullPath(), and setFile().
Referenced by uploadFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingObject::deleteFiles | ( | ) |
Definition at line 222 of file class.ilBookingObject.php.
References setFile(), and setPostFile().
Here is the call graph for this function:| ilBookingObject::deletePostFile | ( | ) |
Definition at line 209 of file class.ilBookingObject.php.
References $path, getPostFileFullPath(), and setPostFile().
Referenced by uploadPostFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingObject::deleteReservationsAndCalEntries | ( | int | $object_id | ) |
Definition at line 413 of file class.ilBookingObject.php.
| ilBookingObject::doClone | ( | int | $a_pool_id, |
| array | $a_schedule_map = null |
||
| ) |
Definition at line 451 of file class.ilBookingObject.php.
|
protected |
Definition at line 279 of file class.ilBookingObject.php.
| ilBookingObject::getDescription | ( | ) |
Definition at line 66 of file class.ilBookingObject.php.
References $description.
| ilBookingObject::getFile | ( | ) |
Definition at line 106 of file class.ilBookingObject.php.
References $info_file.
| ilBookingObject::getFileFullPath | ( | ) |
Definition at line 111 of file class.ilBookingObject.php.
References $info_file, $path, and initStorage().
Referenced by deleteFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingObject::getId | ( | ) |
|
static |
Get list of booking objects.
Definition at line 329 of file class.ilBookingObject.php.
References $ilDB.
Referenced by ilObjBookingPool\cloneObject(), 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 96 of file class.ilBookingObject.php.
References $nr_of_items.
|
static |
Get nr of available items for a set of object ids.
| int[] | $a_obj_ids |
Definition at line 432 of file class.ilBookingObject.php.
Referenced by ilBookingProcessGUI\confirmedBooking(), and ilBookingReservation\getNumAvailablesNoSchedule().
Here is the caller graph for this function:
|
static |
Get number of booking objects for given booking pool id.
Definition at line 359 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 378 of file class.ilBookingObject.php.
| ilBookingObject::getPoolId | ( | ) |
| ilBookingObject::getPostFile | ( | ) |
Definition at line 171 of file class.ilBookingObject.php.
References $post_file.
| ilBookingObject::getPostFileFullPath | ( | ) |
Definition at line 176 of file class.ilBookingObject.php.
References $path, $post_file, and initStorage().
Referenced by deletePostFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingObject::getPostText | ( | ) |
Definition at line 161 of file class.ilBookingObject.php.
References $post_text.
| ilBookingObject::getScheduleId | ( | ) |
Definition at line 86 of file class.ilBookingObject.php.
References $schedule_id.
| ilBookingObject::getTitle | ( | ) |
|
static |
Init file system storage.
Definition at line 236 of file class.ilBookingObject.php.
References $path.
Referenced by getFileFullPath(), getPostFileFullPath(), uploadFile(), and uploadPostFile().
Here is the caller graph for this function:
|
static |
Definition at line 479 of file class.ilBookingObject.php.
References $DIC, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilBookingReservationsGUI\__construct(), and ilBookingObjectGUI\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 494 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 |
Definition at line 256 of file class.ilBookingObject.php.
References $ilDB.
Referenced by __construct().
Here is the caller graph for this function:| ilBookingObject::save | ( | ) |
Definition at line 292 of file class.ilBookingObject.php.
References $ilDB.
| ilBookingObject::setDescription | ( | string | $a_value | ) |
Definition at line 61 of file class.ilBookingObject.php.
| ilBookingObject::setFile | ( | string | $a_value | ) |
Definition at line 101 of file class.ilBookingObject.php.
Referenced by deleteFile(), deleteFiles(), and uploadFile().
Here is the caller graph for this function:| ilBookingObject::setNrOfItems | ( | int | $a_value | ) |
Definition at line 91 of file class.ilBookingObject.php.
| ilBookingObject::setPoolId | ( | int | $a_pool_id | ) |
Definition at line 71 of file class.ilBookingObject.php.
| ilBookingObject::setPostFile | ( | string | $a_value | ) |
Definition at line 166 of file class.ilBookingObject.php.
Referenced by deleteFiles(), deletePostFile(), and uploadPostFile().
Here is the caller graph for this function:| ilBookingObject::setPostText | ( | string | $a_value | ) |
Definition at line 156 of file class.ilBookingObject.php.
| ilBookingObject::setScheduleId | ( | ?int | $a_schedule_id | ) |
Definition at line 81 of file class.ilBookingObject.php.
| ilBookingObject::setTitle | ( | string | $a_title | ) |
Definition at line 51 of file class.ilBookingObject.php.
| ilBookingObject::update | ( | ) |
Definition at line 309 of file class.ilBookingObject.php.
References $ilDB.
| ilBookingObject::uploadFile | ( | array | $a_upload | ) |
Upload new info file.
Definition at line 123 of file class.ilBookingObject.php.
References $path, deleteFile(), initStorage(), ilFileUtils\moveUploadedFile(), and setFile().
Here is the call graph for this function:| ilBookingObject::uploadPostFile | ( | array | $a_upload | ) |
Upload new post file.
Definition at line 188 of file class.ilBookingObject.php.
References $path, deletePostFile(), initStorage(), ilFileUtils\moveUploadedFile(), and setPostFile().
Here is the call graph for this function:
|
protected |
Definition at line 25 of file class.ilBookingObject.php.
|
protected |
Definition at line 29 of file class.ilBookingObject.php.
Referenced by getDescription().
|
protected |
Definition at line 26 of file class.ilBookingObject.php.
Referenced by getId().
|
protected |
Definition at line 32 of file class.ilBookingObject.php.
Referenced by getFile(), and getFileFullPath().
|
protected |
Definition at line 30 of file class.ilBookingObject.php.
Referenced by getNrOfItems().
|
protected |
Definition at line 27 of file class.ilBookingObject.php.
Referenced by getPoolId().
|
protected |
Definition at line 34 of file class.ilBookingObject.php.
Referenced by getPostFile(), and getPostFileFullPath().
|
protected |
Definition at line 33 of file class.ilBookingObject.php.
Referenced by getPostText().
|
protected |
Definition at line 31 of file class.ilBookingObject.php.
Referenced by getScheduleId().
|
protected |
Definition at line 28 of file class.ilBookingObject.php.
Referenced by getTitle().