28 return 'book_booking_info';
41 if ($object_id ===
null) {
48 if ($DIC->access()->checkAccessOfUser($this->current_user,
'read',
'', $ref_id)) {
67 if ($object_id !==
null) {
69 $ref_id = array_shift($references);
72 return ilLink::_getLink(
$ref_id,
'exc');
80 $r = $this->database->queryF(
81 "SELECT pool_id FROM booking_object WHERE booking_object.book_info_rid = %s;",
85 $d = $this->database->fetchObject(
$r);
87 return (isset(
$d->pool_id) ? (
int)
$d->pool_id :
null);
93 if ($this->database ===
null) {
94 $this->database = $DIC->database();
getLocationURIForResourceUsage(ResourceIdentification $identification)
static _getAllReferences(int $id)
get all reference ids for object ID
resourceHasBeenDeleted(ResourceIdentification $identification)
canBeAccessedByCurrentUser(ResourceIdentification $identification)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Class ResourceIdentification.
resolveObjectId(ResourceIdentification $identification)