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

No namespace

Classes summary
Controller

Class Controller acts as a stepping stone (or "intermediate agent") between the user-defined code (/src/controllers/) and the system-defined code (ParentController) that helps to better structure the code. See @example

ErrorController Used as a user-defined controller for errors and Error pages.
HomeController The HomeController is a user-defined controller. Should be in charge of managing the home.
HomeModel

Class Model acts as a stepping stone (or "intermediate agent") between the user-defined code (/src/models/) and the system-defined code (ParentModel) that helps to better structure the code. See @example

LoginController

Shows the login page and logs a user in Class LoginController

LoginModel Contains the default logic to retrieve a user from the database.
Model

Class Model acts as a stepping stone (or "intermediate agent") between the user-defined code (/src/models/) and the system-defined code (ParentModel) that helps to better structure the code. See @example

Functions summary
_die
asset
clock_end Stops a clock that was previously set. Returns 0 if the clock has not been started.
clock_start Starts a clock to compute execution time. Set a key if you want to use more than one.
clock_time Returns the execution time of a previously stopped clock. Returns -1 if the clock has not been stopped.
config
ddie <pre>var_dump($var);</pre> die();
deleteDir Deletes a directory and all the files in it
email_png Returns an image of the \$text, to avoid spam.
env
folder_action

Copy or move a folder recursively This function is also available at support_functions as folder_recurse()

folder_recurse Copy or move a folder recursively
generateFile
getClientIP Returns the client's IP address.
getClientUserAgent Returns the client's User Agent (if any).
getVersion
isAjax
isAuth
isDev
isLocalServer

Returns whether the PHP server is localhost or remote. True if the host matches *.local or localhost. From the Symfony framework.

isProd
nocache Spit headers that force cache volatility.
php Prints PHP code inside a tag, for further execution.
ppie print_r($var); die();
query
queryIndexed
save_ini_file Saves an associative array to a file ${path}.ini
t
versioning
view
write_ini
Ribosome API documentation generated by ApiGen