Lines Matching refs:id
57 $id = getID();
58 $perm = auth_quickaclcheck($id);
67 … $this->addBooking($id, $_REQUEST['date'] . ' ' . $_REQUEST['time'], $_REQUEST['length']);
69 $this->cancelBooking($id, (int)$_REQUEST['at']);
77 $this->outputHTML($id);
83 * @param string $id
87 protected function addBooking($id, $start, $length) argument
92 $this->helper->addBooking($id, $start, $length, $_SERVER['REMOTE_USER']);
102 * @param string $id
105 protected function cancelBooking($id, $start) argument
113 if ($this->helper->cancelBooking($id, $start, $user)) {
123 * @param string $id
125 protected function exportCSV($id) argument
128 header('Content-Disposition: attachment;filename=' . noNS($id) . '.csv');
129 $bookings = $this->helper->getBookings($id);
149 * @param string $id
151 protected function outputHTML($id) argument
161 $this->listBookings($id);
190 * @param string $id
192 protected function listBookings($id) argument
194 $bookings = $this->helper->getBookings($id, time());
220 …echo '<a href="' . DOKU_BASE . 'lib/exe/ajax.php?call=plugin_booking&do=csv&id=' . $id . '">' . $t…