Show nice error output.
static
null
dumpError
(
Error $error, [
boolean $die =
true])
-
Error
$error
-
boolean
$die: Die when done, default value is true
Contruct controller and execute specific action
static
null
executeAction
(string $controller_name, string $action)
-
string
$controller_name
-
string
$action
Return controller class based on controller name
static
string
getControllerClass
(string $controller_name)
Return controller name based on controller class
static
string
getControllerName
(string $controller_class)
Return path of specific helper
static
string
getHelperPath
(string $helper)
Return layout
static
string
getLayoutPath
(string $layout)
Return path of specific template
static
string
getTemplatePath
(string $template, [string $controller_name = null])
-
string
$template
-
string
$controller_name
Check if specific helper exists
static
boolean
helperExists
(string $helper)
Check if environment is in debug mode
static
boolean
isDebugging
(void 0)
Find and include specific controller based on controller name
static
boolean
useController
(string $controller_name)
Use specific helper
static
boolean
useHelper
(string $helper)
-
string
$helper: Helper name
Use specific library. This function will look in application directory first and then in enviroment library folder. If it doesn't finds requested class in it LibraryDnxError will be raised
static
null
useLibrary
(string $library)
-
string
$library: Library name
Include library error class if class is not already included
static
boolean
useLibraryError
(string $error_class, string $library)
-
string
$error_class
-
string
$library: Library name