ILIAS
trunk Revision v11.0_alpha-1851-ga8564da6fed
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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().
ilBookingObject::delete | ( | ) |
Delete single entry.
Definition at line 310 of file class.ilBookingObject.php.
References $db, $ilDB, and deleteFiles().
ilBookingObject::deleteFiles | ( | ) |
Definition at line 152 of file class.ilBookingObject.php.
References setFile(), and setPostFile().
Referenced by delete().
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.
References getDescription(), getFile(), getId(), getNrOfItems(), getPostFile(), getPostText(), getScheduleId(), getTitle(), and null.
|
protected |
Definition at line 189 of file class.ilBookingObject.php.
References getDescription(), getFile(), getNrOfItems(), getPostFile(), getPostText(), getScheduleId(), and getTitle().
Referenced by save(), and update().
ilBookingObject::getDescription | ( | ) |
Definition at line 70 of file class.ilBookingObject.php.
References $description.
Referenced by doClone(), and getDBFields().
ilBookingObject::getFile | ( | ) |
Definition at line 110 of file class.ilBookingObject.php.
References $info_file.
Referenced by doClone(), and getDBFields().
ilBookingObject::getFileFullPath | ( | ) |
Definition at line 115 of file class.ilBookingObject.php.
ilBookingObject::getId | ( | ) |
Definition at line 50 of file class.ilBookingObject.php.
References $id.
Referenced by doClone().
|
static |
Get list of booking objects.
Definition at line 239 of file class.ilBookingObject.php.
References $DIC, $ilDB, and $res.
Referenced by ilBookingPreferencesManager\calculateBookings(), ilObjBookingPool\cloneObject(), ILIAS\MetaData\OERHarvester\Settings\Settings\SettingsGUI\getEditForm(), ilBookingAssignObjectsTableGUI\getItems(), ilBookingObjectsTableGUI\getItems(), ilObjBookingPoolGUI\initEditCustomForm(), ilBookingParticipantsTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), ilBookingPreferencesGUI\initPreferenceForm(), ilBookingPreferencesGUI\listPreferenceOptions(), ilBookingPreferencesManager\readBookings(), ilBookingScheduleGUI\render(), and ilBookingReservationsGUI\rsvConfirmCancel().
ilBookingObject::getNrOfItems | ( | ) |
Definition at line 100 of file class.ilBookingObject.php.
References $nr_of_items.
Referenced by doClone(), and getDBFields().
|
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.
References $DIC, $ilDB, and ILIAS\Repository\int().
Referenced by ilBookingReservation\getAvailableObject(), ilBookingReservation\getNumAvailablesNoSchedule(), and ilBookingReservation\isObjectAvailableInPeriod().
|
static |
Get number of booking objects for given booking pool id.
Definition at line 269 of file class.ilBookingObject.php.
Referenced by ilBookingParticipantsTableGUI\fillRow().
|
static |
Get all booking pool object ids from an specific booking pool.
Definition at line 288 of file class.ilBookingObject.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
ilBookingObject::getPoolId | ( | ) |
Definition at line 80 of file class.ilBookingObject.php.
References $pool_id.
Referenced by __construct(), and save().
ilBookingObject::getPostFile | ( | ) |
Definition at line 138 of file class.ilBookingObject.php.
References $post_file.
Referenced by doClone(), and getDBFields().
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 doClone(), and getDBFields().
ilBookingObject::getScheduleId | ( | ) |
Definition at line 90 of file class.ilBookingObject.php.
References $schedule_id.
Referenced by doClone(), and getDBFields().
ilBookingObject::getTitle | ( | ) |
Definition at line 60 of file class.ilBookingObject.php.
References $title.
Referenced by doClone(), getDBFields(), ilBookingReservationsGUI\rsvConfirmCancel(), ilBookingReservationsGUI\rsvConfirmCancelAggregationForm(), and ilBookingReservationsGUI\rsvConfirmDelete().
|
static |
Definition at line 385 of file class.ilBookingObject.php.
References $DIC, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilBookingReservationsGUI\__construct(), ILIAS\BookingManager\BookingProcess\BookingProcessManager\bookSingle(), and ilBookingReservation\getMembersWithoutReservation().
|
static |
Definition at line 400 of file class.ilBookingObject.php.
References $DIC, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Referenced by ilBookingPreferencesGUI\savePreferences().
|
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().
ilBookingObject::save | ( | ) |
Definition at line 202 of file class.ilBookingObject.php.
References $db, $ilDB, getDBFields(), getPoolId(), and null.
ilBookingObject::setDescription | ( | string | $a_value | ) |
Definition at line 65 of file class.ilBookingObject.php.
Referenced by read().
ilBookingObject::setFile | ( | string | $a_value | ) |
Definition at line 105 of file class.ilBookingObject.php.
Referenced by deleteFiles(), and read().
ilBookingObject::setNrOfItems | ( | int | $a_value | ) |
Definition at line 95 of file class.ilBookingObject.php.
Referenced by read().
ilBookingObject::setPoolId | ( | int | $a_pool_id | ) |
Definition at line 75 of file class.ilBookingObject.php.
Referenced by read().
ilBookingObject::setPostFile | ( | string | $a_value | ) |
Definition at line 133 of file class.ilBookingObject.php.
Referenced by deleteFiles(), and read().
ilBookingObject::setPostText | ( | string | $a_value | ) |
Definition at line 123 of file class.ilBookingObject.php.
Referenced by read().
ilBookingObject::setScheduleId | ( | ?int | $a_schedule_id | ) |
Definition at line 85 of file class.ilBookingObject.php.
Referenced by read().
ilBookingObject::setTitle | ( | string | $a_title | ) |
Definition at line 55 of file class.ilBookingObject.php.
Referenced by read().
ilBookingObject::update | ( | ) |
Definition at line 219 of file class.ilBookingObject.php.
References $db, $ilDB, getDBFields(), and null.
|
protected |
|
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().