Hazaar
Controller
Abstract
Abstract controller class
##### Implements
Summary
MethodsPropertiesConstants
No constants
Properties
$application$application
$base_path$base_path
$name$name
$request$request
$statusCode$statusCode
Methods
__construct()
__construct($name,$application, $use_app_config = true) __shutdown() __shutdown() __tostring() __tostring() getName() getName() redirect() redirect($location, $args = Array ( ) ,$save_url = true)
setApplication()
setApplication($application) setRequest() setRequest($request)
setStatus()
setStatus(\$code)
url()
url()
Generate a URL relative to the controller

This is the controller relative method for generating URLs in your application. URLs generated from here are relative to the controller. For URLs that are relative to the current application see Application::url()

Parameters are dynamic and depend on what you are trying to generate.

For examples see: \ref generating_urls