\Hazaar\Console
Controller
Summary
Methods Properties Constants
url
No constants
Properties
$handler
$handler
$passwd
$passwd
Inherited
$view
$view
Inherited
$statusCode
$statusCode
Methods
__default()
__default($controller, $action)
Launch the Hazaar MVC Management Console

Parameters

$controller

No description

$action

No description

init()
init()
login()
login()
logout()
logout()
Inherited
__registerMethod()
__registerMethod($name, $callback)

Parameters

$name

No description

$callback

No description

Inherited
__run()
__run()
Inherited
stream()
stream($value)

Parameters

$value

No description

Inherited
setStatus()
setStatus($code)

Parameters

$code

No description

Inherited
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