System:Router:redirect

From Aspen Documentation

Redirects user to an inner-application module/method address.

Since 1.0

Contents

Arguments

void redirect ([string $method = false], [array $bits = false], [string $module = false])

method
The method/page name. If false, it assumes the current.
bits
An array of additional values to append to the url.
module
The module name. If false, it assumes the current.

Returns

This function does not return any values.

Notes

Examples

Example:

$this->APP->router->redirect('view', false, 'Blog_Admin');