/** * Apply filter from reservations table gui */ function applyLogFilterObject() { include_once 'Modules/BookingManager/classes/class.ilBookingReservationsTableGUI.php'; $table = new ilBookingReservationsTableGUI($this, 'log', $this->ref_id, $this->object->getId(), $this->object->getScheduleType() != ilObjBookingPool::TYPE_NO_SCHEDULE); $table->resetOffset(); $table->writeFilterToSession(); $this->logObject(); }
/** * Apply filter from reservations table gui */ function applyLogFilterObject() { global $ilAccess; $show_all = $ilAccess->checkAccess('write', '', $this->object->getRefId()) || $this->object->hasPublicLog(); include_once 'Modules/BookingManager/classes/class.ilBookingReservationsTableGUI.php'; $table = new ilBookingReservationsTableGUI($this, 'log', $this->ref_id, $this->object->getId(), $show_all, $this->object->getScheduleType() != ilObjBookingPool::TYPE_NO_SCHEDULE); $table->resetOffset(); $table->writeFilterToSession(); $this->logObject(); }