Class HomeController
The HomeController is a user-defined controller. Should be in charge of managing the home.
-
Core\ParentController
-
Controller
-
HomeController
Methods summary
public static
HomeController
|
#
singleton( )
Returns a HomeController instance, creating it if it did not exist.
Returns a HomeController instance, creating it if it did not exist.
Returns
Overrides
|
public
|
#
__construct( )
The __constructor for the class
Instantiates the HomeModel
The __constructor for the class
Instantiates the HomeModel
Overrides
|
public
HomeModel
|
#
getModel( )
Returns the instance of the model for this controller
Returns the instance of the model for this controller
Returns
Overrides
|
public
|
|
public
|
|
Methods inherited from Core\ParentController
add(),
addFooter(),
addHeader(),
addJSVar(),
addScript(),
addStyle(),
asset(),
cache(),
compressWithMinify(),
get(),
getGet(),
getPost(),
header(),
json(),
minimize(),
minimizeURL(),
path(),
redirect(),
setFavicon(),
setTitle(),
show(),
url()
|
Properties summary
protected
HomeModel
|
$model
The instance of HomeModel.
The instance of HomeModel.
|
|