Lines Matching refs:status
67 * @param int $status redirect status, 301 or 302
71 protected function getRedirectURL($status = 302, $dest)
95 $this->_show_message('redirected_from', $ID, $dest, $status);
145 $status = 301;
146 $url = $this->getRedirectURL($status, $dest);
148 $this->_log_redirection($status, $ID, $dest);
149 http_status($status);
188 $status = $map->pattern[$checkID]['status'];
189 $url = $this->getRedirectURL($status, $dest);
191 $this->_log_redirection($status, $ID, $dest);
192 http_status($status);
210 $status = $redirect['status'];
211 $url = $this->getRedirectURL($status, $dest);
213 $this->_log_redirection($status, $ID, $dest);
214 http_status($status);
249 $status = $map->pattern[$checkID]['status'];
250 $url = $this->getRedirectURL($status, $dest);
252 $this->_log_redirection($status, $event->data['media'], $dest);
253 $event->data['status'] = $status;
272 $status = $redirect['status'];
273 $url = $this->getRedirectURL($status, $dest);
275 $this->_log_redirection($status, $event->data['media'], $dest);
276 $event->data['status'] = $status;
294 * @return array of status and destination (id), or false if no matched
302 $status = $data['status'];
303 return array('status' => $status, 'destination' => $destID);
317 * @param int $status http status of the redirection
319 protected function _show_message($format, $orig=NULL, $dest=NULL, $status=302)
351 (($this->getConf('show_msg') == 1) && ($status != 301)) ) {
365 protected function _log_redirection($status, $orig, $dest='')
373 if ($status == 404) {
375 $s.= "\t".$status."\t".$orig."\t".$dest;
378 $s.= "\t".$status."\t".$orig."\t".$dest;