Mixin_Http_Response_Actions

The NextGEN Gallery Mixin Http Response Actions class.

Defined (1)

The class is defined in the following location(s).

/products/photocrati_nextgen/modules/router/package.module.router.php  
  1. class Mixin_Http_Response_Actions extends Mixin 
  2. function http_301_action() 
  3. header('HTTP/1.1 301 Permanent Redirect'); 
  4. header("Location: {$this->object->get_routed_url()}"); 
  5. function http_302_action() 
  6. header('HTTP/1.1 302 Temporary Redirect'); 
  7. header("Location: {$this->object->get_routed_url()}"); 
  8. function http_501_action() 
  9. header('HTTP/1.1 501 Not Implemented'); 
  10. function http_404_action() 
  11. header('HTTP/1.1 404 Not found'); 
  12. function http_202_action() 
  13. header('HTTP/1.1 202 Accepted');