\Hazaar
Controller
Abstract
Abstract controller class
##### Implements
Summary
Methods Properties Constants
No constants
Properties
$application$application
$name$name
$request$request
$statusCode$statusCode
Methods
__construct()
__construct($name,$application)

#### Parameters

 $name No description$application No description
__shutdown()
__shutdown()
__tostring()
__tostring()
active()
active($controller = null,$action = null)

#### Parameters

 $controller No description$action No description
cacheAction()
cacheAction($action,$timeout = 60)

#### Parameters

 $action No description$timeout No description
getName()
getName()
redirect()
setApplication()
setRequest()
setStatus()
setStatus($code) #### Parameters $code No description
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