CONFIG_FILE
public
mixed
CONFIG_FILE
= $_SERVER["DOCUMENT_ROOT"] . "/../config/config.php"
public
mixed
CONFIG_FILE
= $_SERVER["DOCUMENT_ROOT"] . "/../config/config.php"
public
mixed
DO_NOT_MINIFY
= \FALSE
public
mixed
GLOBAL_METHODS
= $_SERVER["DOCUMENT_ROOT"] . "/../Core/globalMethods.php"
public
mixed
MAIN
= "main_container"
public
mixed
START_TEMPLATE
= \VISTAS . "/main/main.php"
Definicion de constantes globales.
public
mixed
TODAY
= \date("Y-m-d")
Agregar las constantes que sea conveniente usar.
Ejemplo:
public
mixed
VISTAS
= $_SERVER["DOCUMENT_ROOT"] . "/../app/views"
Global funtion to access the singleton app instance
app() : App
This is the global scoped function that handles all throwable (Exception + Error)
globalThrowableHandler(Throwable $e) : void
Da formato de dinero con separador de miles en formato de peso chileno a un numero.
clp(float|string $number) : string
Global function to access arror_log for convenience.
clog(mixed $args) : void
Dump & die.
dd(mixed $arg) : never
Will echo a var_dump of the arg parameter and then stop execution.