\Hazaar\View
Controller
Extends
\Hazaar\ControllerSummary
Methods | Properties | Constants |
---|---|---|
No constants |
Properties
$helper
$helper
$method
$method
$params
$params
$request
$request
$statusCode
$statusCode
Methods
__initialize()
__initialize($request)
Parameters
$request | \Hazaar\Application\Request | No description |
__run()
__run()
__tostring()
__tostring()
getName()
getName()
redirect()
redirect($location, $args = Array
(
)
, $save_url = true)
Parameters
$location | No description | |
$args | No description | |
$save_url | No description |
setApplication()
setApplication($application)
Parameters
$application | No description |
setRequest()
setRequest($request)
Parameters
$request | No description |
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