SproutCMS

This is the code documentation for the SproutCMS project

function redirect()

Sends a page redirect header and runs the system.redirect Event.

Usage

void Url::redirect ( [ mixed $uri [, string $method ]] );

Arguments

  1. mixed $uri = ''
    string site URI or URL to redirect to, or array of strings if method is 300
  2. string $method = 302
    HTTP method of redirect

Return value

  • void