/** * Reset filter in reservations table gui */ function resetLogFilterObject() { 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->resetFilter(); $this->logObject(); }
/** * Reset filter in reservations table gui */ function resetLogFilterObject() { 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->resetFilter(); $this->logObject(); }