29 return 'book_object_info';
39 return parent::getConsumerNameForPresentation() .
'/ObjectInfo';
47 if ($object_id ===
null) {
52 foreach ($ref_ids as $ref_id) {
54 if (
$DIC->access()->checkAccessOfUser($this->current_user,
'read',
'', $ref_id)) {
73 if ($object_id !==
null) {
75 $ref_id = array_shift($references);
78 return ilLink::_getLink($ref_id,
'exc');
87 "SELECT pool_id FROM booking_object WHERE booking_object.obj_info_rid = %s;",
93 return (isset(
$d->pool_id) ? (
int)
$d->pool_id :
null);
Class ResourceIdentification.
resourceHasBeenDeleted(ResourceIdentification $identification)
canBeAccessedByCurrentUser(ResourceIdentification $identification)
getConsumerNameForPresentation()
resolveObjectId(ResourceIdentification $identification)
getLocationURIForResourceUsage(ResourceIdentification $identification)
static _getAllReferences(int $id)
get all reference ids for object ID