globals.php
Table of Contents
Functions
- App() : LSYii_Application
- Helper function to replace calls to Yii::app() and enable correct code completion.
- traceVar() : mixed
- If debug = 2 in application/config.php this will produce output in the console / firebug similar to var_dump. It will also include the filename and line that called this method.
Functions
App()
Helper function to replace calls to Yii::app() and enable correct code completion.
App() : LSYii_Application
Return values
LSYii_ApplicationtraceVar()
If debug = 2 in application/config.php this will produce output in the console / firebug similar to var_dump. It will also include the filename and line that called this method.
traceVar(mixed $variable[, int $depth = 10 ]) : mixed
Parameters
- $variable : mixed
-
The variable to be dumped
- $depth : int = 10
-
Maximum depth to go into the variable, default is 10