Overview

Namespaces

  • Core
    • Auth
    • Exceptions
    • Helpers
    • Providers
  • Kernel
    • Dispatch
    • Providers
  • None
  • Vendor
    • ExampleVendor

Classes

  • Controller
  • ErrorController
  • HomeController
  • HomeModel
  • LoginController
  • LoginModel
  • Model

Functions

  • _die
  • asset
  • clock_end
  • clock_start
  • clock_time
  • config
  • ddie
  • deleteDir
  • email_png
  • env
  • folder_action
  • folder_recurse
  • generateFile
  • getClientIP
  • getClientUserAgent
  • getVersion
  • isAjax
  • isAuth
  • isDev
  • isLocalServer
  • isProd
  • nocache
  • php
  • ppie
  • query
  • queryIndexed
  • save_ini_file
  • t
  • versioning
  • view
  • write_ini
  • Overview
  • Namespace
  • Class
  • Download

Class HomeController

The HomeController is a user-defined controller. Should be in charge of managing the home.

Core\ParentController
Extended by Controller
Extended by HomeController
Located at src/controllers/HomeController.php
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

HomeController

Overrides

Controller::singleton()
public
# __construct( )

The __constructor for the class Instantiates the HomeModel

The __constructor for the class Instantiates the HomeModel

Overrides

Controller::__construct()
public HomeModel
# getModel( )

Returns the instance of the model for this controller

Returns the instance of the model for this controller

Returns

HomeModel

Overrides

Core\ParentController::getModel()
public
# showHome( )
public
# animalZoo( )
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.

#
Properties inherited from Core\ParentController
$ajax, $config, $hooks, $path, $templatePath, $vars, $viewPath
Ribosome API documentation generated by ApiGen