Table Of ContentsPrevious topicNext topicThis Page |
Class Phalcon\Debug¶Provides debug capabilities to Phalcon applications Methods¶public Phalcon\Debug setUri (unknown $uri) Change the base URI for static resources public Phalcon\Debug setShowBackTrace (unknown $showBackTrace) Sets if files the exception”s backtrace must be showed public Phalcon\Debug setShowFiles (unknown $showFiles) Set if files part of the backtrace must be shown in the output public Phalcon\Debug setShowFileFragment (unknown $showFileFragment) Sets if files must be completely opened and showed in the output or just the fragment related to the exception public Phalcon\Debug listen ([unknown $exceptions], [unknown $lowSeverity]) Listen for uncaught exceptions and unsilent notices or warnings public Phalcon\Debug listenExceptions () Listen for uncaught exceptions public Phalcon\Debug listenLowSeverity () Listen for unsilent notices or warnings public halt () Halts the request showing a backtrace public Phalcon\Debug debugVar (unknown $varz, [unknown $key]) Adds a variable to the debug output public Phalcon\Debug clearVars () Clears are variables added previously protected string _escapeString (unknown $value) Escapes a string with htmlentities protected string _getArrayDump (unknown $argument, [unknown $n]) Produces a recursive representation of an array protected string _getVarDump (unknown $variable) Produces an string representation of a variable public string getMajorVersion () Returns the major framework’s version public string getVersion () Generates a link to the current version documentation public string getCssSources () Returns the css sources public string getJsSources () Returns the javascript sources final protected showTraceItem (unknown $n, unknown $trace) Shows a backtrace item public boolean onUncaughtException (unknown $exception) Handles uncaught exceptions |