Function debug
Prints out debug information about given variable.
Only runs if debug level is greater than zero.
Package: Cake
Link: http://book.cakephp.org/2.0/en/development/debugging.html#basic-debugging
Link: http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#debug
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Located at Cake/basics.php
Link: http://book.cakephp.org/2.0/en/development/debugging.html#basic-debugging
Link: http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#debug
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Located at Cake/basics.php
debug( boolean $var = false , boolean $showHtml = null , boolean $showFrom = true )
Parameters summary
boolean |
$var = false |
Variable to show debug information for. |
boolean |
$showHtml = null |
If set to true, the method prints the debug data in a browser-friendly way. |
boolean |
$showFrom = true |
If set to true, the method prints from where the function was called. |