|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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 | |
| 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 37 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 402 of file class.ilBookingObject.php.
References $db, $ilDB, and deleteFiles().
Here is the call graph for this function:| ilBookingObject::deleteFile | ( | ) |
Definition at line 145 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 224 of file class.ilBookingObject.php.
References setFile(), and setPostFile().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingObject::deletePostFile | ( | ) |
Definition at line 211 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 415 of file class.ilBookingObject.php.
References ilCalendarEntry\delete().
Here is the call graph for this function:| ilBookingObject::doClone | ( | int | $a_pool_id, |
| array | $a_schedule_map = null |
||
| ) |
Definition at line 452 of file class.ilBookingObject.php.
References getDescription(), getFile(), getId(), getNrOfItems(), getPostFile(), getPostText(), getScheduleId(), getTitle(), and ilFileUtils\rCopy().
Here is the call graph for this function:
|
protected |
Definition at line 281 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 68 of file class.ilBookingObject.php.
References $description.
Referenced by doClone(), and getDBFields().
Here is the caller graph for this function:| ilBookingObject::getFile | ( | ) |
Definition at line 108 of file class.ilBookingObject.php.
References $info_file.
Referenced by doClone(), and getDBFields().
Here is the caller graph for this function:| ilBookingObject::getFileFullPath | ( | ) |
Definition at line 113 of file class.ilBookingObject.php.
References $info_file, and $path.
Referenced by deleteFile().
Here is the caller graph for this function:| ilBookingObject::getId | ( | ) |
Definition at line 48 of file class.ilBookingObject.php.
References $id.
Referenced by doClone().
Here is the caller graph for this function:
|
static |
Get list of booking objects.
Definition at line 331 of file class.ilBookingObject.php.
References $DIC, $ilDB, and $res.
Referenced by ilBookingPreferencesManager\calculateBookings(), ilObjBookingPool\cloneObject(), ilBookingAssignObjectsTableGUI\getItems(), ilBookingObjectsTableGUI\getItems(), ilObjBookingPoolGUI\initEditCustomForm(), ilBookingParticipantsTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), ilBookingPreferencesGUI\initPreferenceForm(), ilBookingPreferencesGUI\listPreferenceOptions(), ilBookingPreferencesManager\readBookings(), ilBookingScheduleGUI\render(), and ilBookingReservationsGUI\rsvConfirmCancel().
Here is the caller graph for this function:| ilBookingObject::getNrOfItems | ( | ) |
Definition at line 98 of file class.ilBookingObject.php.
References $nr_of_items.
Referenced by doClone(), and 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 433 of file class.ilBookingObject.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
Referenced by ilBookingReservation\getAvailableObject(), ilBookingReservation\getNumAvailablesNoSchedule(), and ilBookingReservation\isObjectAvailableInPeriod().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get number of booking objects for given booking pool id.
Definition at line 361 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 380 of file class.ilBookingObject.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
Here is the call graph for this function:| ilBookingObject::getPoolId | ( | ) |
Definition at line 78 of file class.ilBookingObject.php.
References $pool_id.
Referenced by save().
Here is the caller graph for this function:| ilBookingObject::getPostFile | ( | ) |
Definition at line 173 of file class.ilBookingObject.php.
References $post_file.
Referenced by doClone(), and getDBFields().
Here is the caller graph for this function:| ilBookingObject::getPostFileFullPath | ( | ) |
Definition at line 178 of file class.ilBookingObject.php.
References $path, and $post_file.
Referenced by deletePostFile().
Here is the caller graph for this function:| ilBookingObject::getPostText | ( | ) |
Definition at line 163 of file class.ilBookingObject.php.
References $post_text.
Referenced by doClone(), and getDBFields().
Here is the caller graph for this function:| ilBookingObject::getScheduleId | ( | ) |
Definition at line 88 of file class.ilBookingObject.php.
References $schedule_id.
Referenced by doClone(), and getDBFields().
Here is the caller graph for this function:| ilBookingObject::getTitle | ( | ) |
Definition at line 58 of file class.ilBookingObject.php.
References $title.
Referenced by doClone(), getDBFields(), and ilBookingReservationsGUI\rsvConfirmCancelAggregationForm().
Here is the caller graph for this function:
|
static |
Init file system storage.
Definition at line 238 of file class.ilBookingObject.php.
References $path.
|
static |
Definition at line 480 of file class.ilBookingObject.php.
References $DIC, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilBookingReservationsGUI\__construct(), ILIAS\BookingManager\BookingProcess\BookingProcessManager\bookSingle(), and ilBookingReservation\getMembersWithoutReservation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 495 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 258 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 294 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 63 of file class.ilBookingObject.php.
Referenced by read().
Here is the caller graph for this function:| ilBookingObject::setFile | ( | string | $a_value | ) |
Definition at line 103 of file class.ilBookingObject.php.
Referenced by deleteFile(), deleteFiles(), read(), and uploadFile().
Here is the caller graph for this function:| ilBookingObject::setNrOfItems | ( | int | $a_value | ) |
Definition at line 93 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 73 of file class.ilBookingObject.php.
Referenced by read().
Here is the caller graph for this function:| ilBookingObject::setPostFile | ( | string | $a_value | ) |
Definition at line 168 of file class.ilBookingObject.php.
Referenced by deleteFiles(), deletePostFile(), read(), and uploadPostFile().
Here is the caller graph for this function:| ilBookingObject::setPostText | ( | string | $a_value | ) |
Definition at line 158 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 83 of file class.ilBookingObject.php.
Referenced by read().
Here is the caller graph for this function:| ilBookingObject::setTitle | ( | string | $a_title | ) |
Definition at line 53 of file class.ilBookingObject.php.
Referenced by read().
Here is the caller graph for this function:| ilBookingObject::update | ( | ) |
Definition at line 311 of file class.ilBookingObject.php.
References $db, $ilDB, and getDBFields().
Here is the call graph for this function:| ilBookingObject::uploadFile | ( | array | $a_upload | ) |
Upload new info file.
Definition at line 125 of file class.ilBookingObject.php.
References $path, deleteFile(), ilFileUtils\moveUploadedFile(), and setFile().
Here is the call graph for this function:| ilBookingObject::uploadPostFile | ( | array | $a_upload | ) |
Upload new post file.
Definition at line 190 of file class.ilBookingObject.php.
References $path, deletePostFile(), ilFileUtils\moveUploadedFile(), and setPostFile().
Here is the call graph for this function:
|
protected |
|
protected |
Definition at line 30 of file class.ilBookingObject.php.
Referenced by getDescription().
|
protected |
Definition at line 27 of file class.ilBookingObject.php.
Referenced by getId().
|
protected |
Definition at line 33 of file class.ilBookingObject.php.
Referenced by getFile(), and getFileFullPath().
|
protected |
Definition at line 31 of file class.ilBookingObject.php.
Referenced by getNrOfItems().
|
protected |
Definition at line 28 of file class.ilBookingObject.php.
Referenced by getPoolId().
|
protected |
Definition at line 35 of file class.ilBookingObject.php.
Referenced by getPostFile(), and getPostFileFullPath().
|
protected |
Definition at line 34 of file class.ilBookingObject.php.
Referenced by getPostText().
|
protected |
Definition at line 25 of file class.ilBookingObject.php.
|
protected |
Definition at line 32 of file class.ilBookingObject.php.
Referenced by getScheduleId().
|
protected |
Definition at line 29 of file class.ilBookingObject.php.
Referenced by getTitle().